Skip to content

knative-extensions/monitoring

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:

About

Monitoring support for Knative

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12