{"id":53327,"library":"zsais-go-gin-prometheus","title":"Gin Prometheus Middleware","description":"Prometheus metrics middleware for the Gin web framework.","status":"active","version":"1.0.3","language":"go","source_language":null,"source_url":"https://github.com/zsais/go-gin-prometheus","tags":["prometheus","metrics","gin","middleware","monitoring"],"install":[{"cmd":"go get github.com/zsais/go-gin-prometheus","lang":"bash","label":"Install github.com/zsais/go-gin-prometheus"}],"dependencies":[],"imports":[{"symbol":"ginprometheus","correct":"github.com/zsais/go-gin-prometheus"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/gin-gonic/gin\"\n\t\"github.com/zsais/go-gin-prometheus\"\n)\n\nfunc main() {\n\tr := gin.Default()\n\tp := ginprometheus.NewPrometheus(\"gin\")\n\tp.Use(r)\n\tr.GET(\"/\", func(c *gin.Context) {\n\t\tc.String(200, \"Hello\")\n\t})\n\tr.Run(\":8080\")\n}","lang":"go","description":"Sets up Prometheus metrics collection for a Gin router."},"warnings":[],"env_vars":null,"search_vec":"'framework':11 'gin':1,9,14 'metric':5,13 'middlewar':3,6,15 'monitor':16 'prometheus':2,4,12 'web':10","created_at":"2026-06-15T07:35:35.648430+00:00","updated_at":"2026-06-15T07:35:35.648430+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/zsais/go-gin-prometheus","github":"https://github.com/zsais/go-gin-prometheus","docs":"https://pkg.go.dev/github.com/zsais/go-gin-prometheus#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}