fix(tracing): from opencensus to opentelemetry (#937)

* refactor: switch from opencensus to opentelemetry

* tempo works as designed nooooot

* fix: log traceids

* with grafana agent

* fix: http tracing

* fix: cleanup files

* chore: remove todo

* fix: bad test

* fix: ignore methods in grpc interceptors

* fix: remove test log

* clean up

* typo

* fix(config): configure tracing endpoint

* fix(span): add error id to span
This commit is contained in:
Silvan
2020-11-20 07:57:39 +01:00
committed by GitHub
parent fcf81bed5f
commit 168242e725
47 changed files with 412 additions and 796 deletions

20
.tmp/agent.yaml Normal file
View File

@@ -0,0 +1,20 @@
server:
log_level: debug
http_listen_port: 12345
tempo:
receivers:
otlp:
protocols:
grpc:
endpoint: ":9096"
attributes:
actions:
- action: upsert
key: env
value: prod
push_config:
endpoint: tempo-us-central1.grafana.net:443
basic_auth:
username: $(gopass show caos-secrets/technical/boom/grafana-cloud/tempo-user)
password: $(gopass show caos-secrets/technical/boom/grafana-cloud/tempo-password)