Monitoring Temporal Cloud with ClickStack

This post details the integration of Temporal Cloud's OpenMetrics endpoint with ClickStack, a cloud-native observability stack built on ClickHouse. It explains how to configure the OpenTelemetry Collector to scrape metrics from Temporal Cloud using a Prometheus receiver and a Temporal Cloud API Key. The configuration includes setting up the `prometheus/temporal` receiver with specific scrape configurations targeting `metrics.temporal.io` and using a bearer token for authorization. It also outlines the use of a resource processor to set the `service.name` attribute to 'temporal' and the pipeline configuration to route metrics to the ClickHouse exporter. The post highlights the benefits of unified observability for teams already using ClickStack, enabling them to monitor Workflow success rates, Action consumption, and Task Queue backlogs.