Mailing List Archive

Re: [External] Re: DRBD Grafana Dashboard
So, the 800 pound Gorilla in the room wonders if there might be a parallel effort for the telegraf agent?

From: drbd-user-bounces@lists.linbit.com <drbd-user-bounces@lists.linbit.com> On Behalf Of Yanni M.
Sent: Friday, April 30, 2021 9:59 AM
Cc: drbd-user <drbd-user@lists.linbit.com>
Subject: [External] Re: [DRBD-user] DRBD Grafana Dashboard

This is very cool, thanks for sharing !

On Fri, 30 Apr 2021 at 15:17, Christoph Böhmwalder <christoph.boehmwalder@linbit.com<mailto:christoph.boehmwalder@linbit.com>> wrote:
Hello DBRD users,

last week, we announced[1] a new drbd-reactor version with support for
exporting Prometheus metrics. Following this, there has been some
interest from the community as well as our customers to provide a
Grafana dashboard, since most users will be using these technologies in
combination.

After some internal discussions, we have decided to provide a "standard"
Grafana dashboard – developed and maintained by LINBIT – to the open
source community.

Even though we are still in the early days of DRBD's Prometheus
integrations, a first version of this dashboard has now been published
in Grafana's Dashboard Library:

https://grafana.com/grafana/dashboards/14339<https://urldefense.com/v3/__https:/grafana.com/grafana/dashboards/14339__;!!FEyU5bU!WocOw0piFJkiJV_Cv479AISkt_gkjc_9-5hlo8pLLf1tpMXMjTOj0QQN2zPqUZug-lyv2Q$>

You can also find its source in the drbd-reactor GitHub repository[2].

Keep in mind that this has not seen widespread testing; at the moment we
are just using it internally at LINBIT. We hope for lots of testing and
many contributions from the community in order to further improve the
dashboard over time.

Regards,
Christoph

[1] https://lists.linbit.com/pipermail/drbd-user/2021-April/025884.html<https://urldefense.com/v3/__https:/lists.linbit.com/pipermail/drbd-user/2021-April/025884.html__;!!FEyU5bU!WocOw0piFJkiJV_Cv479AISkt_gkjc_9-5hlo8pLLf1tpMXMjTOj0QQN2zPqUZtJpu7zJQ$>
[2]
https://github.com/LINBIT/drbd-reactor/blob/master/src/plugin/prometheus.md#grafana-dashboard<https://urldefense.com/v3/__https:/github.com/LINBIT/drbd-reactor/blob/master/src/plugin/prometheus.md*grafana-dashboard__;Iw!!FEyU5bU!WocOw0piFJkiJV_Cv479AISkt_gkjc_9-5hlo8pLLf1tpMXMjTOj0QQN2zPqUZus_Aln1Q$>
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT<https://urldefense.com/v3/__https:/github.com/LINBIT__;!!FEyU5bU!WocOw0piFJkiJV_Cv479AISkt_gkjc_9-5hlo8pLLf1tpMXMjTOj0QQN2zPqUZvudLnNOg$>
drbd-user mailing list
drbd-user@lists.linbit.com<mailto:drbd-user@lists.linbit.com>
https://lists.linbit.com/mailman/listinfo/drbd-user<https://urldefense.com/v3/__https:/lists.linbit.com/mailman/listinfo/drbd-user__;!!FEyU5bU!WocOw0piFJkiJV_Cv479AISkt_gkjc_9-5hlo8pLLf1tpMXMjTOj0QQN2zPqUZtwT6Q9LQ$>
The information contained in this email is proprietary, confidential and only for the use of the intended recipient. If you are not the intended recipient, note that any disclosure, distribution, or copying of this email is strictly prohibited. If you have received this email in error, please destroy it and notify us immediately at the number noted above.
Re: [External] Re: DRBD Grafana Dashboard [ In reply to ]
On Fri, Apr 30, 2021 at 08:53:35PM +0000, Rohn Wood wrote:
> So, the 800 pound Gorilla in the room wonders if there might be a
> parallel effort for the telegraf agent?

