Supported telemetry types
The Temporal integration supports these telemetry types:Prerequisites
The Temporal integration has the following prerequisites:- Configure the Temporal frontend, history, matching, and worker server roles that you want to monitor to expose a Prometheus metrics endpoint.
- Make each Prometheus metrics endpoint reachable from the collector.
Configure
To configure the Temporal integration, follow these steps:- For Temporal instances, add autodiscovery annotations that provide the full Prometheus metrics endpoint URL. For more information, see autodiscovery.
-
Optional: Configure static targets for Temporal servers that autodiscovery doesn’t
reach. For example, add the following to the
values.yamlfor your Helm chart:
Validate
To validate the Temporal integration, follow these steps:-
In Live Telemetry Analyzer, filter for
cxdot.integration.name=temporal. Confirm that the Temporal metric names appear. -
In Metrics Explorer, run the following query while Temporal processes workflow
operations:
Confirm that the query returns the expected time series for each server role that processes requests.
Configuration reference
Configure one Temporal integration instance with the following settings. In Helm values, place these settings underconfig.integrations.temporal. In a Collector configuration file, place
them under cxdot.integrations.temporal.
Optional settings
-
enabledType:boolean. Optional. Default:true. Whether to enable this Temporal integration instance. If true, the Collector collects Temporal metrics. If false, the Collector doesn’t run this integration instance. -
endpointsType:array of object. Optional. Temporal server Prometheus endpoints to monitor. Specify a full HTTP or HTTPS URL, or usehost:portformat to request the/metricspath over HTTP. When this list contains an endpoint, the integration monitors only the listed endpoints and disables discovery through annotations for this integration instance. When the list is empty, the integration monitors endpoints supplied through Temporal annotations. -
endpoints[].endpointType:string. Required. Temporal server Prometheus endpoint as a full HTTP or HTTPS URL or inhost:portformat. Forhost:port, the Collector requests the/metricspath over HTTP. -
collection_intervalType:duration. Optional. Default:15s. How often the integration collects metrics from each Temporal endpoint. -
timeoutType:duration. Optional. Default:10s. Maximum time allowed to collect metrics from a Temporal endpoint during one interval. The value must be greater than zero. -
metricsType:object. Optional. Settings that control which Temporal metrics the integration collects and how it names them. -
metrics.includeType:array of string. Optional. Regular expressions for exposed metric names to collect in addition to the integration’s default metric set. -
metrics.excludeType:array of string. Optional. Regular expressions for exposed metric names to drop. Exclusions are applied before metric renaming and take precedence overinclude. -
metrics.renameType:object. Optional. Mapping of exposed metric names to new metric names. These mappings take precedence over the integration’s default metric names. -
labelsType:object. Optional. Settings that drop metric samples based on their label values. -
labels.sample_drop_rulesType:object. Optional. Drops a whole sample when one of its labels matches. Each key is a label name. The value is a list of regular expressions matched against the label’s value. To drop every sample the label appears on with a non-empty value, use".+".

