README ¶ Metrics (prometheus) The metrics module is designed to be used in combination with the fiber.Module: app := fx.New( env.Module, logrus.Module, metrics.Module, fiber.Module, ) app.Run() It wil provide a /metrics http route that provides metrics for use with prometeus. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables func MetricsMiddleware() fiber.Handler Constants ¶ This section is empty. Variables ¶ View Source var Module = fx.Options( fx.Invoke( usePrometheusMetricsEndpoint, ), ) Functions ¶ func MetricsMiddleware ¶ added in v1.1.0 func MetricsMiddleware() fiber.Handler Types ¶ This section is empty. Source Files ¶ View all Source files mectrics_middleware.go module.go prometheus_metrics_endpoint.go Click to show internal directories. Click to hide internal directories.