The builder's path
For: Engineers monitoring Kubernetes can't join container metrics and pod metrics when the pod label has a different name in each source without writing awkward label_replace rules.
“The unexamined life is not worth living.”
ὁ δὲ ἀνεξέταστος βίος οὐ βιωτὸς ἀνθρώπῳ
Written for this problem
Start with people writing Prometheus queries or alerts that combine cAdvisor container metrics with kube-state-metrics pod metrics in Kubernetes.. The sources leave these open:
The join syntax discussion happens here, and maintainers can say what was rejected and why.
Start from what is already published.
Build a small, documented join pattern or wrapper that declares once which pod label name each source uses, so queries read as a single join without label_replace. Test it against real cAdvisor and kube-state-metrics output from a sample cluster.
Write a tool that scans existing alert and recording rules for label_replace joins between cAdvisor and kube-state-metrics, and suggests a readable equivalent. Measure how many rules a team has before and after to show the cost of the workaround.
It is solved when: A person can join two metrics with different label names in one readable query, without label_replace and without changing the stored metrics.
Routes to a solution
Each route is a different kind of journey, with real people and organisations to contact at each step, starting with those in every country.
Step 1
Build in the open
Publish the code and invite contributors from the community.
Let the people a free tool helps fund its maintainer directly.
Raise and spend money in the open for a community project.
Grants for open source that makes the internet better.
Network of civic tech groups in many countries; find the one near the problem.
Step 2
Fund the maintainers
Sponsors, collectives and open source grants.
Let the people a free tool helps fund its maintainer directly.
Raise and spend money in the open for a community project.
Grants for open source that makes the internet better.
Network of civic tech groups in many countries; find the one near the problem.
Step 3
Get it adopted
Civic tech groups and public bodies take it up.
Y Combinator's free course and co-founder matching.
Raise and spend money in the open for a community project.
Network of civic tech groups in many countries; find the one near the problem.
Volunteer data scientists working with social-sector organisations.
Ideas, sources and tools for this problem, from first interviews to funding.
Official reference for label_replace and the existing PromQL functions this problem depends on.
Source of the pod metrics and label names that differ from cAdvisor labels.
The join syntax discussion happens here, and maintainers can say what was rejected and why.
This group owns kube-state-metrics and can say whether exporter label names are likely to change.
Starter prompt
Built from this problem's brief. Paste it into Claude or any AI assistant.
Help me design and build a first working prototype for this problem in Anywhere. Problem: Engineers monitoring Kubernetes can't join container metrics and pod metrics when the pod label has a different name in each source without writing awkward label_replace rules. Who it hurts: People writing Prometheus queries or alerts that combine cAdvisor container metrics with kube-state-metrics pod metrics in Kubernetes. The moment it hurts: A query that should match container data to pod data returns nothing or needs a hard-to-read label_replace workaround. What people do today: Users write label_replace calls in dozens of alerts and ad-hoc queries, or add metric_relabel_configs rules that change the stored metrics. Why it is still unsolved: The source shows that exporters are slow to change their label names, and the team did not agree on a new join syntax because it would make matching more complicated. What solved looks like: A person can join two metrics with different label names in one readable query, without label_replace and without changing the stored metrics. Where: Anywhere First, list what you would need to learn from the people affected before building, as interview questions. Then propose the simplest version that would help, the screens or messages it needs, and the data it would use. Keep it cheap to run, accessible, and respectful of people's privacy. Flag anything you are unsure about instead of guessing.
Talk to the people who live it before you build.
“Some things are under our control, while others are not under our control.”
Get a working version in front of people fast.
Using AI is not cheating. Every tool carries the work of the people who made it, and using it well is how knowledge has always moved forward. The thinking, the care for the people who live the problem, and the judgement are still yours.
“The Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves.”
Open data that fits this problem.
“When you know a thing, to hold that you know it; and when you do not know a thing, to allow that you do not know it: this is knowledge.”
Tools matched to what this problem needs.
“If I have seen further it is by standing on the shoulders of Giants.”
Ship it responsibly, and find help and funding.
“Act, keeping in view the welfare of the world.”
लोकसंग्रहमेवापि सम्पश्यन्कर्तुमर्हसि
lokasaṅgraham evāpi sampaśyan kartum arhasi
Kit generated with claude-haiku-5-5; every link was checked when it was made. Links go to each provider's own site. Zetema is not paid for any listing.
Take it to someone
Built from this problem's evidence. Fill in the [brackets], make it yours, and send it. Read every line first: it goes out under your name.
Ask someone who knows this problem for 20 minutes.