mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] update otel libraries (#3740)
* chore: update otel dependencies * refactor: combine tracing & metrics in observability package * chore: update example tracing compose file
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user