Back to Browse

Viewing Trivy Operator Metrics in Grafana -- FULL TUTORIAL

5.9K views
Jan 11, 2023
21:20

In this tutorial, we are going to show you how you can view metrics from your Trivy Operator Security Report directly in Grafana and Prometheus. You can find the written tutorial with all of the commands here: https://github.com/AnaisUrlichs/trivy-operator/blob/grafana/docs/tutorials/grafana-dashboard.md This tutorial walks you through - Setting up the Trivy Operator Helm Chart with ServiceMonitors enabled - Installing the kub-prometheus-stack Helm Chart to access Prometheus and Grafana - Querying metrics through Prometheus - Using one of the Trivy Operator Dashboard in Grafana - Showing a theoretical diagram of how it all works together Resources 📚 The Trivy Operator Helm Chart: https://aquasecurity.github.io/trivy-operator/v0.10.1/getting-started/installation/helm/ The kube-prometheus stack Helm Chart: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack The Operator Dashboard in Grafana: https://grafana.com/grafana/dashboards/17813-trivy-operator-dashboard/ The projects are available on GitHub: https://github.com/aquasecurity Join our Slack community: https://slack.aquasec.com ⭐Give our projects a star on GitHub⭐ ⏱️Timestamp⏱️ 00:00 - Intro 02:28 - Installing the kube-prometheus-stack Helm Chart 06.05 - Installing the Trivy Operator Helm Chart 08:49 - Viewing the Trivy Operator metrics on the service 10:05 - Querying metrics through PromQL in Prometheus 11:19 - Setting up the Trivy Operator Dashbaord in Grafana 13:50 - Diagram how it all works together 20:34 - Outro

Download

1 formats

Video Formats

360pmp442.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Viewing Trivy Operator Metrics in Grafana -- FULL TUTORIAL | NatokHD