prometheus-operator / poctl

[EXPERIMENTAL] Manage, troubleshoot and validate Prometheus-Operator resources via Command Line Interface!
Apache License 2.0
18 stars 2 forks source link

Implement Analyze Prometheus command #29

Closed nicolastakashi closed 3 months ago

nicolastakashi commented 3 months ago

Currently, poctl supports analyzing ServiceMonitors and the Prometheus Operator to ensure that objects comply with a set of rules. It would be great to extend this capability to Prometheus objects as well, allowing us to apply rules such as:

  1. Verify if Prometheus RBAC is correctly configured.
  2. Check if Prometheus is selecting monitoring objects, such as Pods, ServiceMonitors, and ScrapeConfigs, if any exist.
  3. Ensure Prometheus is selecting rules if they exist.
ArthurSens commented 3 months ago

duplicate of #25 ?

nicolastakashi commented 3 months ago

Super true 🤦🏽