2021-10-20 09:28:47 +05:30
|
|
|
receivers:
|
|
|
|
|
otlp:
|
|
|
|
|
protocols:
|
|
|
|
|
grpc:
|
|
|
|
|
http:
|
|
|
|
|
prometheus:
|
|
|
|
|
config:
|
|
|
|
|
scrape_configs:
|
2022-07-14 19:36:19 +05:30
|
|
|
# otel-collector internal metrics
|
2021-10-20 09:28:47 +05:30
|
|
|
- job_name: "otel-collector"
|
2022-06-24 14:55:02 +05:30
|
|
|
scrape_interval: 60s
|
2021-10-20 09:28:47 +05:30
|
|
|
static_configs:
|
2022-07-14 19:36:19 +05:30
|
|
|
- targets:
|
|
|
|
|
- otel-collector:8888
|
|
|
|
|
# otel-collector-metrics internal metrics
|
|
|
|
|
- job_name: "otel-collector-metrics"
|
|
|
|
|
scrape_interval: 60s
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets:
|
|
|
|
|
- localhost:8888
|
|
|
|
|
# SigNoz span metrics
|
|
|
|
|
- job_name: "signozspanmetrics-collector"
|
|
|
|
|
scrape_interval: 60s
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets:
|
|
|
|
|
- otel-collector:8889
|
|
|
|
|
|
2021-10-20 09:28:47 +05:30
|
|
|
processors:
|
|
|
|
|
batch:
|
2022-06-24 14:55:02 +05:30
|
|
|
send_batch_size: 10000
|
|
|
|
|
send_batch_max_size: 11000
|
2021-10-20 09:28:47 +05:30
|
|
|
timeout: 10s
|
2022-03-03 13:23:49 +05:30
|
|
|
# memory_limiter:
|
|
|
|
|
# # 80% of maximum memory up to 2G
|
|
|
|
|
# limit_mib: 1500
|
|
|
|
|
# # 25% of limit up to 2G
|
|
|
|
|
# spike_limit_mib: 512
|
|
|
|
|
# check_interval: 5s
|
2022-03-23 00:03:47 +05:30
|
|
|
#
|
|
|
|
|
# # 50% of the maximum memory
|
|
|
|
|
# limit_percentage: 50
|
|
|
|
|
# # 20% of max memory usage spike expected
|
|
|
|
|
# spike_limit_percentage: 20
|
2021-10-20 09:28:47 +05:30
|
|
|
# queued_retry:
|
|
|
|
|
# num_workers: 4
|
|
|
|
|
# queue_size: 100
|
|
|
|
|
# retry_on_failure: true
|
2022-07-14 19:36:19 +05:30
|
|
|
|
2021-10-20 09:28:47 +05:30
|
|
|
extensions:
|
2022-07-14 19:36:19 +05:30
|
|
|
health_check:
|
|
|
|
|
endpoint: 0.0.0.0:13133
|
|
|
|
|
zpages:
|
|
|
|
|
endpoint: 0.0.0.0:55679
|
|
|
|
|
pprof:
|
|
|
|
|
endpoint: 0.0.0.0:1777
|
|
|
|
|
|
2021-10-20 09:28:47 +05:30
|
|
|
exporters:
|
|
|
|
|
clickhousemetricswrite:
|
|
|
|
|
endpoint: tcp://clickhouse:9000/?database=signoz_metrics
|
|
|
|
|
|
|
|
|
|
service:
|
2022-07-14 19:36:19 +05:30
|
|
|
telemetry:
|
|
|
|
|
metrics:
|
|
|
|
|
address: 0.0.0.0:8888
|
|
|
|
|
extensions:
|
|
|
|
|
- health_check
|
|
|
|
|
- zpages
|
|
|
|
|
- pprof
|
2021-10-20 09:28:47 +05:30
|
|
|
pipelines:
|
|
|
|
|
metrics:
|
2022-07-14 19:36:19 +05:30
|
|
|
receivers: [prometheus]
|
2021-10-20 09:28:47 +05:30
|
|
|
processors: [batch]
|
2022-05-03 23:59:29 +05:30
|
|
|
exporters: [clickhousemetricswrite]
|