package
1.1.0
Repository: https://github.com/netr/napi.git
Documentation: pkg.go.dev

# Functions

NewPrometheus creates a new instance of Prometheus middleware serviceName is available as a const label.
NewWith creates a new instance of Prometheus middleware but with an ability to pass namespace and a custom subsystem Here serviceName is created as a constant-label for the metrics Namespace, subsystem get prefixed to the metrics.
NewWithLabels creates a new instance of Prometheus middleware but with an ability to pass namespace and a custom subsystem Here labels are created as a constant-labels for the metrics Namespace, subsystem get prefixed to the metrics.
NewWithRegistry creates a new instance of Prometheus middleware but with an ability to pass a custom registry, serviceName, namespace, subsystem and labels Here labels are created as a constant-labels for the metrics Namespace, subsystem get prefixed to the metrics.

# Structs

Prometheus ...