Exporting Jamulus stats as prometheus metrics
Sunday, March 7, 2021 •
In the last post, I introduced the grafana and prometheus combination and
described two ways, how to monitor a Jamulus installation.
The only thing I wanted to monitor is, how many clients are connected. The two ways however are not very reliable.
Both use the tool mtail, that can parse log files and make the logs available
as prometheus metrics. The first method uses the direct log entries of Jamulus, the second method uses a
status page created by Jamulus. But since mtail is about log files, it really only reads new lines added
to the files, which it is tailing (like
tail -f). Jamulus doesn’t log disconnects, only connects, so the log file
doesn’t even provide all information. The status file lists all connected clients, but it is not a log file, it
would be need to be read at a whole.
CommentsNo comments yet.
Leave a comment
Your email address will not be published. Required fields are marked *. All comments are held for moderation to avoid spam and abuse.