Post AP2WKxLSpAyU6adntY by tarheel@toot.cafe
(DIR) More posts by tarheel@toot.cafe
(DIR) Post #AP2FXpP7xfQO1LuGoq by wolf480pl@mstdn.io
2022-10-28T19:08:53Z
0 likes, 1 repeats
I figured for myesp8266 -> MQTT -> ? -> Grafana setup, I'll tryInfluxDB + Telegrafinstead ofPrometheus + some MQTT exporterBecause prometheus is what I have at work, so may as well try sth else.
(DIR) Post #AP2Fs62Dq4zROJrE8G by izaya@social.shadowkat.net
2022-10-28T19:10:35.816914Z
0 likes, 0 repeats
@wolf480pl reminds me I need to poke at ejabberd's MQTT support
(DIR) Post #AP2G61UPXFJlLegQNs by wolf480pl@mstdn.io
2022-10-28T19:15:04Z
1 likes, 0 repeats
First impressions:InfluxDB sucks.The web UI is sluggish, way too startupy-handholdy-colorful, and most of it poorly replicates features of Grafana.The most important part - storage, access control, low-level querying for troubleshooting - is hard to access through the fluffy UI. I guess it would be easier through the CLI, but that one is not what I expected either (expected something more like psql), maybe I don't know how to use it properly.
(DIR) Post #AP2GGOdALrNe10iznk by izaya@social.shadowkat.net
2022-10-28T19:16:56.432221Z
0 likes, 0 repeats
@wolf480pl didn't even know influxdb even has its own UI I just use it through grafana lmao
(DIR) Post #AP2GKteYx7H5O8WYDI by wolf480pl@mstdn.io
2022-10-28T19:17:42Z
0 likes, 0 repeats
OTOH, Telegraf is pretty neat.It has a reasonable config file, with similar schema and flexibility to fluentd (but more metrics-focused I guess).More importantly, its mqtt input plugin is very configurable, and can be made to export the mqtt messages in the way I want (no hardcoded list of topics, topic goes directly into metric tags, scalar values instead of jsons)... and also in all the other ways I can imagine needing.
(DIR) Post #AP2GN5DIwUHNoyohbk by wolf480pl@mstdn.io
2022-10-28T19:18:09Z
0 likes, 0 repeats
It also has a prometheus exporter, so if I do end up ditching influxdb, I should be able to use telegraf with prometheus.
(DIR) Post #AP2Gb1z1kVpJrBn0wi by nihl@p.umbriel.fr
2022-10-28T19:17:56.933337Z
0 likes, 0 repeats
@wolf480pl Never used influxdb without grafana and I'm very happy I didn't, from what I remember it looks as bad as prometheus' or alertmanager's web interfaces (except they weren't really made to be actually used except for testing)
(DIR) Post #AP2Gb2YpbOSzeEXbkm by wolf480pl@mstdn.io
2022-10-28T19:20:39Z
0 likes, 0 repeats
@nihl no, it looks very different.Prometheus's webinterface looks like your usual <form> with minimal CSS done by a programmer to debug stuff. Really good for troubleshooting why a single metric isn't propagating.InfluxDB's webinterface looks like someone just finished learning Angular and also finished a UX class and went wild with colorful hamburger menus and tutorial pop-ups.
(DIR) Post #AP2GnWvyV6sPK9K1Hk by wolf480pl@mstdn.io
2022-10-28T19:22:55Z
0 likes, 0 repeats
@nihl like, it tries to be grafana but more "user friendly" for the worst meaning of that word
(DIR) Post #AP2GtsbMr0V6GKi7rk by michcia@ak.kawen.space
2022-10-28T19:11:01.837723Z
0 likes, 0 repeats
@wolf480pl i (mis)use influx as long storage for prometheusnever remembered to configure data reprocessing
(DIR) Post #AP2Gtt3j9ZBZgHym4O by wolf480pl@mstdn.io
2022-10-28T19:24:03Z
0 likes, 0 repeats
@michcia hmm so you didn't want prometheus's builtin storage backend?
(DIR) Post #AP2HSGa0D8CoTUT8jY by michcia@ak.kawen.space
2022-10-28T19:25:05.169714Z
0 likes, 0 repeats
@wolf480pl prometheus seems very intent on not being a permanent storage idk
(DIR) Post #AP2HSH2MVgtHtRjmwC by wolf480pl@mstdn.io
2022-10-28T19:30:17Z
0 likes, 0 repeats
@michcia hmm we use it with a pretty short retention at $dayjob because it just sends stuff to VictoriaMetrics.... which is too big of a gun for my usecase
(DIR) Post #AP2KG0CjZG7w4iQezg by nihl@p.umbriel.fr
2022-10-28T19:57:53.747914Z
0 likes, 0 repeats
@wolf480pl Ok I don't recall it looking like that, my memory might be playing tricks on meAnd yeah, it does look like a children version of grafana
(DIR) Post #AP2KG0f5rooPUfhJCK by wolf480pl@mstdn.io
2022-10-28T20:01:41Z
0 likes, 0 repeats
@nihl InfluxDB has changed a lot over the last few years...
(DIR) Post #AP2WKxLSpAyU6adntY by tarheel@toot.cafe
2022-10-28T22:17:01Z
0 likes, 0 repeats
@wolf480pl I use telegraf -> influxdb -> grafana at work, and I'm pretty happy with it. Nothing fancy, easy to implement.
(DIR) Post #APCqy2c64WaVwDkiEC by feld@bikeshed.party
2022-11-02T21:54:54.062826Z
0 likes, 0 repeats
InfluxDB does suck, use TimescaleDB