1 / 5 · Welcome

Every problem is a question the world is asking.

Zetema (ζήτημα, Greek for “a thing sought”) gathers real problems people want solved, from public pages around the world. Builders find something worth building, and anyone living with a problem can share it, no coding needed.

← Back to the problem

The builder's path

Six steps from this problem to its solution.

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.”

ὁ δὲ ἀνεξέταστος βίος οὐ βιωτὸς ἀνθρώπῳ

Socrates · Plato, Apology 38a

Written for this problem

The path

  1. Ask the people who live it

    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:

    • Does a label_copy function already fix this for the reporter's setup, and how many users still hit the problem after it?
    • Which label should the output keep when both sides have different names, and how should the query author choose?
    • How do people who write these queries today feel about the readability of label_replace compared with a new syntax?
    • Would users rather change exporter label names than adopt a new query feature?
  2. Talk to Prometheus developers mailing list and community

    The join syntax discussion happens here, and maintainers can say what was rejected and why.

    • Kubernetes SIG Instrumentation: This group owns kube-state-metrics and can say whether exporter label names are likely to change.
  3. Get the data

    Start from what is already published.

  4. Prototype: Label-mapping join helper for PromQL

    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.

  5. Prototype: Query linter that flags label_replace workarounds

    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.

  6. Test it with the people affected

    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

Six ways to take this forward

Each route is a different kind of journey, with real people and organisations to contact at each step, starting with those in every country.

  1. Step 1

    Build in the open

    Publish the code and invite contributors from the community.

  2. Step 2

    Fund the maintainers

    Sponsors, collectives and open source grants.

  3. Step 3

    Get it adopted

    Civic tech groups and public bodies take it up.

What this problem needs

Ideas, sources and tools for this problem, from first interviews to funding.

  • Open data
  • Analytics
  • Automation

Ideas to explore

  • Idea 1Label-mapping join helper for PromQLBuild 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.
  • Idea 2Query linter that flags label_replace workaroundsWrite 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.

Specific to this problem

Talk to first

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.
  1. Understand it

    Talk to the people who live it before you build.

    “Some things are under our control, while others are not under our control.”
    Epictetus · Enchiridion 1 (tr. W. A. Oldfather)
  2. Prototype with AI

    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.”
    Ada Lovelace · Notes on Menabrea's Sketch of the Analytical Engine, Note A (1843)
  3. Find the data

    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.”
    Confucius · Analects 2.17 (tr. J. Legge)
  4. Build it

    Tools matched to what this problem needs.

    “If I have seen further it is by standing on the shoulders of Giants.”
    Isaac Newton · letter to Robert Hooke, 5 February 1675/6
  5. Launch and get support

    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

    Bhagavad Gītā · 3.20

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

Ready to send, with the sources in place

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.