Alok Kumar
06/04/2025, 12:43 PMThis is my otel-configuration in signoz server, here I am not able to see the infra monitoring for my QA and DEV sustems, can anyone please help
me on this what configuration I am missing
receivers:
httplogreceiver/json:
endpoint: 0.0.0.0:8082
source: json
tcplog/docker:
listen_address: "0.0.0.0:2255"
operators:
- type: regex_parser
regex: '^<([0-9]+)>[0-9]+ (?P<timestamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?) (?P<container_id>\S+) (?P<container_name>\S+) [0-9]+ - -( (?P<body>.*))?'
timestamp:
parse_from: attributes.timestamp
layout: '%Y-%m-%dT%H:%M:%S.%LZ'
- type: move
from: attributes["body"]
to: body
- type: remove
field: attributes.timestamp
# please remove names from below if you want to collect logs from them
- type: filter
id: signoz_logs_filter
expr: 'attributes.container_name matches "^signoz-(logspout|frontend|alertmanager|query-service|otel-collector|clickhouse|zookeeper)"'
- type: container
format: docker
add_metadata_from_filepath: true
filelog:
include: [ /var/lib/docker/containers/*/.log ]
operators:
- type: json_parser
timestamp:
parse_from: attributes.time
layout: '%Y-%m-%d %H:%M:%S'
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
prometheus:
config:
global:
scrape_interval: 60s
scrape_configs:
- job_name: otel-collector
static_configs:
- targets:
- localhost:8888
labels:
job_name: otel-collector
hostmetrics:
collection_interval: 60s # Frequency of metrics collection.
scrapers:
cpu: {}
load: {}
memory: {}
disk: {}
filesystem: {}
network: {}
processors:
batch:
send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s
resourcedetection:
# Using OTEL_RESOURCE_ATTRIBUTES envvar, env detector adds custom labels.
detectors: [env, system]
system:
hostname_sources: [os]
timeout: 2s
signozspanmetrics/delta:
metrics_exporter: clickhousemetricswrite, signozclickhousemetrics
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
enable_exp_histogram: true
dimensions:
- name: service.namespace
default: default
- name: deployment.environment
default: default
- name: container.name
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
- 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
extensions:
health_check:
endpoint: 0.0.0.0:13133
pprof:
endpoint: 0.0.0.0:1777
zpages:
exporters:
clickhousetraces:
datasource: <tcp://clickhouse:9000/signoz_traces>
low_cardinal_exception_grouping: ${env:LOW_CARDINAL_EXCEPTION_GROUPING}
use_new_schema: true
clickhousemetricswrite:
endpoint: <tcp://clickhouse:9000/signoz_metrics>
disable_v2: true
resource_to_telemetry_conversion:
enabled: true
clickhousemetricswrite/prometheus:
endpoint: <tcp://clickhouse:9000/signoz_metrics>
disable_v2: true
signozclickhousemetrics:
dsn: <tcp://clickhouse:9000/signoz_metrics>
clickhouselogsexporter:
dsn: <tcp://clickhouse:9000/signoz_logs>
timeout: 10s
use_new_schema: true
otlp:
endpoint: "<http://signoz-selfhosted.eastus.cloudapp.azure.com:8080|signoz-selfhosted.eastus.cloudapp.azure.com:8080>" # Your SigNoz collector endpoint.
tls:
insecure: true
# debug: {}
service:
telemetry:
logs:
encoding: json
metrics:
address: 0.0.0.0:8888
extensions: [health_check, zpages, pprof]
pipelines:
traces:
receivers: [otlp]
processors: [signozspanmetrics/delta, batch]
exporters: [clickhousetraces]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [clickhousemetricswrite, signozclickhousemetrics]
metrics/prometheus:
receivers: [prometheus]
processors: [batch]
exporters: [clickhousemetricswrite/prometheus, signozclickhousemetrics]
logs:
receivers: [otlp, tcplog/docker,httplogreceiver/json]
processors: [batch]
exporters: [clickhouselogsexporter]
metrics/hostmetrics:
receivers: [hostmetrics]
processors: [resourcedetection]
exporters: [otlp]
Asad K
06/04/2025, 1:40 PMNagesh Bansal
06/04/2025, 1:46 PMAlok Kumar
06/05/2025, 6:04 AMNagesh Bansal
06/05/2025, 6:07 AMNagesh Bansal
06/05/2025, 6:08 AMAlok Kumar
06/05/2025, 6:08 AMNagesh Bansal
06/05/2025, 6:55 AMAlok Kumar
06/05/2025, 7:10 AMAlok Kumar
06/11/2025, 11:11 AM