diff --git a/observability/developer-metrics/serverless-monitoring-services-default-metrics.adoc b/observability/developer-metrics/serverless-monitoring-services-default-metrics.adoc index 5620190ede68..e3e8967dcba9 100644 --- a/observability/developer-metrics/serverless-monitoring-services-default-metrics.adoc +++ b/observability/developer-metrics/serverless-monitoring-services-default-metrics.adoc @@ -5,95 +5,6 @@ include::_attributes/common-attributes.adoc[] :context: serverless-monitoring-services-default-metrics -.Metrics exposed by default for each Knative service on port 9090 -[options=header] -|=== - -|Metric name, unit, and type |Description |Metric tags - -// New row -|`queue_requests_per_second` - -Metric unit: dimensionless - -Metric type: gauge -|Number of requests per second that hit the queue proxy. - -Formula: `stats.RequestCount / r.reportingPeriodSeconds` - -`stats.RequestCount` is calculated directly from the networking `pkg` stats for the given reporting duration. -|destination_configuration="event-display", -destination_namespace="pingsource1", -destination_pod="event-display-00001-deployment-6b455479cb-75p6w", -destination_revision="event-display-00001" - -// New row -|`queue_proxied_operations_per_second` - -Metric unit: dimensionless - -Metric type: gauge -|Number of proxied requests per second. - -Formula: `stats.ProxiedRequestCount / r.reportingPeriodSeconds` - -`stats.ProxiedRequestCount` is calculated directly from the networking `pkg` stats for the given reporting duration. -| - -// New row -|`queue_average_concurrent_requests` - -Metric unit: dimensionless - -Metric type: gauge -a|Number of requests currently being handled by this pod. - -Average concurrency is calculated at the networking `pkg` side as follows: - -* When a `req` change happens, the time delta between changes is calculated. Based on the result, the current concurrency number over delta is computed and added to the current computed concurrency. Additionally, a sum of the deltas is kept. -+ -Current concurrency over delta is computed as follows: -+ -`global_concurrency` × delta - -* Each time a reporting is done, the sum and current computed concurrency are reset. - -* When reporting the average concurrency the current computed concurrency is divided by the sum of deltas. - -* When a new request comes in, the global concurrency counter is increased. When a request is completed, the counter is decreased. -|destination_configuration="event-display", -destination_namespace="pingsource1", -destination_pod="event-display-00001-deployment-6b455479cb-75p6w", -destination_revision="event-display-00001" - -// New row -|`queue_average_proxied_concurrent_requests` - -Metric unit: dimensionless - -Metric type: gauge -|Number of proxied requests currently being handled by this pod: - -`stats.AverageProxiedConcurrency` -|destination_configuration="event-display", -destination_namespace="pingsource1", -destination_pod="event-display-00001-deployment-6b455479cb-75p6w", -destination_revision="event-display-00001" - -// New row -|`process_uptime` - -Metric unit: seconds - -Metric type: gauge -|The number of seconds that the process has been up. -|destination_configuration="event-display", -destination_namespace="pingsource1", -destination_pod="event-display-00001-deployment-6b455479cb-75p6w", -destination_revision="event-display-00001" - -|=== - .Metrics exposed by default for each Knative service on port 9091 [options=header] |===