1.3.1 / 2024-05-23
This is just a minor update to the 1.3.0 release:
With the previous releases it was possible to create illegal UNIT
names, like new Unit("&^$")
or new Unit("total")
.
This release prevents that (throwing an IllegalArgumentException
), and also adds a method PrometheusNaming.sanitizeUnitName(name)
for converting arbitrary strings into valid Prometheus UNIT
names.