Guidance on adding Prometheus datasource

I’m trying to integrate (new Temporal user) Temporal Cloud with Prometheus/Grafana setup
Integrating a new temporal datasource in the Grafana UI always gives me the below error ( no matter what I configure in the Settings)
“Error reading Prometheus: An error occurred within the plugin.”
I don’t see any plugin requirements in the documentation. Graphana OSS version is 9.3.2

If i use curl command, it works “curl --cert CA.pem --key CA.key “https://account_id.tmprl.clud/prometheus/api/v1/query?query=temporal_cloud_v0_state_transition_count” | jq .”

Can someone please share more details on the UI configs? For example:

  • what is the “ServerName” that has to be provided for " TLS/SSL Auth Details" auth option.
  • or for the option “With CA Cert” (if we use setup: one key → app_per_env), what is going into this field as value, etc for the org, etc?
    Thank you

Hello @Nat

  • what is the “ServerName” that has to be provided for " TLS/SSL Auth Details" auth option.

it should be empty

  • or for the option “With CA Cert” (if we use setup: one key → app_per_env), what is going into this field as value, etc for the org, etc?

“With CA Cert” should be disabled and “TLS Client Auth” enabled

Also, the URL in the HTTP section should be https://account_id.tmprl.cloud/prometheus

Please take a look at the following document, and let us know if this is still not working for you

For issues/questions related to Temporal Cloud, feel free to open a Zendesk ticket https://temporalsupport.zendesk.com/

Antonio

1 Like