Confluent Cloud metrics not available in Grafana Alerting

Hi,

We collect metrics using Prometheus from Confluent Cloud. Collecting metric are available in prometheus UI, Grafana Explore, Grafana Dashboard. But when I want to use them in Grafana alerting promql query doesn’t return anything.

We use Grafana 10.3.3

Metrics looks like this :

  • {name=“confluent_kafka_server_consumer_lag_offsets”, consumer_group_id=“connect-mf-contract-commands-adapter-jms-sink-connector”, env=“dev”, instance=“api.telemetry.confluent.cloud”, job=“Confluent Cloud”, kafka_id=“xxxxxx”, topic=“lic-licencesapi-contract-commands-jms”}

Thank you very much for your help