Integration with Prometheus

Topics about the Software of Revolution Pi
Post Reply
mitchellday06
Posts: 21
Joined: 29 Nov 2022, 00:08

Integration with Prometheus

Post by mitchellday06 »

Hi everyone, new to RevPi.
I am wondering if anyone here has system diagrams, designs or examples of the RevPi working with Prometheus. We have a RevPi connect with an Analog and Digital module, and looking to monitor the system with prometheus/grafana.

I have not had a chance yet to play in the system due to not being able to access it yet. But am trying to understand a bit about the equipment first before I get my hands on.
Does the RevPi have an interface that prometheus could probe to get information?
Or do i need to create an application for the rev pi and create an interface for the prometheus server? I know prometheus has a python lib to create a client.
Or does Node-Red allow for creating a client which we could probe externally?

I am hoping to get access to the system very soon to play with.
Any help would be greatly appreciated.
Regards,
Mitchell
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: Integration with Prometheus

Post by nicolaiB »

HI Mitchel,

there is no full-featured exporter yet. But there are two great Python libraries which should make the implementation work. Out of interest I created a quick working example: https://github.com/nbuchwitz/revpi-prometheus-exporter

Nicolai
Post Reply