Skip to content

How to enable rules defined on one prometheus server to another prometheus #5134

Open
@manzajohn

Description

@manzajohn

i have 2 prometheus(application and infrastrructure) deployments in the cluster, also i have alertmanager integrated with application prometheus, custom rules also were defined in application prometheus, things were working fine and i was able to receive PVC related alerts(metrics from infra prometheus) via opsgenie, suddenly it stopped triggering infra prometheus metrics related alerts, Any guidance on where should i start troubleshoot.
Below is my application prometheus alert rules, which is having pvc alert rule, but the metrics associated with this rule is from other prometheus
Screenshot 2025-01-10 at 12 35 19
i Can see the metrics in other prometheus with below values and supposed to trigger warnings , but it is not
Screenshot 2025-01-10 at 12 37 10
So how the application prometheus with alerting rules(pvc alerts) can trigger alert based on the metrics from other prometheus server?
Or should there be rules available in 2nd prometheus also? if so how to make it available
Screenshot 2025-01-10 at 15 28 48

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions