github.com/observiq/bindplane-agent@v1.51.0/config/new_relic_otlp/mongodb/config.yaml (about) 1 receivers: 2 mongodb: 3 hosts: 4 - endpoint: 127.0.0.1:27017 5 collection_interval: 30s 6 tls: 7 insecure: true 8 9 plugin/mongodb: 10 path: $OIQ_OTEL_COLLECTOR_HOME/plugins/mongodb_logs.yaml 11 parameters: 12 log_paths: 13 - /var/log/mongodb/mongod.log 14 start_at: end 15 16 processors: 17 resourcedetection: 18 detectors: ["system"] 19 system: 20 hostname_sources: ["os"] 21 22 batch: 23 24 exporters: 25 otlp/newrelic: 26 endpoint: https://otlp.nr-data.net:443 27 headers: 28 api-key: 00000-00000-00000 29 tls: 30 insecure: false 31 32 service: 33 pipelines: 34 metrics: 35 receivers: 36 - mongodb 37 processors: 38 - resourcedetection 39 - batch 40 exporters: 41 - otlp/newrelic 42 43 logs: 44 receivers: 45 - plugin/mongodb 46 processors: 47 - resourcedetection 48 - batch 49 exporters: 50 - otlp/newrelic