Skip to content

1.3.1 / 2024-05-23

Latest
Compare
Choose a tag to compare
@fstab fstab released this 23 May 14:32
· 55 commits to main since this release

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.