Hm, at least there has not been any customer requests for that, and
quite frankly it is the first time I've ever heard of it, but I'm also
not really into metrics. But as it looks like Prometheus is too big for
them to ignore it, so you might be lucky with that:

https://github.com/influxdata/telegraf/blob/master/plugins/inputs/prometheus/README.md

All in all I don't think there are any plans, and if that input plugin
works then one should use that. Technically it would be almost trivial
to recycle the Prometheus components (data caches, ...) and just
generate the Telegraf output I guess.

Seeing that Telegraf can also process json, that was a plugin I always
had on my mind when I started drbd-reactor. Like a event triggered
version of `drbdsetup status --json`. That one might come in handy for
all sorts of things that want to process DRBD events as json or anything
else that Rust's serde can serialize. I did not do that so far because
it obviously needs deciding on a representation of the data. And I'm not
sure (actually I am) if I like the one drbdsetup uses (i.e., lists where
it actually is a hashmap, very weird key names,...). But that plugin is
more realistic than a dedicated Telegraf one I'd say.

Regards, rck
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
drbd-user@lists.linbit.com
https://lists.linbit.com/mailman/listinfo/drbd-user
Re: [External] Re: DRBD Grafana Dashboard [ In reply to ]
> ,...). But that plugin is more realistic than a dedicated Telegraf one I'd say.

That sounds fair.

Rohn

-----Original Message-----
From: drbd-user-bounces@lists.linbit.com <drbd-user-bounces@lists.linbit.com> On Behalf Of Roland Kammerer
Sent: Tuesday, May 4, 2021 12:03 AM
To: drbd-user@lists.linbit.com
Subject: Re: [DRBD-user] [External] Re: DRBD Grafana Dashboard

On Fri, Apr 30, 2021 at 08:53:35PM +0000, Rohn Wood wrote:
> So, the 800 pound Gorilla in the room wonders if there might be a
> parallel effort for the telegraf agent?

Hm, at least there has not been any customer requests for that, and quite frankly it is the first time I've ever heard of it, but I'm also not really into metrics. But as it looks like Prometheus is too big for them to ignore it, so you might be lucky with that:

https://urldefense.com/v3/__https://github.com/influxdata/telegraf/blob/master/plugins/inputs/prometheus/README.md__;!!FEyU5bU!RNRpXTIdHuW270rddbZdT-R9I7DByQ4hfF1eqTOfEG11COVwn1bHJ1vfGfV16TZkFo1k3A$

All in all I don't think there are any plans, and if that input plugin works then one should use that. Technically it would be almost trivial to recycle the Prometheus components (data caches, ...) and just generate the Telegraf output I guess.

Seeing that Telegraf can also process json, that was a plugin I always had on my mind when I started drbd-reactor. Like a event triggered version of `drbdsetup status --json`. That one might come in handy for all sorts of things that want to process DRBD events as json or anything else that Rust's serde can serialize. I did not do that so far because it obviously needs deciding on a representation of the data. And I'm not sure (actually I am) if I like the one drbdsetup uses (i.e., lists where it actually is a hashmap, very weird key names,...). But that plugin is more realistic than a dedicated Telegraf one I'd say.

Regards, rck
_______________________________________________
Star us on GITHUB: https://urldefense.com/v3/__https://github.com/LINBIT__;!!FEyU5bU!RNRpXTIdHuW270rddbZdT-R9I7DByQ4hfF1eqTOfEG11COVwn1bHJ1vfGfV16TYeaqwp8A$
drbd-user mailing list
drbd-user@lists.linbit.com
https://urldefense.com/v3/__https://lists.linbit.com/mailman/listinfo/drbd-user__;!!FEyU5bU!RNRpXTIdHuW270rddbZdT-R9I7DByQ4hfF1eqTOfEG11COVwn1bHJ1vfGfV16TZGFQRFVA$
The information contained in this email is proprietary, confidential and only for the use of the intended recipient. If you are not the intended recipient, note that any disclosure, distribution, or copying of this email is strictly prohibited. If you have received this email in error, please destroy it and notify us immediately at the number noted above.
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
drbd-user@lists.linbit.com
https://lists.linbit.com/mailman/listinfo/drbd-user