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: Prometheus operators can't keep important metrics longer than unimportant ones.

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

Written for this problem

The path

  1. Ask the people who live it

    Start with people who run Prometheus monitoring and manage its disk use.. The sources leave these open:

    • Drop a series only when all its data in a block has expired, or trim it?
    • Should retention use wall-clock time or the newest block's time?
  2. Talk to Prometheus maintainers

    need to agree the scope before a large change

  3. Get the data

    Start from what is already published.

  4. Prototype: Filter during compaction

    Skip matching series when writing a compacted block if they are older than their own retention.

  5. Prototype: Measure first

    A tool that reads a Prometheus data folder and reports which metric names use the most space, to show the likely savings.

  6. Test it with the people affected

    It is solved when: A prototype in Prometheus's storage compaction that drops series matching a configured selector once they pass their own retention, with a benchmark of disk saved on a sample dataset and written answers to the scope questions raised in the issue.

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
  • Automation
  • Analytics

Ideas to explore

  • Idea 1Filter during compactionSkip matching series when writing a compacted block if they are older than their own retention.
  • Idea 2Measure firstA tool that reads a Prometheus data folder and reports which metric names use the most space, to show the likely savings.

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: Prometheus operators can't keep important metrics longer than unimportant ones.
Who it hurts: People who run Prometheus monitoring and manage its disk use.
The moment it hurts: When storage fills up and the only choice is to shorten retention for everything.
What people do today: One retention time applies to all metrics.
Why it is still unsolved: It touches how the time-series database compacts its blocks, and the scope is still being discussed.
What solved looks like: A prototype in Prometheus's storage compaction that drops series matching a configured selector once they pass their own retention, with a benchmark of disk saved on a sample dataset and written answers to the scope questions raised in the issue.
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.

    “Truth is one; the wise speak of it in many ways.”

    एकं सद्विप्रा बहुधा वदन्ति

    ekaṃ sad viprā bahudhā vadanti

    Ṛgveda · 1.164.46
  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.

    “Lead me from the unreal to the real, from darkness to light.”

    असतो मा सद्गमय। तमसो मा ज्योतिर्गमय।

    asato mā sad gamaya, tamaso mā jyotir gamaya

    Bṛhadāraṇyaka Upaniṣad · 1.3.28
  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.

    “As to diseases, make a habit of two things: to help, or at least to do no harm.”

    ἀσκέειν περὶ τὰ νουσήματα δύο, ὠφελέειν ἢ μὴ βλάπτειν

    Hippocrates · Epidemics I (tr. W. H. S. Jones)

Kit written for this problem from its brief; every link was checked. 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.