Skip to main content
Working with this resource via an AI agent? Datum publishes a Metrics Export skill that teaches agents the canonical patterns for this resource.
Datum collects metrics from the services in your project and keeps them in your project’s metrics store. The Cloud Portal charts them on each resource’s pages. To see them next to your other metrics, export them to Grafana Cloud or any other endpoint that accepts Prometheus remote write.

What Datum measures

Metrics come in two kinds:
  • Traffic and usage metrics measure what your resources are doing, such as requests per second or CPU time. Their names start with the component that records them, such as envoy_ for load balancer traffic, coraza_ for the firewall, and datum_compute_instance_ for Instance CPU and memory.
  • Status metrics report the state of your resources, such as whether a load balancer is programmed or a domain is verified. They follow a consistent pattern, so once you know one, you know them all:

Labels on every series

Queries use MetricsQL, which also accepts standard PromQL.

Export with the Cloud Portal

You can set up an export policy in the Datum Cloud portal. Go to the project of your choice, find the Metrics tab, and follow the instructions.
Grafana Access

Step 1: Provide the Grafana instance URL

Grafana Finish Setup

Step 2: Configure your export policy

Export with datumctl

An ExportPolicy defines:
  • Sources, which select the metrics to export. A source with no metrics selects everything in your project. A source with a MetricsQL selector exports only the matching series.
  • Sinks, which send the selected sources to a Prometheus remote-write endpoint.
1

Store your credentials in a Secret

Create a Secret with the credentials for your endpoint. For Grafana Cloud, the username is your instance ID and the password is an access token with permission to write metrics.
2

Create the export policy

This policy exports only load balancer traffic and firewall metrics. To export everything, remove the metrics field from the source.
Replace endpoint with your own remote-write URL. Every field under batch and retry is required.
3

Check that it's exporting

Check each sink’s conditions in status.sinks. The policy can report Programmed while one of its sinks is failing, for example because of wrong credentials.

Datum dashboards in Grafana Cloud

To add prebuilt Datum dashboards in Grafana Cloud, go to Dashboards, select New dashboard, then select Import dashboard. Load the Datum dashboards using the following Grafana IDs.

Datum Overview

Grafana ID: 23939 Provides real-time visibility into your load balancers, including:
  • Total HTTP proxies, hostnames, and domains
  • Upstream requests per second (RPS) by region
  • Global response codes and latency percentiles
  • Domain and proxy health status

Datum Proxy

Grafana ID: 24261 Offers a real-time view of one load balancer’s hostnames and regional traffic, including:
  • Regional RPS and upstream response codes
  • Latency percentiles (p50, p90, p99)
  • Domain and proxy status
For additional help, consult the Grafana Cloud documentation.
Last modified on October 23, 2026