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
You must configure a Prometheus scrape endpoint for Prometheus to collect and aggregate your SDK metrics.
51
51
Each language development guide has details on how to set this up.
@@ -67,9 +67,7 @@ For working examples of how to configure metrics in each SDK, see the metrics sa
67
67
Some examples use OpenTelemtry to instrument metrics. It is useful to use a
68
68
[Prometheus exporter with OpenTelemetry](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusexporter) to expose metrics for scraping.
For Temporal SDKs, you must have Prometheus running and configured to listen on the scrape endpoints exposed in your application code.
75
73
@@ -99,9 +97,7 @@ See the [Prometheus documentation](https://prometheus.io/docs/introduction/first
99
97
To check whether Prometheus is receiving metrics from your SDK target, go to [http://localhost:9090](http://localhost:9090) and navigate to **Status > Targets**.
100
98
The status of your target endpoint defined in your configuration appears here.
101
99
102
-
## Grafana data source configuration {#grafana-data-source-configuration}
103
-
104
-
**How to configure the SDK metrics data source in Grafana.**
100
+
## Add an SDK metrics data source in Grafana {#grafana-data-source-configuration}
105
101
106
102
Depending on how you use Grafana, you can either install and run it locally, run it as a Docker container, or log in to Grafana Cloud to set up your data sources.
107
103
@@ -125,7 +121,7 @@ Verify your Prometheus configuration and restart Prometheus.
125
121
If you're running Grafana as a container, you can set your SDK metrics Prometheus data source in your Grafana configuration.
126
122
See the example Grafana configuration described in the [Prometheus and Grafana setup for open-source Temporal Service](/self-hosted-guide/monitoring#grafana) article.
127
123
128
-
## Grafana dashboards setup
124
+
## Set up Grafana dashboards {#grafana-dashboards-setup}
129
125
130
126
To set up SDK metrics dashboards in Grafana, you can use the UI or configure them directly in your Grafana deployment.
0 commit comments