thoughtbot / thoughtbot/flightdeck
Record starting kube stats metrics
Open
@clarissalimab is already working on this.
Since Jul 18, 2025.
enhancement
- Dominant language
- HCL
- Stars
- 100
- Forks
- 11
- Avg merge
- 7h 37m
- Merged PRs (30d)
- 3
Description
We have access to cluster's metrics through the kube-prometheus-stack-kube-state-metrics Prometheus instance that should be available on the kube-prometheus-stack namespace.
Federated Prometheus is already configured to scrape metrics from the kube state metrics service, but since it filters out metrics that are not aggregated, we need to:
- Aggregate some starting kube metrics into a
kube:recording rule - I'm thinking we could start withkube_pod_container_status_restarts_total, which is what the KubePodCrashLooping alert is based on - Update Federated Prometheus' filtering to match against
kube:recording rules
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.