Skip to content

v1.1.0: Add Basic Auth support for Prometheus metrics endpoint

Choose a tag to compare

@logocomune logocomune released this 15 Dec 08:45
· 5 commits to main since this release
Introduced a `GetMetricHandlerWithBasicAuth` function that wraps the Prometheus metrics handler with Basic Authentication. Updated the example to demonstrate usage with a username and password, enhancing security for metrics access.