/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
cloud/disk_manager/internal/pkg/monitoring/metrics/interface.go
34 строки
894 B
Mikhail Montsev
issue-1246: cloud/tasks should not depend on library/go/core/metrics (#1247)
23 май 2024, 14:23
Не верифицирован
23 май 2024, 14:23
d928066
Код
Авторство
О чём код?
package metrics import ( "net/http" "github.com/ydb-platform/nbs/cloud/tasks/metrics" ) //////////////////////////////////////////////////////////////////////////////// type NewRegistryFunc = func(mux *http.ServeMux, path string) Registry //////////////////////////////////////////////////////////////////////////////// type Gauge = metrics.Gauge type FuncGauge = metrics.FuncGauge type IntGauge = metrics.IntGauge type FuncIntGauge = metrics.FuncIntGauge type Counter = metrics.Counter type FuncCounter = metrics.FuncCounter type Histogram = metrics.Histogram type Timer = metrics.Timer type DurationBuckets = metrics.DurationBuckets type Buckets = metrics.Buckets type GaugeVec = metrics.GaugeVec type IntGaugeVec = metrics.IntGaugeVec type CounterVec = metrics.CounterVec type TimerVec = metrics.TimerVec type HistogramVec = metrics.HistogramVec type Registry = metrics.Registry