Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Repeating Panels configuration #317

Closed
markuslf opened this issue Apr 25, 2023 · 4 comments
Closed

Repeating Panels configuration #317

markuslf opened this issue Apr 25, 2023 · 4 comments

Comments

@markuslf
Copy link

Imagine a Grafana dashboard like this, with repeating rows (!), based on a query that reads all the disks of a host (count differs from host to host). Each row shows the same several non-repeating panels.

image

Am I right that the Grafana module cannot handle this today?

  • If not, consider it a feature request ;-)
  • If yes, please help me: How to set what value to what? Obviously "Repeating Panel=Yes", but "PanelIds=1" makes no sense here and "Metrics per panel" is impossible to guess. :-)
@Mikesch-mp
Copy link
Owner

Mikesch-mp commented Apr 26, 2023

Please read the docs, https://github.com/Mikesch-mp/icingaweb2-module-grafana/blob/master/doc/04-graph-configuration.md#auto-repeating-panels
It does nearly what you want to do. if one service delivers many perfdata, you can create a dashboard for the with one metric per panel and repeating panels/rows for the other metrics.

@markuslf
Copy link
Author

Ok, let me use another example - network I/O on network interfaces. What I mean is:

Like with disks, the "number of metrics" is dynamic. "metrics" example for a "network-io" check:

  • Host 1: eth0_bytes_recv, eth0_bytes_sent
  • Host 2: ens10_bytes_recv, ens10_bytes_sent, tun0_bytes_recv, tun0_bytes_sent, eth0_bytes_recv, eth0_bytes_sent

Therefore the number of red-highlighted panel rows is also dynamic.

Screenshot 1 - Dashboard "Network I/O", host 1 with one network interface:
image

Screenshot 2 - the same dashboard, host 2 with multiple network interfaces:

image

The "Network I/O" dashboard handles that fine, but following your docs I can't figure out any numbers to configure the Grafana module for this type of dashboard properly.

@Mikesch-mp
Copy link
Owner

Works only for repeating panels, not for rows. Cant be added as feature, because there is no way to figure out the row numbers / names

@markuslf
Copy link
Author

That's what I wanted to know, thank you, Carsten.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants