github.com/observiq/bindplane-agent@v1.51.0/config/prometheus/mongodb/config.yaml (about)

     1  receivers:
     2    mongodb:
     3      hosts:
     4        - endpoint: localhost:27017
     5  
     6  processors:
     7    resourcedetection:
     8      detectors: ["system"]
     9      system:
    10        hostname_sources: ["os"]
    11  
    12    batch:
    13  
    14  exporters:
    15    prometheus:
    16      endpoint: "localhost:9000"
    17      resource_to_telemetry_conversion:
    18        enabled: true
    19  
    20  service:
    21    pipelines:
    22      metrics:
    23        receivers:
    24          - mongodb
    25        processors:
    26          - resourcedetection
    27          - batch
    28        exporters:
    29          - prometheus