Gil
04/15/2025, 7:23 AMApr 14 16:30:34 FRPAR3DXSBOX signoz-otel-collector[11717]: {"level":"info","timestamp":"2025-04-14T16:30:34.858+0200","caller":"opamp/server_client.go:171","msg":"Waiting for initial remote config","component":"opamp-server-client"}
Here my otel-col config.yaml :
receivers:
hostmetrics:
collection_interval: 60s
scrapers:
cpu: {}
disk: {}
load: {}
filesystem: {}
memory: {}
network: {}
paging: {}
process:
mute_process_name_error: true
mute_process_exe_error: true
mute_process_io_error: true
processes: {}
processors:
batch:
send_batch_size: 1000
timeout: 10s
# Ref: <https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/README.md>
resourcedetection:
detectors: [env, system] # Before system detector, include ec2 for AWS, gcp for GCP and azure for Azure.
# Using OTEL_RESOURCE_ATTRIBUTES envvar, env detector adds custom labels.
timeout: 2s
system:
hostname_sources: [os] # alternatively, use [dns,os] for setting FQDN as host.name and os as fallback
extensions:
health_check: {}
zpages: {}
exporters:
clickhouse/hostmetrics:
endpoint: <tcp://localhost:9000/signoz_metrics?username=signoz&password=signoz>
tls:
insecure: true
resource_to_telemetry_conversion:
enabled: true
metadataexporter:
dsn: <tcp://localhost:9000/signoz_metadata?username=signoz&password=signoz>
timeout: 10s
tenant_id: default
cache:
provider: in_memory
service:
telemetry:
metrics:
address: 0.0.0.0:8888
extensions: [health_check, zpages]
pipelines:
metrics/hostmetrics:
receivers: [hostmetrics]
processors: [resourcedetection, batch]
exporters: [clickhouse/hostmetrics, metadataexporter]