Registry / web-framework / mcuadros-go-gin-prometheus

mcuadros-go-gin-prometheus

JSON →
library1.0.3gogounverified

Prometheus metrics middleware for the Gin web framework.

go get github.com/mcuadros/go-gin-prometheus
INSTALL
IMPORT
SIG · MCUADROS-GO-GIN-PR
M
mcuadros-go-gin-prometheus
web-frameworkgov1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ginprometheus
github.com/mcuadros/go-gin-prometheus

Adds Prometheus metrics to a Gin router.

package main import ( "github.com/gin-gonic/gin" "github.com/mcuadros/go-gin-prometheus" ) func main() { r := gin.Default() p := ginprometheus.NewPrometheus("gin") p.Use(r) r.Run() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
OpenAI (training)
2
Resources
mcuadros-go-gin-prometheus — go get mcuadros-go-gin-prometheus · libregistry