Skip to content

Commit fe7c1b2

Browse files
authored
feat(SPRE-1697) http metrics (#7382)
adding new metric
1 parent 852c56f commit fe7c1b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/monitoring/prometheus/base/monitoringstack/monitoringstack.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ spec:
267267
- '{__name__="code:apiserver_request_total:rate5m"}'
268268
- '{__name__="instance:apiserver_request_total:rate5m"}'
269269
- '{__name__="prometheus_ready"}'
270+
- '{__name__="code:http_request_duration_seconds_sum:rate5m"}'
271+
- '{__name__="code:http_request_duration_seconds_bucket:rate5m"}'
272+
- '{__name__="code:http_requests_total:rate5m"}'
273+
- '{__name__="process_cpu_seconds_total", job="apiserver"}'
270274

271275
relabelings:
272276
# override the target's address by the prometheus-k8s service name.

0 commit comments

Comments
 (0)