canonical / grafana-agent-k8s-operator

This charmed operator automates the operational procedures of running Grafana Agent, an open-soruce telemetry collector.
https://charmhub.io/grafana-agent-k8s
Apache License 2.0
8 stars 18 forks source link

Broken `juju-unit` filter on "System Resources" dashboard #292

Closed valexby closed 4 months ago

valexby commented 4 months ago

Bug Description

Seeing this issue on multiple COS setups. I can't check host metrics for a specific host on "System Resources". I'm attaching screenshots, where I have grafana-agent exporter installed on OpenStack vault VMs. But when I select any unit that is not /0 unit, I see no data in "Quick CPU / Mem / Disk". And the data in all other dashboards which are under spoiler "Storage Filesystem" show the same data, which is likely have nothing to do with the selected host.

Here I selected vault/0. unit-0-selected-overview unit-0-selected-filesystem

Here I selected vault/1 (same for vault/2) unit-1-selected-overview The data on this graph doesn't change. unit-1-selected-filesystem

To Reproduce

Can't attach yaml's here, but there are the bundles for cos and openstack. budles.zip

Environment

I attached the bundle with all the info. Here I all bringing outputs of juju status --relations for openstack and cos models. cos-status.txt openstack-status.txt

Relevant log output

I have no specific log to share right now. I will try to dig in deeper tomorrow and maybe share culprit.

Additional context

No response

valexby commented 4 months ago

Well, there is a host drop down which I missed in the first place, dashboards work well. Closing the issue.