thoughtbot / thoughtbot/flightdeck

Record starting kube stats metrics

Open
#234 0 comments 0 reactions 1 assignee View on GitHub

@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 with kube_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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.