Skip to main content
Grafana Cloud’s Metrics Endpoint integration scrapes Baseten metrics without a collector running in your infrastructure.

Set up the integration

Create a metrics-only API key for the scrape job. To set up the integration:
  1. Sign in to your Grafana Cloud stack and open Connections.
  2. Find and select Metrics Endpoint. On its Configuration page, create a scrape job.
  3. Give the job a name such as baseten_metrics_scrape.
  4. Set the scrape job URL to https://app.baseten.co/metrics.
  5. Leave the scrape interval set to Every minute.
  6. Select Bearer for authentication credentials.
  7. Enter the API key as the token. Grafana adds the Bearer prefix.
  8. Choose Test Connection. Resolve any connection error before continuing.
  9. Choose Save Scrape Job to start collecting metrics.
  10. Choose Install to add the integration’s dashboard.
  11. Open Dashboards and select Metrics Endpoint Overview to check the scrape job’s status.
Collection starts when the job is saved; it doesn’t import historical metrics. Keep all scrape jobs within Baseten’s metrics rate limit.

Build a Grafana dashboard

Use the exported metrics reference to build panels for your deployment. You can also import the Baseten starter dashboard:
  1. Download the starter dashboard JSON.
  2. On the Dashboards page, select New > Import dashboard.
  3. Upload the JSON file and select your Grafana Cloud Prometheus data source for its panels.
  4. Select Import to create the dashboard.
The starter includes a fixed data source ID. Replace it with your stack’s data source if the imported panels show no data.