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

     1  receivers:
     2    mysql:
     3      endpoint: localhost:3306
     4      username: $MYSQL_USERNAME
     5      password: $MYSQL_PASSWORD
     6      collection_interval: 60s
     7  
     8  processors:
     9    resourcedetection:
    10      detectors: ["system"]
    11      system:
    12        hostname_sources: ["os"]
    13  
    14    batch:
    15  
    16  exporters:
    17    prometheus:
    18      endpoint: "localhost:9000"
    19      resource_to_telemetry_conversion:
    20        enabled: true
    21  
    22  service:
    23    pipelines:
    24      metrics:
    25        receivers:
    26          - mysql
    27        processors:
    28          - resourcedetection
    29          - batch
    30        exporters:
    31          - prometheus