Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prometheus ¶
type Prometheus struct {
GinPrometheus *ginprom.Prometheus
}
Prometheus struct to manage Prometheus with gin-gonic
func NewGinPrometheus ¶
func NewGinPrometheus(gin *gin.Engine) *Prometheus
NewGinPrometheus Crate a new instance of Prometheus configured to gin
Click to show internal directories.
Click to hide internal directories.