S
S
Saboteur2019-12-15 21:20:24
Monitoring
Saboteur, 2019-12-15 21:20:24

How to store strings (version name) in influxdb?

We collect a bunch of metrics in influxdb + grafana.
Actually, among the metrics there are some for which you do not need to store a history, just the "current version".
Of course, you can make an additional source in grafana, but I came up with such a bike how to store versions as a tag and insert them into a zero timestamp, so there will be only one version in the table.
will be of the type
INSERT versions,app=myprogram value="myprog-1.0.1" 0
INSERT versions,app=myanotherprogram value="2.3.4" 0
If you do not make an additional source, but use Influxdb, how successful does this solution seem to be?
Can anyone recommend their own, more beautiful crutches?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question