How to export metrics
Export metrics to Prometheus
Export metrics from Baseten to Prometheus
Exporting metrics is in beta mode.
To integrate with Prometheus, specify the Baseten metrics endpoint in a scrape config. For example:
prometheus.yml
global:
scrape_interval: 60s
scrape_configs:
- job_name: 'baseten'
metrics_path: '/metrics'
authorization:
type: "Api-Key"
credentials: "{BASETEN_API_KEY}"
static_configs:
- targets: ['app.baseten.co']
scheme: https
See the Prometheus docs for more details on getting started and configuration options.