Skip to main content

Send predictions to Grafana Cloud

A Grafana Cloud destination pushes link SNR forecasts and workflow results into your stack's Prometheus as metrics, over OpenTelemetry (OTLP), as the API serves them. Chart them with the ready-made dashboard.

Send predictions out lists which forecasts a destination receives and how many destinations an account can have.

What you need​

SettingWhere to find it
OTLP endpointIn Grafana Cloud, your stack, then Connections, then OpenTelemetry (OTLP). For example https://otlp-gateway-prod-us-east-3.grafana.net/otlp.
Instance IDThe same page. It is your stack's numeric ID.
Access tokenCreate it on the same page with the metrics:write scope.

The endpoint must be https on grafana.net. It works with or without the trailing /otlp.

Connect​

  1. Open Integrations, Results out in the Platform, choose Add connection, then Grafana Cloud. Paste the environment variables Grafana shows when it generates the token, or choose Enter them separately and fill in the OTLP endpoint, instance ID, and access token.
  2. Choose Connect. Constellation first writes a check metric, constellation_destination_check, to your stack. If Grafana refuses it, the form says why and nothing is added; fix the value and choose Connect again.
  3. Once the check is accepted, the destination is added as Connected. It turns Live once a delivery reaches it.

The token is write-only: Constellation never shows it again. Its detail shows it as Set; choose Replace to paste a new one and Save. Any other setting is changed the same way, and Save checks the new settings before keeping them.

Use Send a test on a connected destination to send another check at any time, and Pause to stop deliveries for a while.

View the dashboard​

The dashboard is in your own Grafana Cloud stack, not in the Platform. Import the Constellation dashboard once to chart the metrics.

  1. On Integrations, Results out, open your Grafana Cloud row and choose Download dashboard to save constellation-fleet.json.
  2. In Grafana Cloud, open your stack, then Dashboards > New > Import, and upload the file.
  3. When asked for Prometheus, pick your stack's Prometheus data source, usually named grafanacloud-<stack>-prom.

From then on, open Dashboards in your stack and choose Constellation fleet.

The dashboard refreshes every minute and shows:

PanelAnswers
At a glanceHow many links are forecast under 6 dB (p10) or within 3 dB of it in the next 5 minutes, the worst link margin and which link it is, and how old the newest forecast is (red after 15 minutes).
Fade watchEvery link, weakest first, with the p10 forecast at +1, +3 and +5 minutes (the first red cell is when it crosses 6 dB), the median, and the p90 to p10 spread.
SNR outlookOne row per link over time, colored by its weakest p10 forecast: red under 6 dB, amber within 3 dB of it, green clear.
Forecast confidenceHow wide the bands are per horizon, and which model versions served the forecasts.
Link drill-downCollapsed. p50 inside the p10 to p90 band for each selected link, with the 6 dB threshold shaded.
Delivery healthCollapsed. Forecast points received per interval and the latest connection check.

Filter by Link; it defaults to All. Each point is the forecast issued at that time for that many minutes ahead.

Metrics​

MetricUnitLabels
constellation_link_snr_dbdBentity_id, quantile (p10, p50, p90), horizon_minutes (1, 3, 5), model_version
constellation_workflow_valuethe output column's unitworkflow, version, column, quantile (p10, p50, p90, or empty), entity (the item's entity id). Stamped when the run was delivered.
constellation_destination_checknoneWritten on connect and on Test.

All three are gauges. entity_id is the link ID, as in Predictions.

# Weakest p10 SNR per link over the next 5 minutes
min by (entity_id) (last_over_time(constellation_link_snr_db{quantile="p10"}[10m]))

# Links forecast under 6 dB
count(min by (entity_id) (last_over_time(constellation_link_snr_db{quantile="p10"}[10m])) < 6)

Series count​

Grafana Cloud bills by active series. Each link adds 9 series (3 quantiles at 3 horizons). A fleet of 100 links is about 900 series. A new model_version adds a new set, because it is a label. Check the limit on your Grafana Cloud plan.

Troubleshooting​

SymptomCause and fix
Failing: "Grafana rejected the token"Grafana answered 401 or 403: the token is wrong, expired, or lacks metrics:write. Create a new token, remove the destination, and connect again.
Failing: "OTLP endpoint not found"Grafana answered 404: the endpoint is for another region than your stack. Copy it again from the OpenTelemetry (OTLP) page.
Live, but panels say no forecastsDestinations send only the latest SNR forecasts read by link_ids, and never for links of the demo fleet. Read them with GET /predictions?model_family=snr&link_ids=... (see Predictions) or through an agent, and check that your links have recent telemetry: a link without it gets an entity_errors entry, not a metric. Forecasts read by at are not sent.
Gaps in the linesPrometheus treats a gauge as stale five minutes after its last sample, so gaps appear when nothing requested a forecast. Time-series panels join gaps of up to 5 minutes (link drill-down) or 15 minutes (SNR uncertainty by horizon).
The Link list is emptyNo series of that metric exists yet in the selected time range. Widen the range or serve a forecast first.
Delivery to destinations is not on your account yetDestinations are not turned on for your account. Read forecasts from the API instead.

To stop deliveries, choose Delete connection on the destination. Revoking the token in Grafana Cloud also stops them; the destination then shows Failing.