2021-01-16 12:18:54 +05:30
|
|
|
receivers:
|
2021-01-17 03:07:15 +05:30
|
|
|
otlp:
|
|
|
|
|
protocols:
|
2021-02-23 22:12:10 +05:30
|
|
|
grpc:
|
2022-07-14 19:36:19 +05:30
|
|
|
endpoint: 0.0.0.0:4317
|
2021-01-17 03:07:15 +05:30
|
|
|
http:
|
2022-07-14 19:36:19 +05:30
|
|
|
endpoint: 0.0.0.0:4318
|
2022-11-15 20:07:09 +05:30
|
|
|
prometheus:
|
|
|
|
|
config:
|
|
|
|
|
global:
|
2022-11-15 20:33:56 +05:30
|
|
|
scrape_interval: 60s
|
2022-11-15 20:07:09 +05:30
|
|
|
scrape_configs:
|
|
|
|
|
- job_name: otel-collector
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets:
|
2023-01-03 10:55:58 +05:30
|
|
|
- localhost:8888
|
|
|
|
|
labels:
|
|
|
|
|
job_name: otel-collector
|
2021-01-16 12:18:54 +05:30
|
|
|
processors:
|
|
|
|
|
batch:
|
2022-06-24 14:55:02 +05:30
|
|
|
send_batch_size: 10000
|
|
|
|
|
send_batch_max_size: 11000
|
2021-02-09 03:04:50 +05:30
|
|
|
timeout: 10s
|
2022-07-14 19:36:19 +05:30
|
|
|
resourcedetection:
|
|
|
|
|
# Using OTEL_RESOURCE_ATTRIBUTES envvar, env detector adds custom labels.
|
2025-01-27 18:33:42 +05:45
|
|
|
detectors: [env, system]
|
2022-07-14 19:36:19 +05:30
|
|
|
timeout: 2s
|
2024-01-10 01:16:24 +05:30
|
|
|
signozspanmetrics/delta:
|
2025-07-08 15:36:32 +05:30
|
|
|
metrics_exporter: signozclickhousemetrics
|
2024-01-10 01:16:24 +05:30
|
|
|
metrics_flush_interval: 60s
|
|
|
|
|
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
|
|
|
|
|
dimensions_cache_size: 100000
|
|
|
|
|
aggregation_temporality: AGGREGATION_TEMPORALITY_DELTA
|
2024-02-14 23:33:19 +05:30
|
|
|
enable_exp_histogram: true
|
2024-01-10 01:16:24 +05:30
|
|
|
dimensions:
|
|
|
|
|
- name: service.namespace
|
|
|
|
|
default: default
|
|
|
|
|
- name: deployment.environment
|
|
|
|
|
default: default
|
|
|
|
|
# This is added to ensure the uniqueness of the timeseries
|
|
|
|
|
# Otherwise, identical timeseries produced by multiple replicas of
|
|
|
|
|
# collectors result in incorrect APM metrics
|
|
|
|
|
- name: signoz.collector.id
|
2024-06-14 16:24:28 +05:30
|
|
|
- name: service.version
|
|
|
|
|
- name: browser.platform
|
|
|
|
|
- name: browser.mobile
|
|
|
|
|
- name: k8s.cluster.name
|
|
|
|
|
- name: k8s.node.name
|
|
|
|
|
- name: k8s.namespace.name
|
|
|
|
|
- name: host.name
|
|
|
|
|
- name: host.type
|
|
|
|
|
- name: container.name
|
2021-01-16 12:18:54 +05:30
|
|
|
extensions:
|
2022-07-14 19:36:19 +05:30
|
|
|
health_check:
|
|
|
|
|
endpoint: 0.0.0.0:13133
|
|
|
|
|
pprof:
|
|
|
|
|
endpoint: 0.0.0.0:1777
|
2021-01-16 12:18:54 +05:30
|
|
|
exporters:
|
2022-06-09 20:58:10 +05:30
|
|
|
clickhousetraces:
|
2024-04-24 21:15:07 +05:30
|
|
|
datasource: tcp://clickhouse:9000/signoz_traces
|
2024-10-16 15:07:02 +05:30
|
|
|
low_cardinal_exception_grouping: ${env:LOW_CARDINAL_EXCEPTION_GROUPING}
|
2024-12-18 17:55:22 +07:00
|
|
|
use_new_schema: true
|
2025-02-15 16:29:56 +05:30
|
|
|
signozclickhousemetrics:
|
|
|
|
|
dsn: tcp://clickhouse:9000/signoz_metrics
|
2022-08-10 23:00:05 +05:30
|
|
|
clickhouselogsexporter:
|
2024-04-24 21:15:07 +05:30
|
|
|
dsn: tcp://clickhouse:9000/signoz_logs
|
2024-02-05 11:26:45 +05:30
|
|
|
timeout: 10s
|
2024-09-30 18:02:56 +05:30
|
|
|
use_new_schema: true
|
2021-01-16 12:18:54 +05:30
|
|
|
service:
|
2022-07-14 19:36:19 +05:30
|
|
|
telemetry:
|
2024-09-12 00:57:48 +05:30
|
|
|
logs:
|
|
|
|
|
encoding: json
|
2022-07-14 19:36:19 +05:30
|
|
|
extensions:
|
|
|
|
|
- health_check
|
|
|
|
|
- pprof
|
2021-01-16 12:18:54 +05:30
|
|
|
pipelines:
|
|
|
|
|
traces:
|
2025-01-27 18:33:42 +05:45
|
|
|
receivers: [otlp]
|
2024-11-13 16:11:28 +05:30
|
|
|
processors: [signozspanmetrics/delta, batch]
|
2022-06-09 20:58:10 +05:30
|
|
|
exporters: [clickhousetraces]
|
2021-08-29 10:28:40 +05:30
|
|
|
metrics:
|
2022-07-14 19:36:19 +05:30
|
|
|
receivers: [otlp]
|
2021-08-29 10:28:40 +05:30
|
|
|
processors: [batch]
|
2025-07-08 15:36:32 +05:30
|
|
|
exporters: [signozclickhousemetrics]
|
2023-01-03 10:55:58 +05:30
|
|
|
metrics/prometheus:
|
|
|
|
|
receivers: [prometheus]
|
|
|
|
|
processors: [batch]
|
2025-07-08 15:36:32 +05:30
|
|
|
exporters: [signozclickhousemetrics]
|
2022-08-10 23:00:05 +05:30
|
|
|
logs:
|
2025-01-27 18:33:42 +05:45
|
|
|
receivers: [otlp]
|
2023-11-09 18:35:52 +05:30
|
|
|
processors: [batch]
|
2025-01-27 18:33:42 +05:45
|
|
|
exporters: [clickhouselogsexporter]
|