diff options
author | 2025-02-06 12:14:37 +0100 | |
---|---|---|
committer | 2025-02-06 12:14:37 +0100 | |
commit | dd094e401282e135989f57c0ca3dee7dea3f5207 (patch) | |
tree | 74cb77830f621840273255a17565ced73b4fa997 /example/tracing | |
parent | [feature] Use `X-Robots-Tag` headers to instruct scrapers/crawlers (#3737) (diff) | |
download | gotosocial-dd094e401282e135989f57c0ca3dee7dea3f5207.tar.xz |
[chore] update otel libraries (#3740)
* chore: update otel dependencies
* refactor: combine tracing & metrics in observability package
* chore: update example tracing compose file
Diffstat (limited to 'example/tracing')
-rw-r--r-- | example/tracing/docker-compose.yaml | 10 | ||||
-rw-r--r-- | example/tracing/tempo.yaml | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/example/tracing/docker-compose.yaml b/example/tracing/docker-compose.yaml index e719e096a..1a5922d18 100644 --- a/example/tracing/docker-compose.yaml +++ b/example/tracing/docker-compose.yaml @@ -1,20 +1,20 @@ version: "3" services: tempo: - image: docker.io/grafana/tempo:2.1.1 + image: docker.io/grafana/tempo:latest command: [ "-config.file=/etc/tempo.yaml" ] volumes: - - ./tempo.yaml:/etc/tempo.yaml - - ./tempo-data:/tmp/tempo + - ./tempo.yaml:/etc/tempo.yaml:Z ports: - "3200:3200" # tempo - "9095:9095" # tempo grpc - "4317:4317" # otlp grpc + - "4318:4318" # otlp http grafana: - image: docker.io/grafana/grafana:9.5.2 + image: docker.io/grafana/grafana:latest volumes: - - ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml + - ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:Z environment: - GF_AUTH_ANONYMOUS_ENABLED=true - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin diff --git a/example/tracing/tempo.yaml b/example/tracing/tempo.yaml index 52f6147a0..551d3b390 100644 --- a/example/tracing/tempo.yaml +++ b/example/tracing/tempo.yaml @@ -5,7 +5,10 @@ distributor: receivers: otlp: protocols: + http: + endpoint: '0.0.0.0:4318' grpc: + endpoint: '0.0.0.0:4317' ingester: max_block_duration: 5m |