Comprehensive Prometheus-based monitoring for Bifrost Gateway with custom metrics and labels.
/metrics
endpointx-bf-prom-*
headersMetric | Type | Description | Labels |
---|---|---|---|
http_requests_total | Counter | Total number of HTTP requests | path , method , status , custom labels |
http_request_duration_seconds | Histogram | Duration of HTTP requests | path , method , status , custom labels |
http_request_size_bytes | Histogram | Size of incoming HTTP requests | path , method , status , custom labels |
http_response_size_bytes | Histogram | Size of outgoing HTTP responses | path , method , status , custom labels |
Metric | Type | Description | Labels |
---|---|---|---|
bifrost_upstream_requests_total | Counter | Total requests forwarded to upstream providers | target , method , custom labels |
bifrost_upstream_latency_seconds | Histogram | Latency of upstream provider requests | target , method , custom labels |
target
: Provider and model (e.g., openai/gpt-4o-mini
)method
: Request type (chat
, text
, embedding
, speech
, transcription
)path
: HTTP endpoint pathstatus
: HTTP status codehttp://localhost:8080
x-bf-prom-*
headers:
x-bf-prom-
/metrics