Skip to content

Commit

Permalink
[fix] - docs
Browse files Browse the repository at this point in the history
Signed-off-by: Hélia Barroso <[email protected]>
  • Loading branch information
heliapb committed Dec 21, 2024
1 parent d043d41 commit b1acd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/commands/analyze/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ The Prometheus Agent server requires proper RBAC (Role-Based Access Control) rul

Since Prometheus Agent just reads Objects in the Kubernetes API, it requires the get, list, and watch actions. As Prometheus Agent can also be used to scrape metrics from the Kubernetes apiserver, it also requires access to the /metrics/ endpoint of it. In addition to the rules for Prometheus Agent itself, the Prometheus Agent needs to be able to get configmaps to be able to pull in rule files from configmap objects.

### Prometheus Agent Namespace Selectors and Service Selectors
### Prometheus Agent Namespace Selectors and Monitors Selectors

The Prometheus Agent server relies on proper service discovery to function correctly. To achieve this, we must ensure that any defined Namespace Selector corresponds to an existing namespace. Similarly, for Service Selectors, it is crucial that they align with existing resources. Whether using ServiceMonitor, PodMonitor, ScrapeConfig or Probe, the respective Custom Resource (CR) must exist and be properly matched.

0 comments on commit b1acd72

Please sign in to comment.