Blog

Eclipse JAXB Java11 OSGI

There are already many articles about how to get JAXB working with Java11 and a OSGI platform like Eclipse. With Java8, the JAXB (Java XML Binding) API and implementation was part of the Java platform and “standard”. With Java9 it got deprecated for removal and with Java11 it was finally removed. JAXB API and implementation is supposed to be provided by additional libraries now.

Read more...


Exporting Jamulus stats as prometheus metrics

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.

Read more...



Comments

No 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.


Andreas Dangel | subscribe via RSS | adangel | .onion © Copyright 2024. adangel.org (07 April 2024)