# \#metrics

**URL:** https://community.temporal.io/tag/metrics/66.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Temporal Datadog dashboards](https://community.temporal.io/t/temporal-datadog-dashboards/19244)

<div class="topic-metadata">

**Author:** [@kishore\_kumar](https://community.temporal.io/u/kishore_kumar)\
**Replies:** 1\
**Last updated:** [February 4, 2026, 3:00pm UTC](https://community.temporal.io/t/temporal-datadog-dashboards/19244 "2026-02-04T15:00:16Z")

</div>

Hi Temporal community :waving\_hand:, We’re running a self-hosted Temporal cluster and recently started using Datadog across our services. We’d now like to leverage Datadog more effectively for monitoring Temporal. We’v…

---

## [Shim exporter dropping 'unknown' span attributes added by temporal](https://community.temporal.io/t/shim-exporter-dropping-unknown-span-attributes-added-by-temporal/18365)

<div class="topic-metadata">

**Author:** [@Harman\_singh\_Siddhu](https://community.temporal.io/u/Harman_singh_Siddhu)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 1:22pm UTC](https://community.temporal.io/t/shim-exporter-dropping-unknown-span-attributes-added-by-temporal/18365 "2025-09-18T13:22:52Z")

</div>

Temporal does add workflow/activity attributes by default — but with the shim only a few survive into Tempo I am facing couple of issues trace id from temporal is not flowing to my worker hence trace\_id and span\_id …

---

## [Trace id and span id in workflow logs](https://community.temporal.io/t/trace-id-and-span-id-in-workflow-logs/18345)

<div class="topic-metadata">

**Author:** [@Harman\_singh\_Siddhu](https://community.temporal.io/u/Harman_singh_Siddhu)\
**Replies:** 2\
**Last updated:** [September 17, 2025, 4:33pm UTC](https://community.temporal.io/t/trace-id-and-span-id-in-workflow-logs/18345 "2025-09-17T16:33:57Z")

</div>

Hi Team , we are using grafana for observability . worker pods are not just getting the load from temporal queues but also receving the http traffic . That means client and consumer is same . All the logs wrt Http cal…

---

## [SDK metric / Add extra tags or data](https://community.temporal.io/t/sdk-metric-add-extra-tags-or-data/18310)

<div class="topic-metadata">

**Author:** [@Andres\_Felipe\_Benavi](https://community.temporal.io/u/Andres_Felipe_Benavi)\
**Replies:** 2\
**Last updated:** [September 14, 2025, 7:36pm UTC](https://community.temporal.io/t/sdk-metric-add-extra-tags-or-data/18310 "2025-09-14T19:36:36Z")

</div>

Hey! I would like to know if it’s possible to add custom tags or labels to the existent sdk metrics?, specifically at runtime, in my use case i would like to add the account id in order to be able to have metric about e…

---

## [GetTaskQueueUserData API Always Takes 4 Minutes on Temporal v2.28.0 (PostgreSQL)](https://community.temporal.io/t/gettaskqueueuserdata-api-always-takes-4-minutes-on-temporal-v2-28-0-postgresql/17571)

<div class="topic-metadata">

**Author:** [@Aswath\_Murugan](https://community.temporal.io/u/Aswath_Murugan)\
**Replies:** 0\
**Last updated:** [May 31, 2025, 3:08pm UTC](https://community.temporal.io/t/gettaskqueueuserdata-api-always-takes-4-minutes-on-temporal-v2-28-0-postgresql/17571 "2025-05-31T15:08:18Z")

</div>

Hi Team, We’re observing that the internal API call: /temporal.server.api.matchingservice.v1.MatchingService/GetTaskQueueUserData consistently takes exactly 4 minutes (240 seconds) in our Temporal setup: System Info: …

---

## [Temporal server metric 'task\_schedule\_to\_start\_latency' is being emitted for task\_type 'Workflow' only and not 'Activity''](https://community.temporal.io/t/temporal-server-metric-task-schedule-to-start-latency-is-being-emitted-for-task-type-workflow-only-and-not-activity/17345)

<div class="topic-metadata">

**Author:** [@subahugu](https://community.temporal.io/u/subahugu)\
**Replies:** 0\
**Last updated:** [May 5, 2025, 1:57pm UTC](https://community.temporal.io/t/temporal-server-metric-task-schedule-to-start-latency-is-being-emitted-for-task-type-workflow-only-and-not-activity/17345 "2025-05-05T13:57:40Z")

</div>

Hi, We upgraded Temporal self hosted cluster to version v1.25.2 from v1.19.1. Previously, we used to see temporal server metric ‘task\_schedule\_to\_start\_latency’ for task\_type ‘Workflow’ and ‘Activity’ both with version …

---

## [Scaling Strategy For Workers With Rate-Limited Task Queues](https://community.temporal.io/t/scaling-strategy-for-workers-with-rate-limited-task-queues/17108)

<div class="topic-metadata">

**Author:** [@luanderson](https://community.temporal.io/u/luanderson)\
**Replies:** 1\
**Last updated:** [April 20, 2025, 4:45pm UTC](https://community.temporal.io/t/scaling-strategy-for-workers-with-rate-limited-task-queues/17108 "2025-04-20T16:45:55Z")

</div>

My team has requirements to rate-limit requests to our dependencies to RPS values that we agreed upon with the dependency owners. We thought it would be easiest to implement this rate-limiting by creating dedicated task …

---

## [Metrics For Temporal Performance Testing](https://community.temporal.io/t/metrics-for-temporal-performance-testing/17026)

<div class="topic-metadata">

**Author:** [@Veeresh](https://community.temporal.io/u/Veeresh)\
**Replies:** 1\
**Last updated:** [April 2, 2025, 2:24pm UTC](https://community.temporal.io/t/metrics-for-temporal-performance-testing/17026 "2025-04-02T14:24:28Z")

</div>

Hi All, I am setting up performance testing for my Temporal application and need guidance on selecting the right metrics. I followed this Temporal blog → Scaling Temporal: The Basics | Temporal on scaling, but I am not …

---

## [Count how many types a particular WorkflowType was started?](https://community.temporal.io/t/count-how-many-types-a-particular-workflowtype-was-started/16713)

<div class="topic-metadata">

**Author:** [@Stephen](https://community.temporal.io/u/Stephen)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 4:31pm UTC](https://community.temporal.io/t/count-how-many-types-a-particular-workflowtype-was-started/16713 "2025-03-11T16:31:31Z")

</div>

We’re on Temporal Cloud and using Prometheus+Grafana. I thought that using the temporal\_request SDK metric and filtering down to instances where operation=StartWorkflowExecution would be the ticket, but there are 2 prob…

---

## [Adopt OpenTelemetry for workflow telemetry instrumentation](https://community.temporal.io/t/adopt-opentelemetry-for-workflow-telemetry-instrumentation/542)

<div class="topic-metadata">

**Author:** [@Roland\_Tepp](https://community.temporal.io/u/Roland_Tepp)\
**Replies:** 9\
**Last updated:** [February 2, 2025, 1:26am UTC](https://community.temporal.io/t/adopt-opentelemetry-for-workflow-telemetry-instrumentation/542 "2025-02-02T01:26:11Z")

</div>

OpenTelemetry is a new standard and API for software telemetry instrumentation and reporting. It unifies tracing, metrics and logs reporting under one unified standard API and protocol and is a result of joined effort of…

---

## [Best practice for alerting on Temporal Schedules](https://community.temporal.io/t/best-practice-for-alerting-on-temporal-schedules/12986)

<div class="topic-metadata">

**Author:** [@gaurav\_garg](https://community.temporal.io/u/gaurav_garg)\
**Replies:** 1\
**Last updated:** [December 3, 2024, 5:17pm UTC](https://community.temporal.io/t/best-practice-for-alerting-on-temporal-schedules/12986 "2024-12-03T17:17:39Z")

</div>

Hi, I am using Temporal Schedules to multiple schedule tasks. We want to setup monitoring to ensure scheduled tasks are being executed as per the configured schedule. Temporal doc recommends setting up monitoring on met…

---

## [Python sdk datadog metrics](https://community.temporal.io/t/python-sdk-datadog-metrics/15275)

<div class="topic-metadata">

**Author:** [@Edwin\_Luo](https://community.temporal.io/u/Edwin_Luo)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 11:49pm UTC](https://community.temporal.io/t/python-sdk-datadog-metrics/15275 "2024-11-20T23:49:45Z")

</div>

Hi! I’m interested in emitting the client sdk metrics mentioned here We use datadog and use statsd to send metrics (from datadog.dogstatsd.base import statsd). Is it possible to send metrics similar to the example giv…

---

## [Emitting custom counter metrics from activity](https://community.temporal.io/t/emitting-custom-counter-metrics-from-activity/13632)

<div class="topic-metadata">

**Author:** [@Albert\_Teoh](https://community.temporal.io/u/Albert_Teoh)\
**Replies:** 1\
**Last updated:** [September 23, 2024, 8:19am UTC](https://community.temporal.io/t/emitting-custom-counter-metrics-from-activity/13632 "2024-09-23T08:19:32Z")

</div>

Hello :wave: We’d like to emit counter metrics either from activities or from service methods deep in the call stack, but initiated from activities. The problem we’re facing is that we, naturally, have multiple workers…

---

## [Adding tags to temporal metrics](https://community.temporal.io/t/adding-tags-to-temporal-metrics/10047)

<div class="topic-metadata">

**Author:** [@darewreck](https://community.temporal.io/u/darewreck)\
**Replies:** 5\
**Last updated:** [September 9, 2024, 4:15pm UTC](https://community.temporal.io/t/adding-tags-to-temporal-metrics/10047 "2024-09-09T16:15:45Z")

</div>

I wanted to append extra tags to the temporal sdk metrics relating to workflow and activity execution that are reported. For example, the workflow and activity arguments have info which I wanted to tag the existing metr…

---

## [Frontend heartbeat metric](https://community.temporal.io/t/frontend-heartbeat-metric/13372)

<div class="topic-metadata">

**Author:** [@walkercp](https://community.temporal.io/u/walkercp)\
**Replies:** 0\
**Last updated:** [September 3, 2024, 3:15pm UTC](https://community.temporal.io/t/frontend-heartbeat-metric/13372 "2024-09-03T15:15:03Z")

</div>

Hey, I’ve been having a look at the built in metrics and I was wondering - is there a simple heartbeat type metric that can be monitored to indicate that the frontend service is available? (Note we are self hosting the …

---

## [Metrics to monitor regarding activity failures](https://community.temporal.io/t/metrics-to-monitor-regarding-activity-failures/12949)

<div class="topic-metadata">

**Author:** [@rifruf](https://community.temporal.io/u/rifruf)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 6:48pm UTC](https://community.temporal.io/t/metrics-to-monitor-regarding-activity-failures/12949 "2024-07-24T18:48:31Z")

</div>

I have activities that will retry for up to a day. I’d like to be alerted whenever the failure rates for this activity get too high, which likely points to some type of underlying code or data issue. I have Typescript SD…

---

## [Merging Prometheus Metrics from Temporal SDK and Local Services in a Python Application](https://community.temporal.io/t/merging-prometheus-metrics-from-temporal-sdk-and-local-services-in-a-python-application/12858)

<div class="topic-metadata">

**Author:** [@Chubutin](https://community.temporal.io/u/Chubutin)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 6:34pm UTC](https://community.temporal.io/t/merging-prometheus-metrics-from-temporal-sdk-and-local-services-in-a-python-application/12858 "2024-07-17T18:34:41Z")

</div>

Hi everyone, I’m currently working on a Python application that uses Temporal with a worker and has its own metrics for some external services and internal functions. Additionally, the application also includes metrics …

---

## [Guidance on creating and interpreting Grafana dashboards](https://community.temporal.io/t/guidance-on-creating-and-interpreting-grafana-dashboards/493)

<div class="topic-metadata">

**Author:** [@rfwagner](https://community.temporal.io/u/rfwagner)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 3:47pm UTC](https://community.temporal.io/t/guidance-on-creating-and-interpreting-grafana-dashboards/493 "2024-06-28T15:47:43Z")

</div>

Can you offer some guidance on using prometheus+grafana to monitor Temporal. Some topics that would be useful: what are the top tier metrics that must be monitored a brief high level description of what each top-tier m…

---

## [Python SDK: opentelemetry metrics not exporting](https://community.temporal.io/t/python-sdk-opentelemetry-metrics-not-exporting/12310)

<div class="topic-metadata">

**Author:** [@saket](https://community.temporal.io/u/saket)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 5:58pm UTC](https://community.temporal.io/t/python-sdk-opentelemetry-metrics-not-exporting/12310 "2024-05-31T17:58:52Z")

</div>

Hello! We’ve got a DataDog agent that we’d like to send Temporal SDK metrics to via its support for OpenTelemetry ingestion. We’re trying to follow the “How to emit metrics using the Python SDK” guide; this is our code…

---

## [Custom Metric for Activity Retry Attemps (Java)](https://community.temporal.io/t/custom-metric-for-activity-retry-attemps-java/11851)

<div class="topic-metadata">

**Author:** [@norfolx](https://community.temporal.io/u/norfolx)\
**Replies:** 0\
**Last updated:** [April 21, 2024, 12:09pm UTC](https://community.temporal.io/t/custom-metric-for-activity-retry-attemps-java/11851 "2024-04-21T12:09:39Z")

</div>

Hi all, I’m trying to emit a custom metric for a given activity’s attempt count via interceptors. I’ve written a small Kotlin interceptor, but I am unclear if this is “correct” implementation with respect to Temporal’s …

---

## [Need suggestion in scale worker from 0 to 1 with keda](https://community.temporal.io/t/need-suggestion-in-scale-worker-from-0-to-1-with-keda/11404)

<div class="topic-metadata">

**Author:** [@ddj](https://community.temporal.io/u/ddj)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 4:03pm UTC](https://community.temporal.io/t/need-suggestion-in-scale-worker-from-0-to-1-with-keda/11404 "2024-03-20T16:03:55Z")

</div>

We have a workflow that only run seldomly and the workflow is not latency sensitive so we would like to find a way to scale to 0 when no running activity and scale to 1 or more when there’s work comes in. It seems tempo…

---

## [Scaling Temporal Workers with K8S](https://community.temporal.io/t/scaling-temporal-workers-with-k8s/10919)

<div class="topic-metadata">

**Author:** [@Arihant\_Jain](https://community.temporal.io/u/Arihant_Jain)\
**Replies:** 1\
**Last updated:** [February 22, 2024, 5:31pm UTC](https://community.temporal.io/t/scaling-temporal-workers-with-k8s/10919 "2024-02-22T17:31:28Z")

</div>

We’re creating Temporal workers on-the-fly based on tasks, especially those that are time-sensitive or prioritized. Now, we’re exploring ways to scale these runtime workers using Kubernetes (K8s). What would be the best …

---

## [Temporal cluster not emitting certain metrics](https://community.temporal.io/t/temporal-cluster-not-emitting-certain-metrics/10870)

<div class="topic-metadata">

**Author:** [@adithyasai](https://community.temporal.io/u/adithyasai)\
**Replies:** 2\
**Last updated:** [February 1, 2024, 8:09pm UTC](https://community.temporal.io/t/temporal-cluster-not-emitting-certain-metrics/10870 "2024-02-01T20:09:28Z")

</div>

I am running a local temporal cluster 1.22 deployed in kubernetes through helm. Port-forwarded the web ui port and the frontend port to the host. kubectl -n temporal port-forward services/temporal-web 8080:8080 & kubec…

---

## [Unable to view prometheus metrics using Spring boot 3](https://community.temporal.io/t/unable-to-view-prometheus-metrics-using-spring-boot-3/8819)

<div class="topic-metadata">

**Author:** [@gauravojha](https://community.temporal.io/u/gauravojha)\
**Replies:** 15\
**Last updated:** [January 25, 2024, 1:47pm UTC](https://community.temporal.io/t/unable-to-view-prometheus-metrics-using-spring-boot-3/8819 "2024-01-25T13:47:16Z")

</div>

Hi team! Following the instructions shared in the metrics for JDK documentation on observability#metrics. I am setting up a Bean of type TemporalOptionsCustomizer\<WorkflowServiceStubsOptions.Builder\> as mentioned in this…

---

## [How to get best Temporal Performance?](https://community.temporal.io/t/how-to-get-best-temporal-performance/10758)

<div class="topic-metadata">

**Author:** [@Parth\_Mangukiya](https://community.temporal.io/u/Parth_Mangukiya)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 7:17am UTC](https://community.temporal.io/t/how-to-get-best-temporal-performance/10758 "2024-01-24T07:17:00Z")

</div>

We have deployed Temporal using Helm-chart and we are using PostgreSQL as persistence DB. Here is our services configuration: History: Replica: 5, CPU: 2000m, Memory: 8 Gi Worker: Replica: 3, CPU: 500m, Memory: 1 Gi F…

---

## [Long Running Activities Right Practices Questions](https://community.temporal.io/t/long-running-activities-right-practices-questions/10726)

<div class="topic-metadata">

**Author:** [@Khaled\_Baghdadi](https://community.temporal.io/u/Khaled_Baghdadi)\
**Replies:** 1\
**Last updated:** [January 21, 2024, 7:11pm UTC](https://community.temporal.io/t/long-running-activities-right-practices-questions/10726 "2024-01-21T19:11:34Z")

</div>

Hello, I have some questions about long running activities and the right practices. First of all, regarding startToCloseTimeout. If we have an activity that has 2hrs startToCloseTimeout, and the worker that was executin…

---

## [Suggested metrics to autoscale Temporal workers on](https://community.temporal.io/t/suggested-metrics-to-autoscale-temporal-workers-on/5870)

<div class="topic-metadata">

**Author:** [@rifruf](https://community.temporal.io/u/rifruf)\
**Replies:** 9\
**Last updated:** [January 3, 2024, 1:18am UTC](https://community.temporal.io/t/suggested-metrics-to-autoscale-temporal-workers-on/5870 "2024-01-03T01:18:19Z")

</div>

Hi what are the general metrics you recommend autoscaling workers on? I currently have 3 workers, each working on a separate task queue. 2 of them only execute activities, while 1 only executes workflows. I saw posts see…

---

## [Add custom tags to common metrics emitted by temporal](https://community.temporal.io/t/add-custom-tags-to-common-metrics-emitted-by-temporal/10427)

<div class="topic-metadata">

**Author:** [@tilak.raj94](https://community.temporal.io/u/tilak.raj94)\
**Replies:** 0\
**Last updated:** [December 21, 2023, 9:34am UTC](https://community.temporal.io/t/add-custom-tags-to-common-metrics-emitted-by-temporal/10427 "2023-12-21T09:34:43Z")

</div>

i have implemented go metrics and i can understand that i can add metrics while passing the root scope to the temporal client. temporalClient, err := client.NewClient(temporal.Options{ Logger: loggerNew, Me…

---

## [Prometheus metrics not showing in Spring Boot 3 configuration](https://community.temporal.io/t/prometheus-metrics-not-showing-in-spring-boot-3-configuration/10400)

<div class="topic-metadata">

**Author:** [@ashish](https://community.temporal.io/u/ashish)\
**Replies:** 1\
**Last updated:** [December 17, 2023, 8:45pm UTC](https://community.temporal.io/t/prometheus-metrics-not-showing-in-spring-boot-3-configuration/10400 "2023-12-17T20:45:33Z")

</div>

I tried following instructions mentioned here- Java SDK developer's guide - Observability | Temporal Documentation, however with Spring Boot 3, I don’t see any Temporal related metrics showing up. I am using Temporal SDK…

---

## [Matching service GetTaskQueue latency metrics is very large](https://community.temporal.io/t/matching-service-gettaskqueue-latency-metrics-is-very-large/9349)

<div class="topic-metadata">

**Author:** [@o.kolobov](https://community.temporal.io/u/o.kolobov)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 1:33pm UTC](https://community.temporal.io/t/matching-service-gettaskqueue-latency-metrics-is-very-large/9349 "2023-12-11T13:33:09Z")

</div>

After updating temporal from v1.13.0 to v1.21.2, this metrics increased dramatically. Other metrics don’t look suspicious. At the same time, all our workflows/activity work without problems, there are no big delays. Has…

[Next page](https://community.temporal.io/tag/metrics/66.md?match_all_tags=true&page=1&tags%5B%5D=metrics)
