Add controller prometheus metrics
- Dominant language
- Python
- Stars
- 324
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
In #689 we added support to optionally configure `ServiceMonitor` and `PodMonitor` resources for Prometheus to track Dask components.
It would be nice if the controller Pod also exported some metrics to Prometheus via a `PodMonitor`. Looks like there is an example of how to do this in https://github.com/nolar/kopf/issues/289#issuecomment-732685543.
Contributor guide
Research direction
Start by reading issue #689 and the linked Kopf example, then inspect how the controller Pod and existing ServiceMonitor/PodMonitor resources are configured. Done means the controller Pod exposes metrics to Prometheus through a PodMonitor, consistent with the optional monitoring support described here.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, prometheus, python
- Domain
- devops, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100