Skip to content

Commit

Permalink
Add metadata exporter to pipelines (#605)
Browse files Browse the repository at this point in the history
Adding the exporter to the pipeline doesn't make it start working. It
needs to be enabled explicitly with `enabled: true`. That sounds
odd/anti-pattern but it seemed like the best way forward for me. Will
enable this internally in a phased manner and then make it enabled by
default in the upcoming release.
  • Loading branch information
srikanthccv authored Jan 22, 2025
1 parent 32de770 commit caa8b84
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions charts/signoz/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1786,6 +1786,12 @@ otelCollector:
dsn: tcp://${env:CLICKHOUSE_USER}:${env:CLICKHOUSE_PASSWORD}@${env:CLICKHOUSE_HOST}:${env:CLICKHOUSE_PORT}/${env:CLICKHOUSE_LOG_DATABASE}
timeout: 10s
use_new_schema: true
metadataexporter:
dsn: tcp://${env:CLICKHOUSE_USER}:${env:CLICKHOUSE_PASSWORD}@${env:CLICKHOUSE_HOST}:${env:CLICKHOUSE_PORT}/signoz_metadata
timeout: 10s
tenant_id: ${env:TENANT_ID}
cache:
provider: in_memory
service:
telemetry:
logs:
Expand All @@ -1797,15 +1803,15 @@ otelCollector:
traces:
receivers: [otlp, jaeger]
processors: [signozspanmetrics/delta, batch]
exporters: [clickhousetraces]
exporters: [clickhousetraces, metadataexporter]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [clickhousemetricswrite]
exporters: [clickhousemetricswrite, metadataexporter]
logs:
receivers: [otlp, httplogreceiver/heroku, httplogreceiver/json]
processors: [batch]
exporters: [clickhouselogsexporter]
exporters: [clickhouselogsexporter, metadataexporter]
# Default values for OtelCollectorMetrics
otelCollectorMetrics:
enabled: true
Expand Down Expand Up @@ -2133,6 +2139,12 @@ otelCollectorMetrics:
clickhousemetricswrite:
timeout: 15s
endpoint: tcp://${env:CLICKHOUSE_USER}:${env:CLICKHOUSE_PASSWORD}@${env:CLICKHOUSE_HOST}:${env:CLICKHOUSE_PORT}/${env:CLICKHOUSE_DATABASE}
metadataexporter:
dsn: tcp://${env:CLICKHOUSE_USER}:${env:CLICKHOUSE_PASSWORD}@${env:CLICKHOUSE_HOST}:${env:CLICKHOUSE_PORT}/signoz_metadata
timeout: 10s
tenant_id: ${env:TENANT_ID}
cache:
provider: in_memory
service:
telemetry:
logs:
Expand All @@ -2144,6 +2156,6 @@ otelCollectorMetrics:
metrics:
receivers: [prometheus]
processors: [batch]
exporters: [clickhousemetricswrite]
exporters: [clickhousemetricswrite, metadataexporter]
signoz-otel-gateway:
enabled: false

0 comments on commit caa8b84

Please sign in to comment.