You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add quantiles to request metrics, correct metric postfix
...the new summary collector will expose the metrics with three names:
http_server_requests_seconds(_sum|_count)?, making the former counter
metric redundant and making the metric names more consistent with
conventions. Leaving in a "legacy" metric collector to avoid breaking existing monitoring
and alerting setups that depend on the metric with postfix "_sum_sum".
Help: "Number of incoming HTTP requests processed, partitioned by status code, method and HTTP path (grouped by patterns).",
22
+
requestSummary=prometheus.NewSummaryVec(
23
+
prometheus.SummaryOpts{
24
+
Name: requestSummaryName,
25
+
Help: "Request counts, durations, accumulated and in quantiles, partitioned by method, \"outcome\", status code, and HTTP path (grouped by patterns).",
Help: "How long it took to process requests, partitioned by status code, method and HTTP path (grouped by patterns).",
35
+
Name: requestSummaryLegacyName,
36
+
Help: "(Legacy, replaced by \"http_server_requests_seconds(_sum|_count)?\") Accumulated request durations and counts partitioned by method, \"outcome\", status code, and HTTP path (grouped by patterns).",
0 commit comments