Temporal Cloud OpenMetrics
Future pricing may apply to high-volume usage that exceeds standard limits.
Temporal Cloud's OpenMetrics endpoint provides operational metrics for your Temporal Cloud workloads in industry-standard Prometheus format, enabling comprehensive monitoring across Namespaces, Workflows, and Task Queues with your existing observability stack.
Quickstart
Stream metrics from Temporal Cloud into your observability tool in about 5 minutes.
Prerequisites
- An Account Owner or Global Admin role on the Temporal Cloud account. The Metrics Read-Only role is an account-level role and can only be granted by these roles. A Namespace Admin cannot complete these steps.
- An account in the observability tool you want to use (Datadog, Grafana Cloud, New Relic, ClickStack, self-hosted Prometheus, etc.).
Steps
-
Create a Service Account with the Metrics Read-Only role.
In the Temporal Cloud UI, go to Settings → Service Accounts → Create Service Account and assign the Metrics Read-Only account-level role.
-
Generate an API key for the Service Account.
Open the Service Account and create an API key. Copy the key and store it somewhere secure. It is shown only once.
-
Verify the endpoint is reachable.
curl -H "Authorization: Bearer <API_KEY>" https://metrics.temporal.io/v1/metricsYou should see OpenMetrics-formatted output beginning with
# TYPE temporal_cloud_v1_....notemetrics.temporal.iois for scrapers, not browsersThe endpoint requires an
Authorization: Bearer <API key>header on every request. There is no browser UI. Openinghttps://metrics.temporal.ioorhttps://metrics.temporal.io/v1/metricsdirectly in a browser returnsJwt is missing. Configure the endpoint inside your observability tool instead. -
Configure your observability tool.
Paste the API key into the integration for your tool of choice. See Metrics integrations for tool-specific setup:
Metrics begin populating in your tool within a few minutes.
Quick Links
- Integrations - Get started exporting metrics with common integrations
- API Documentation - Endpoint specification and advanced configuration
- Metrics Reference - Complete catalog of all metrics with descriptions and labels
- Migration Guide - Transition from the deprecated Prometheus query endpoint to OpenMetrics
Overview
Temporal Cloud OpenMetrics exposes 50+ metrics covering workflow lifecycles, task queue operations, service performance, and system limits. All metrics are aggregated over one-minute windows and available for scraping within three minutes. Each scrape returns only the most recently completed one-minute window—configure your monitoring system to retain what it scrapes.
- Set up authentication and scraping with the API documentation.
- Browse the complete metrics catalog for descriptions and labels.
- Teams using the query endpoint should review the migration guide.
API key authentication
Create a Service Account with the "Metrics Read-Only" role and generate an API key. See the Quickstart above for step-by-step instructions. API keys work with standard HTTPS, with no certificate rotation or distribution required.
Global endpoint
This is a single endpoint at metrics.temporal.io which serves all metrics across your entire account with API key authentication and standard HTTPS.
Namespace and metric filtering
You can use query parameters to enable selective scraping to manage data volume and costs, which support wildcards for flexible namespace selection and specific metric filtering.
Dashboard templates
Production-ready Grafana dashboards provide immediate visibility with pre-built queries and visualizations.