receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
prometheus:
config:
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['localhost:8888']
processors:
batch:
timeout: 10s
send_batch_size: 1024
memory_limiter:
check_interval: 1s
limit_mib: 512
spike_limit_mib: 128
resource:
attributes:
- key: service.name
from_attribute: service_name
action: insert
- key: service.version
value: "2.0.0"
action: insert
attributes:
actions:
- key: environment
value: production
action: insert
exporters:
prometheus:
endpoint: "0.0.0.0:8889"
namespace: pfsense_mcp
const_labels:
environment: production
logging:
loglevel: info
otlp/jaeger:
endpoint: jaeger:4317
tls:
insecure: true
extensions:
health_check:
endpoint: 0.0.0.0:13133
pprof:
endpoint: 0.0.0.0:1777
zpages:
endpoint: 0.0.0.0:55679
service:
extensions: [health_check, pprof, zpages]
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch, resource, attributes]
exporters: [logging, otlp/jaeger]
metrics:
receivers: [otlp, prometheus]
processors: [memory_limiter, batch, resource, attributes]
exporters: [prometheus, logging]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [logging]