mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 16:22:24 -05: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:
parent
baed591a1d
commit
dd094e4012
217 changed files with 6873 additions and 2734 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue