What gets exported
A metrics connection sends the following metrics:- Platform metrics: the request, latency, replica, CPU, and GPU metrics behind the Metrics tab. The exported metrics reference lists their names, types, and labels.
- Metrics your deployment exposes: the Prometheus metrics your deployment serves, such as vLLM and SGLang engine metrics and your own custom metrics. Baseten reads them from
/metricson the model’s serving port. To use another port or path, or to stop Baseten from collecting them, setmetrics_endpointinconfig.yamland create a new deployment.
source="b10-telemetry-export". If your deployment sets a label with one of these names, Baseten keeps your value under exported_<name>, such as exported_source.
Configure a connection
Each Baseten organization can have one metrics connection at a time, separate from the logs connection. The setting is organization-wide, so every team’s metrics go to the same endpoint. If your organization already has a metrics connection, edit it. Before you start, make sure you have organization admin access, your provider’s HTTPS OTLP/HTTP metrics URL, and the authentication header name and credential. Check which temporality your provider accepts. The integration notes list values for Honeycomb, Datadog, and Grafana Cloud. Use one of the supported endpoints to export platform metrics. Baseten includes platform metrics for existing deployments when the connection is active. To add a metrics connection:- Sign in to your workspace at app.baseten.co and choose General settings under Organization settings in the sidebar.
- In OTEL connections, choose Add connection.
- Choose Metrics.
-
For Endpoint URL, type the full HTTPS URL of your OTLP/HTTP metrics receiver, including the path (
/v1/metricsfor most receivers). - For Header name, type the HTTP header your provider uses to authenticate.
- For Header value, type the credential for that header. Baseten encrypts the value and keeps it hidden after you save it.
- For Temporality, select the option your provider accepts for counters and histograms. Cumulative sends running totals. Delta sends the change since the previous point.
- (Optional) Select Enroll existing deployments to collect engine and custom metrics from deployments created before you add the connection. Baseten automatically enrolls new deployments.
- (Optional) Choose Add header to send another header with each export request. For Header name and Header value in the new row, type the extra header’s name and value. You can add up to 3 headers.
- (Optional) For a supported endpoint, choose Test to send a synthetic metric without saving. Connection successful confirms that your receiver accepted the test request.
- Choose Save. For a supported endpoint, Baseten tests the connection before saving. If the test fails, check the error in the dialog, correct the values, and choose Save again. To keep the current values and skip the test, choose Save anyway.
Verify the connection
Use a deployment that can receive inference requests. To verify engine or custom metrics, use a deployment that exposes them and that Baseten has enrolled. If you skipped Enroll existing deployments when adding the connection, use a deployment you created after adding it. To verify delivery:- Send inference requests to the deployment you want to monitor.
- If your receiver is on a supported endpoint, search your observability backend for
baseten_inference_requests_totalwithsource="b10-telemetry-export". Filter bymodel_idanddeployment_idand check that new points arrive. - If your deployment exposes engine or custom metrics, search for one of those metrics with
source="b10-telemetry-export". Filter bymodel_idandmodel_version_idand check that new points arrive. For per-replica metrics, use thereplicaattribute to identify the replica that emitted the point.
Supported endpoints
Baseten supports platform metrics export and Test for receivers on the following provider domains and services:grafana.netdatadoghq.comdatadoghq.eunewrelic.comnr-data.nethoneycomb.iodynatrace.comelastic.coaxiom.cocoralogix.comlogz.iosignalfx.comsplunkcloud.comlightstep.comchronosphere.iosignoz.cloudsentry.io- Amazon CloudWatch
Manage the connection
To update a metrics connection:- Sign in to your workspace at app.baseten.co and choose General settings under Organization settings in the sidebar.
- In OTEL connections, choose Edit connection for the metrics connection.
- Update the fields you want to change. For Header value, type a new credential to rotate it or leave the field blank to keep the saved credential.
- Choose Save.
- Sign in to your workspace at app.baseten.co and choose General settings under Organization settings in the sidebar.
- In OTEL connections, choose Delete connection for the metrics connection.
- Type
Deletein the confirmation dialog. - Choose Delete connection to confirm.
Integration notes
The endpoint and header values below come from each vendor’s OTLP/HTTP documentation. Check those docs for the most current values for your account and region.- Honeycomb
- Datadog
- Grafana Cloud
Honeycomb accepts OTLP/HTTP at
https://api.honeycomb.io/v1/metrics (or a region-specific host such as https://api.eu1.honeycomb.io/v1/metrics). Authenticate with an ingest API key:If your account requires an x-honeycomb-dataset header, add it as an additional header in the connection. See Honeycomb’s OpenTelemetry metrics documentation for dataset routing.Use alongside the metrics endpoint
If you also scrape the organization metrics endpoint, the same platform metrics reach your backend twice. To avoid double counting, use one source per metric in each dashboard or alert. To select the metrics from this connection, filter onsource="b10-telemetry-export".