Talles Emmanuel
06/02/2025, 9:48 PMreceivers:
docker_stats:
endpoint: unix:///var/run/docker.sock
collection_interval: 10s
metrics:
container.cpu.utilization:
enabled: true
container.memory.percent:
enabled: true
container.network.io.usage.rx_bytes:
enabled: true
container.network.io.usage.tx_bytes:
enabled: true
container.memory.usage.limit:
enabled: true
container.memory.usage.total:
enabled: true
hostmetrics:
collection_interval: 60s
scrapers:
cpu: {}
memory: {}
disk: {}
filesystem: {}
load: {}
network: {}
processors:
resource:
attributes:
- key: host.name
value: ${env:HOST_NAME}
action: upsert
resourcedetection:
detectors: [env, system, docker]
system:
hostname_sources: [os]
timeout: 2s
override: false
batch:
timeout: 10s
send_batch_size: 100
exporters:
otlphttp:
endpoint: "<https://collectorhttp.teste.com.br:443>"
tls:
insecure: false
service:
pipelines:
metrics:
receivers: [docker_stats, hostmetrics]
processors: [resource, resourcedetection, batch]
exporters: [otlphttp]
It works perfectly, but I'm getting blocked on the same endpoint when I try to put it in a kubernetes cluster, currently using local with the same kind.
global:
cloud: others
clusterName: <CLUSTER_NAME>
deploymentEnvironment: <DEPLOYMENT_ENVIRONMENT>
otelCollectorEndpoint: <IP-or-Endpoint-of-SigNoz-OtelCollector>:4317
otelInsecure: true
presets:
otlpExporter:
enabled: true
loggingExporter:
enabled: false