52
52
prometheus.CounterOpts {
53
53
Namespace : namespace ,
54
54
Subsystem : subsystem ,
55
- Name : "rejectedRequests " ,
55
+ Name : "rejected_requests " ,
56
56
Help : "Number of rejected requests by api priority and fairness system" ,
57
57
},
58
58
[]string {priorityLevel , "reason" },
61
61
prometheus.GaugeOpts {
62
62
Namespace : namespace ,
63
63
Subsystem : subsystem ,
64
- Name : "currentInqueueRequests " ,
64
+ Name : "current_inqueue_requests " ,
65
65
Help : "Number of requests currently pending in the queue by the api priority and fairness system" ,
66
66
},
67
67
[]string {priorityLevel },
70
70
prometheus.HistogramOpts {
71
71
Namespace : namespace ,
72
72
Subsystem : subsystem ,
73
- Name : "requestQueueLength " ,
73
+ Name : "request_queue_length " ,
74
74
Help : "Length of queue in the api priority and fairness system" ,
75
75
Buckets : queueLengthBuckets ,
76
76
},
80
80
prometheus.GaugeOpts {
81
81
Namespace : namespace ,
82
82
Subsystem : subsystem ,
83
- Name : "requestConcurrencyLimit " ,
83
+ Name : "request_concurrency_limit " ,
84
84
Help : "Shared concurrency limit in the api priority and fairness system" ,
85
85
},
86
86
[]string {priorityLevel },
89
89
prometheus.GaugeOpts {
90
90
Namespace : namespace ,
91
91
Subsystem : subsystem ,
92
- Name : "currentExecutingRequests " ,
92
+ Name : "current_executing_requests " ,
93
93
Help : "Number of requests currently executing in the api priority and fairness system" ,
94
94
},
95
95
[]string {priorityLevel },
98
98
prometheus.HistogramOpts {
99
99
Namespace : namespace ,
100
100
Subsystem : subsystem ,
101
- Name : "request_wait_durationSeconds " ,
101
+ Name : "request_wait_duration_seconds " ,
102
102
Help : "Length of time a request spent waiting in its queue" ,
103
103
Buckets : requestDurationSecondsBuckets ,
104
104
},
@@ -108,7 +108,7 @@ var (
108
108
prometheus.HistogramOpts {
109
109
Namespace : namespace ,
110
110
Subsystem : subsystem ,
111
- Name : "requestExecutionSeconds " ,
111
+ Name : "request_execution_seconds " ,
112
112
Help : "Time of request executing in the api priority and fairness system" ,
113
113
Buckets : requestDurationSecondsBuckets ,
114
114
},
0 commit comments