Adding additional scape_config to Google Managed Prometheus

81 views Asked by At

I'm not very familiar with Prometheus and I want to add scrape_config for Confluent Cloud metrics.

They have an integration for prometheus:

 scrape_configs:
  - job_name: Confluent Cloud
    scrape_interval: 1m
    scrape_timeout: 1m
    honor_timestamps: true
    static_configs:
      - targets:
        - api.telemetry.confluent.cloud
    scheme: https
    basic_auth:
      username: <Cloud API Key>
      password: <Cloud API Secret>
    metrics_path: /v2/metrics/cloud/export
    params:
      "resource.kafka.id":
        - lkc-1
        - lkc-2

I'm using Google managed Prometheus in deployed in GKE and I want to add that config. How can I add it?

Thanks

0

There are 0 answers