← Problem Library
K8s L5 K8S 1467 · 11 min

A Grafana Agent Flow pipeline duplicates one namespace because pod and service discovery now feed the same remote-write branch

Metrics arrive twice after a Flow refactor merged discovery branches that used to stay separate.

K8sPlatform ReliabilityLevel 5Pro11 min
Scenario

One namespace begins double-counting metrics after a Grafana Agent Flow cleanup merged pod and service discovery blocks.

What to check first
  • Identify the primary failure signal in the The Namespace Was Scraped Once and Walked Twice Into the Same Remote-Write Door scenario.
  • Separate visible symptoms from the underlying technical dependency.
  • Describe the safest recovery path and the follow-up prevention work.
Checking checklist
  1. Summarize the current impact and the last known change.
  2. Collect direct evidence from logs, runtime state, and configuration before changing anything.
  3. Separate immediate recovery from permanent prevention work.
Recovery and prevention

Inspect discovery fanout before changing downstream dedupe rules.

Questions worth viewing together
Should I translate commands, logs, or product names?

No. Keep commands, logs, file names, APIs, and product names unchanged, then explain the reasoning in the selected UI language.

What should the answer focus on?

State the root cause, the evidence that supports it, and the safest recovery direction.

Why can the scenario remain in the original language?

The source scenario is treated as an incident artifact. Guidance, checklist, hints, and explanations can be localized around it.