diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/knative/api_resources.yml | 8 | ||||
-rw-r--r-- | config/prometheus/common_metrics.yml | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/config/knative/api_resources.yml b/config/knative/api_resources.yml index 43427b730db..095f44ed799 100644 --- a/config/knative/api_resources.yml +++ b/config/knative/api_resources.yml @@ -61,4 +61,10 @@ - virtualservices.networking.istio.io - rbacconfigs.rbac.istio.io - servicerolebindings.rbac.istio.io -- serviceroles.rbac.istio.io
\ No newline at end of file +- serviceroles.rbac.istio.io +- cloudwatches.config.istio.io +- clusterrbacconfigs.rbac.istio.io +- dogstatsds.config.istio.io +- ingresses.networking.internal.knative.dev +- sidecars.networking.istio.io +- zipkins.config.istio.io diff --git a/config/prometheus/common_metrics.yml b/config/prometheus/common_metrics.yml index 08504d6f7d5..795243fab49 100644 --- a/config/prometheus/common_metrics.yml +++ b/config/prometheus/common_metrics.yml @@ -209,6 +209,6 @@ panel_groups: weight: 1 metrics: - id: system_metrics_knative_function_invocation_count - query_range: 'floor(sum(rate(istio_revision_request_count{destination_configuration="%{function_name}", destination_namespace="%{kube_namespace}"}[1m])/3))' + query_range: 'sum(ceil(rate(istio_requests_total{destination_service_namespace="%{kube_namespace}", destination_app=~"%{function_name}.*"}[1m])*60))' label: invocations / minute unit: requests |