diff --git a/website/docs/metrics.md b/website/docs/metrics.md index d3b1c16f93b..fc3f6bf44ec 100644 --- a/website/docs/metrics.md +++ b/website/docs/metrics.md @@ -80,6 +80,8 @@ In the excerpt above, notice `templateRunTimeNS` and `constraintCount`. The form The additional log volume from enabling the stats logging can be quite high. ## Metrics +> If you are using a Prometheus client library, for counter metrics, the _total suffix is recommended and sometimes automatically appended by client libraries to indicate that the metric represents a cumulative total. + Below are the list of metrics provided by Gatekeeper: ### Constraint @@ -164,7 +166,7 @@ Below are the list of metrics provided by Gatekeeper: Aggregation: `Distribution` -- Name: `gatekeeper_mutation_request_count` +- Name: `gatekeeper_mutation_request_count ` Description: `The number of requests that are routed to mutation webhook` diff --git a/website/versioned_docs/version-v3.15.x/metrics.md b/website/versioned_docs/version-v3.15.x/metrics.md index d3b1c16f93b..fc3f6bf44ec 100644 --- a/website/versioned_docs/version-v3.15.x/metrics.md +++ b/website/versioned_docs/version-v3.15.x/metrics.md @@ -80,6 +80,8 @@ In the excerpt above, notice `templateRunTimeNS` and `constraintCount`. The form The additional log volume from enabling the stats logging can be quite high. ## Metrics +> If you are using a Prometheus client library, for counter metrics, the _total suffix is recommended and sometimes automatically appended by client libraries to indicate that the metric represents a cumulative total. + Below are the list of metrics provided by Gatekeeper: ### Constraint @@ -164,7 +166,7 @@ Below are the list of metrics provided by Gatekeeper: Aggregation: `Distribution` -- Name: `gatekeeper_mutation_request_count` +- Name: `gatekeeper_mutation_request_count ` Description: `The number of requests that are routed to mutation webhook`