Skip to content

Commit 650d895

Browse files
committed
docs: edit heading
1 parent c406803 commit 650d895

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

docs/cloud/metrics/sdk-metrics-setup.mdx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ For a full list of available SDK metrics and their descriptions, see the [SDK me
3232
The process for setting up SDK metrics includes the following steps:
3333

3434
1. [Expose a metrics endpoint](#sdk-metrics-setup) in your application code where Prometheus can scrape SDK metrics.
35-
2. [Run Prometheus](#prometheus-configuration) and configure it to scrape your SDK metrics endpoints.
36-
3. [Add SDK metrics as a data source](#grafana-data-source-configuration) in Grafana.
37-
4. [Create dashboards](#grafana-dashboards-setup) to visualize SDK metrics.
35+
2. [Configure Prometheus](#prometheus-configuration) to scrape your SDK metrics endpoints.
36+
3. [Add an SDK metrics data source](#grafana-data-source-configuration) in Grafana.
37+
4. [Set up dashboards](#grafana-dashboards-setup) to visualize SDK metrics.
3838

3939
Set up your connections to Temporal Cloud using an SDK of your choice and have some Workflows running on Temporal Cloud.
4040
Ensure Prometheus and Grafana are installed.
@@ -45,7 +45,7 @@ Ensure Prometheus and Grafana are installed.
4545
- [TypeScript](/develop/typescript/core-application#connect-to-temporal-cloud)
4646
- [.NET](/develop/dotnet/temporal-client#connect-to-temporal-cloud)
4747

48-
## SDK metrics setup
48+
## Expose a metrics endpoint {#sdk-metrics-setup}
4949

5050
You must configure a Prometheus scrape endpoint for Prometheus to collect and aggregate your SDK metrics.
5151
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
6767
Some examples use OpenTelemtry to instrument metrics. It is useful to use a
6868
[Prometheus exporter with OpenTelemetry](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusexporter) to expose metrics for scraping.
6969

70-
## Prometheus configuration {#prometheus-configuration}
71-
72-
**How to configure Prometheus to ingest Temporal SDK metrics.**
70+
## Configure Prometheus {#prometheus-configuration}
7371

7472
For Temporal SDKs, you must have Prometheus running and configured to listen on the scrape endpoints exposed in your application code.
7573

@@ -99,9 +97,7 @@ See the [Prometheus documentation](https://prometheus.io/docs/introduction/first
9997
To check whether Prometheus is receiving metrics from your SDK target, go to [http://localhost:9090](http://localhost:9090) and navigate to **Status > Targets**.
10098
The status of your target endpoint defined in your configuration appears here.
10199

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}
105101

106102
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.
107103

@@ -125,7 +121,7 @@ Verify your Prometheus configuration and restart Prometheus.
125121
If you're running Grafana as a container, you can set your SDK metrics Prometheus data source in your Grafana configuration.
126122
See the example Grafana configuration described in the [Prometheus and Grafana setup for open-source Temporal Service](/self-hosted-guide/monitoring#grafana) article.
127123

128-
## Grafana dashboards setup
124+
## Set up Grafana dashboards {#grafana-dashboards-setup}
129125

130126
To set up SDK metrics dashboards in Grafana, you can use the UI or configure them directly in your Grafana deployment.
131127

0 commit comments

Comments
 (0)