canonical / canonical/cos-proxy-operator

Add probe for detecting multiple cos-proxy apps related to the same app

Open
#162 0 comments 0 reactions 0 assignees View on GitHub
Status: Triage Type: Enhancement
Dominant language
Python
Stars
3
Forks
12
PR merge metrics
No merged PRs in 30d

Description

### Enhancement Proposal

When two cos-proxy apps related to the same app, prometheus ends up with duplicated rules and none of them end up in prometheus because of it.

We should add a probe that can be readily run in production to detect such situations.

Related:
- https://github.com/canonical/prometheus-k8s-operator/issues/650
- https://github.com/canonical/grafana-agent-operator/pull/213

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the issue and the related prometheus-k8s-operator issue and grafana-agent-operator pull request to understand how duplicate cos-proxy apps produce duplicated Prometheus rules. Define the production-runnable probe and its detection signal; done means it reliably identifies multiple cos-proxy apps related to the same app.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.