Working with this resource via an AI agent? Datum publishes a Metrics Export skill that teaches agents the canonical patterns for this resource.
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, anddatum_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.
Step 1: Provide the Grafana instance URL

Step 2: Configure your export policy
Export with datumctl
AnExportPolicy defines:
- Sources, which select the metrics to export. A source with no
metricsselects 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 Replace
metrics field from the source.endpoint with your own remote-write URL. Every field under batch and retry is required.3
Check that it's exporting
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