mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: add prefix to standalone metrics (#27526)
Adds `coder_ai_gateway_` to standalone Gateway metics to match embedded case.
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
var baseLabels = []string{"provider", "model"}
|
||||
|
||||
const (
|
||||
PrometheusMetricPrefix = "coder_ai_gateway_"
|
||||
|
||||
InterceptionCountStatusFailed = "failed"
|
||||
InterceptionCountStatusCompleted = "completed"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user