Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lilic/prometheus-lib-example

Example of how to avoid Prometheus globals in your library.
https://github.com/lilic/prometheus-lib-example

instrumentation library prometheus

Last synced: about 1 month ago
JSON representation

Example of how to avoid Prometheus globals in your library.

Awesome Lists containing this project

README

        

# prometheus-lib-example

This serves as an example of how to register metrics using promauto and new Prometheus registry, as to avoid using the global prometheus registry.

The content in the lib directory is the example of library, and fancy-app is the way one would import that library into the application.