Documentation ¶ Overview ¶ Package metrics implements for web the module to publish prometheus metrics Index ¶ Variables func Register(r *gin.Engine, ws *web.Service) Constants ¶ This section is empty. Variables ¶ View Source var ( // NAMESPACE of prometheus metrics NAMESPACE string = "service" // VERSION in prometheus metrics VERSION string = "" // UP function for healthy check in prometheus metrics UP func() bool = func() bool { return true } ) Functions ¶ func Register ¶ func Register(r *gin.Engine, ws *web.Service) Register to WebService Types ¶ This section is empty. Source Files ¶ View all Source files docs.go main.go Click to show internal directories. Click to hide internal directories.