본문으로 건너뛰기

Grafana Tempo(Tracing)

설치

helm repo add grafana https://grafana.github.io/helm-charts
helm repo update grafana \
&& helm search repo grafana/tempo-distributed -l | head -n 10
helm pull grafana/tempo-distributed --version 1.26.0
helm show values grafana/tempo-distributed --version 1.26.0 > tempo-distributed-1.26.0.yaml
tempo-distributed-values.yaml
fullnameOverride: tempo

global:
dnsService: coredns

ingester:
extraArgs:
- -config.expand-env=true

distributor:
extraArgs:
- -config.expand-env=true

compactor:
extraArgs:
- -config.expand-env=true

querier:
extraArgs:
- -config.expand-env=true

queryFrontend:
extraArgs:
- -config.expand-env=true

traces:
otlp:
http:
enabled: true
grpc:
enabled: true

storage:
trace:
backend: s3
s3:
forcepathstyle: true
insecure: true
endpoint: "${BUCKET_HOST}:${BUCKET_PORT}"
region: "${BUCKET_REGION}"
bucket: "${BUCKET_NAME}"
access_key: "${AWS_ACCESS_KEY_ID}"
secret_key: "${AWS_SECRET_ACCESS_KEY}"
helm template tempo tempo-distributed-1.26.0.tgz \
-n tempo \
-f tempo-distributed-values.yaml \
> tempo-distributed.yaml
helm upgrade tempo tempo-distributed-1.26.0.tgz \
--install \
--history-max 5 \
-n tempo \
-f tempo-distributed-values.yaml

삭제

helm uninstall -n tempo tempo