Alexei Zenin
08/17/2022, 3:47 PMreceivers:
otlp/spanmetrics:
protocols:
grpc:
endpoint: localhost:12345
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
processors:
batch:
send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s
signozspanmetrics/prometheus:
metrics_exporter: prometheus
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
dimensions_cache_size: 10000
dimensions:
- name: service.namespace
default: default
- name: deployment.environment
default: default
exporters:
clickhousetraces:
datasource: tcp://${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/?database=signoz_traces&username=${CLICKHOUSE_USER}&password=${CLICKHOUSE_PWD}
clickhousemetricswrite:
endpoint: tcp://${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/?database=signoz_metrics&username=${CLICKHOUSE_USER}&password=${CLICKHOUSE_PWD}
resource_to_telemetry_conversion:
enabled: true
prometheus:
endpoint: 0.0.0.0:8889
extensions:
health_check:
endpoint: 0.0.0.0:13133
service:
telemetry:
metrics:
address: 0.0.0.0:8888
extensions: [health_check]
pipelines:
traces:
receivers: [otlp]
processors: [signozspanmetrics/prometheus, batch]
exporters: [clickhousetraces]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [clickhousemetricswrite]
metrics/spanmetrics:
receivers: [otlp/spanmetrics]
exporters: [prometheus]
Note: I am not sending directly to this collector but via an agent collector on the instance which forwards to this one via OTLP-Dotel.resource.attributes=service.name=${ProjectName}-${EnvironmentName}-${ServiceName},service.namespace=${ProjectName},deployment.environment=${EnvironmentName}
Pranay
Prashant Shahi
08/17/2022, 10:36 PMdevelop
branch. It will be included in the next release.
https://github.com/SigNoz/signoz/pull/1521Alexei Zenin
08/17/2022, 10:38 PMPrashant Shahi
08/18/2022, 6:19 PMsets all their metrics to 0.00That is fixed in
develop
otel-collector-metrics was misconfigured and was never scraping properly thus not populating the DB/External calls metricsWas it misconfiguration from yourself with overwrite data or something else?