[Bug] Metrics Exported by Temporal Client's metrics Handler does not match with the ones used in SDK Metrics json file · Issue #47 · temporalio/dashboards · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load test temporal and see the useful metrics which can tell about how my self hosted temporal deployment is working at scale. All of temporal SDK metrics are getting listed in Grafana's metrics browser, but when I try to Visualise them by importing the SDK dashboard json file, most of the charts are just empty(No data).
Only after changing the name of these metrics used in the expression I'm able to see these graph on dashboard.
Describe the bug
The name of metrics exported by temporal Client's metrics handler does not match with the ones used in JSON file for Grafana Dashboard.
Importing the SDK metrics I see this
After changing the name of metrics used in expression
Environment/Versions
I'm using temporal in local machine setup using docker, The Grafana and Prometheus have also been setup with docker.
I'm using Golang and these are the Temporal SDK version I'm using:
In my case I needed to add _milliseconds prefix in front of any _bucket metric. Aka. temporal_request_latency_milliseconds_bucket instead of temporal_request_latency_bucket. I don't know if this difference is because of a config difference between where I am using this dashboard template vs. what it assumes. Hope this helps someone else.
I still, however could not figure out why temporal_long_request_failure has no data. (A metric sdk/temporal-core-sdks-otel.json uses.)
What are you really trying to do?
I'm trying to load test temporal and see the useful metrics which can tell about how my self hosted temporal deployment is working at scale. All of temporal SDK metrics are getting listed in Grafana's metrics browser, but when I try to Visualise them by importing the SDK dashboard json file, most of the charts are just empty(No data).
Only after changing the name of these metrics used in the expression I'm able to see these graph on dashboard.
Describe the bug
The name of metrics exported by temporal Client's metrics handler does not match with the ones used in JSON file for Grafana Dashboard.
Importing the SDK metrics I see this
After changing the name of metrics used in expression
Environment/Versions
I'm using temporal in local machine setup using docker, The Grafana and Prometheus have also been setup with docker.
I'm using Golang and these are the Temporal SDK version I'm using:
Additional context
I wanted to know If I'm doing something wrong here or I need to do some additional changes in order to see the metrics using the dashboard JSON file.
Attaching the replacement keys used for getting these metrics shown up in Grafana Dashboard, as It can be helpful or someone else.
The text was updated successfully, but these errors were encountered: