diff --git a/otel-collector/config.yaml b/otel-collector/config.yaml index 075576c..a2d2a3d 100644 --- a/otel-collector/config.yaml +++ b/otel-collector/config.yaml @@ -31,6 +31,11 @@ exporters: otlphttp/loki: endpoint: http://loki:3100/otlp +connectors: + spanmetrics: + histogram: + explicit: + service: extensions: - health_check @@ -40,10 +45,9 @@ service: traces: receivers: [otlp] processors: [batch] - exporters: - - otlp/tempo + exporters: [otlp/tempo, spanmetrics] metrics: - receivers: [otlp, prometheus/self] + receivers: [otlp, prometheus/self, spanmetrics] processors: [batch] exporters: - otlphttp/mimir diff --git a/tempo/config.yaml b/tempo/config.yaml index 9c610f2..68ed8b6 100644 --- a/tempo/config.yaml +++ b/tempo/config.yaml @@ -13,16 +13,6 @@ distributor: ingester: max_block_bytes: 131072000 # 128mb -metrics_generator: - registry: - external_labels: - source: trace - storage: - path: /tempo-data/generator/wal - remote_write: - - url: http://mimir:9009/api/v1/push - send_exemplars: true - compactor: compaction: block_retention: 672h # 28 days