forked from ydb-platform/ydb-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.go
45 lines (42 loc) · 730 Bytes
/
const.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package metrics
const (
MetricEndpointFormat = "/counters/counters=%s/prometheus"
)
var storageMetricsServices = []string{ // NB dashes are not allowed in the metric service name
"ydb",
"auth",
"coordinator",
"dsproxy_queue",
"dsproxy",
"grpc",
"pdisks",
"processing",
"proxy",
"followers",
"storage_pool_stat",
"tablets",
"utils",
"dsproxynode",
"interconnect",
"vdisks",
}
var databaseMetricsServices = []string{ // NB dashes are not allowed in the metric service name
"ydb",
"ydb_serverless",
"auth",
"coordinator",
"dsproxy_queue",
"dsproxy",
"grpc",
"kqp",
"processing",
"proxy",
"followers",
"storage_pool_stat",
"streaming",
"tablets",
"utils",
"yql",
"dsproxynode",
"interconnect",
}