Registry / observability / ansrivas-fiberprometheus-v2

ansrivas-fiberprometheus-v2

JSON →
library2.17.0gogounverified

Prometheus middleware for the Fiber web framework.

go get github.com/ansrivas/fiberprometheus/v2
INSTALL
IMPORT
SIG · ANSRIVAS-FIBERPROM
A
ansrivas-fiberprometheus-v2
observabilitygov2.17.0
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.

fiberprometheus
github.com/ansrivas/fiberprometheus/v2

Adds Prometheus metrics middleware to a Fiber app.

package main import ( "github.com/gofiber/fiber/v2" "github.com/ansrivas/fiberprometheus/v2" ) func main() { app := fiber.New() prometheus := fiberprometheus.New("my-service") prometheus.RegisterAt(app, "/metrics") app.Use(prometheus.Middleware) app.Get("/", func(c *fiber.Ctx) error { return c.SendString("Hello") }) app.Listen(":3000") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
48 hits · last 30 days
node
40
OpenAI (training)
1
Resources
ansrivas-fiberprometheus-v2 — go get ansrivas-fiberprometheus-v2 · libregistry