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

     1  receivers:
     2    kafkametrics:
     3      collection_interval: 60s
     4      brokers:
     5        - localhost:9092
     6      protocol_version: 2.0.0
     7      scrapers:
     8        - brokers
     9        - topics
    10        - consumers
    11  
    12  processors:
    13    resourcedetection:
    14      detectors: ["system"]
    15      system:
    16        hostname_sources: ["os"]
    17  
    18    batch:
    19  
    20  exporters:
    21    prometheus:
    22      endpoint: "localhost:9000"
    23      resource_to_telemetry_conversion:
    24        enabled: true
    25  
    26  service:
    27    pipelines:
    28      metrics:
    29        receivers:
    30          - kafkametrics
    31        processors:
    32          - resourcedetection
    33          - batch
    34        exporters:
    35          - prometheus