juju / python-libjuju

Python library for the Juju API
Apache License 2.0
57 stars 93 forks source link

Wrong juju_topology in alert rule provided via `LogProxyConsumer` #1021

Closed rgildein closed 5 months ago

rgildein commented 5 months ago

Description

We are working on tempest-k8s charm, which is using the LogProxyConsumer for logs forwarding and the alert rule. If we do relation grafana-agent-k8s:logging-provider tempest-k8s:logging the alert rule, define in the LogProxyConsumer will have juju_topology from grafana-agent-k8s and not the tempest-k8s charm.

Example from my local deployment. Screenshot from 2024-02-02 13-28-46

tempest model:

cos model:

Urgency

Blocker for our release

Python-libjuju version

not using libjuju

Juju version

3.1.6

Reproduce / Test

not using libjuju
rgildein commented 5 months ago

I opened this accidentally in the wrong repo.