Skip to content

lilic/prometheus-lib-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example of how to avoid Prometheus globals in your library.

Topics

Resources

License

Stars

Watchers

Forks

Languages