Prometheus Dynamic Exporter

141 views
Skip to first unread message

Christian

unread,
May 24, 2021, 1:37:46 PM5/24/21
to Prometheus Developers
Hi guys,

I just want to introduce my new dynamic Prometheus custom metric exporter.

It's capable of reading custom metrics from simple textfiles and then instantly serve them via https and basic auth.

Would be happy if somebody finds it useful.

Check it out on https://github.com/hoggle64/prometheus_dynamic_exporter.

Cheers,

Christian

Colin Douch

unread,
May 24, 2021, 8:12:25 PM5/24/21
to Christian, Prometheus Developers
Cool project! Out of interest, what would you say are the benefits of this over something like the Node Exporter Textfile Collector (https://github.com/prometheus/node_exporter#textfile-collector), or the Prometheus Push Gateway?

- Colin

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/17a9c30b-f9cb-4b44-8981-ff4954fdcc8an%40googlegroups.com.

Christian

unread,
May 25, 2021, 2:49:54 AM5/25/21
to Prometheus Developers
Hi Colin,

well..... this is embarrassing.... :-)
I was not aware of "textfile collector" existing already.

Today I've just added a ttl feature to ensure a broken batch job will not produce the same metrics forever. Dont know if the Textfile Collector has something similar.

Apart from that - you're right. It does basically the same thing.
The SSL encrytpion and basic auth would be a benefit.

Christian

Evelyn Pereira Souza

unread,
May 25, 2021, 10:32:26 AM5/25/21
to prometheus...@googlegroups.com
On 25.05.21 08:49, 'Christian' via Prometheus Developers wrote:
> well..... this is embarrassing.... :-)
> I was not aware of "textfile collector" existing already.

that's no problem at all. You had a lot of fun developing and learned a
lot. The open source world lives from choice

best regards
Evelyn
OpenPGP_0x61776FA8E38403FB.asc
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages