Documentation Update Proposal: Accessing Trivy Operator Metrics through a Grafana Dashboard #997
Unanswered
02fa
asked this question in
Help & Support
Replies: 2 comments 1 reply
-
|
@AnaisUrlichs fyi |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@Wang-W-e-i thank you for the details and the feedback! We try to add tutorials to the docs that are representative of longer YouTube tutorials -- did you see this one on Prometheus and Grafana with Trivy? https://aquasecurity.github.io/trivy-operator/v0.11.1/tutorials/grafana-dashboard/ Let us know if there is anything in the docs that you think we can/should improve 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm proposing to update docs / tutorials / grafana-dashboard.md for readability and consistency of examples.
In addition, with changes in service/trivy-operator exposure (ClusterIP vs. LoadBalancer), the tutorial fails at me, starting from line 137
kubectl port-forward service/trivy-operator -n trivy-system 5000:80.My challenge could be that my cluster doesn't have any LoadBalancer objects ATM.
Q1: How the tutorial would look like with the new way of exposing service/trivy-operator? Shall it be updated to include the requirement to have a valid LoadBalancer object or something?
Q2: It could be related to Q1, but Prometheus cannot discover serviceMonitor, created by trivy-operator. I can read metrics, produced by trivy-operator's end point (
kubectl get ep -ntrivy-system), but nothing else. How could I make Prometheus aware of these metrics, please?Beta Was this translation helpful? Give feedback.
All reactions