Merge remote-tracking branch 'origin/instrument-metrics' into instrument-metrics

# Conflicts:
#	pkg/client/metrics/metrics.go
This commit is contained in:
Vivek Kumar 2024-06-17 11:23:36 +05:30
commit 34c2e3ebd3
No known key found for this signature in database
GPG key ID: 81605FDFBA4EF440

View file

@ -46,7 +46,7 @@ var (
[]string{"path", "server"}, []string{"path", "server"},
) )
// define a counter for API errors for various ErrorTypes // define a counter for api requests
apiRequestsTotal = metrics.NewCounterVec( apiRequestsTotal = metrics.NewCounterVec(
&metrics.CounterOpts{ &metrics.CounterOpts{
Namespace: "prometheus_adapter", Namespace: "prometheus_adapter",