Documentation Index
Fetch the complete documentation index at: https://docs.microsandbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
This recipe ships data emitted by
msb-metrics.
See the msb-metrics page for the flag reference, metric names, and
deployment constraints.otlp-gateway-prod-<region>.grafana.net. msb-metrics ships directly
to it using HTTP/Protobuf and Basic auth.
Get your OTLP endpoint and credentials
In the Grafana Cloud admin console, open My Account → Connections
→ OpenTelemetry. Copy three values:
- Endpoint URL (looks like
https://otlp-gateway-prod-us-east-2.grafana.net/otlp) - Instance ID (a numeric instance identifier)
- API token with scope
metrics:write(create one if you don’t already have it)
Build the Basic auth header
Grafana Cloud’s OTLP gateway uses HTTP Basic auth, where the
username is your instance ID and the password is the API token.
Run msb-metrics
/otlp, append /v1/metrics for this HTTP
metrics-only exporter.Production: prefer Grafana Alloy
For long-running deployments, pointmsb-metrics at a local
Grafana Alloy
instance instead of the OTLP gateway directly. Alloy handles
batching, retries, credential rotation, and buffering through Grafana
Cloud hiccups without touching msb-metrics.