Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.63 KB

File metadata and controls

30 lines (20 loc) · 1.63 KB

Knative Monitoring

This repository contains Grafana Dashboards and Prometheus Scraping configurations to monitor Knative.

It has been tested with the following configuration:

Also, kube-state-metrics doesn't export all labels by default which means you must pass the following argument:

- --metric-labels-allowlist=pods=[*],deployments=[app.kubernetes.io/name,app.kubernetes.io/component,app.kubernetes.io/instance]

Once kube-state-metrics has been adjusted, you will need to deploy the following servicemonitors and import the dashboards in the config folder.

kubectl apply -f https://raw.githubusercontent.com/knative-extensions/monitoring/refs/heads/main/config/serving-monitors.yaml
kubectl apply -f https://raw.githubusercontent.com/knative-extensions/monitoring/refs/heads/main/config/eventing-monitors.yaml

This repo uses the jsonnet config language to make things configurable. Visit https://github.com/google/jsonnet to install the CLI.

This repository takes influence from: