package
1.2.0
Repository: https://github.com/aaronjan/echo-contrib.git
Documentation: pkg.go.dev

# Functions

NewMetric associates prometheus.Collector based on Metric.Type.
NewPrometheus creates a new Prometheus instance with default configuration.
NewPrometheusWithConfig creates a new Prometheus instance with your configuration.

# Structs

Config let you configure how Prometheus works.
Metric is a definition for the name, description, type, ID, and prometheus.Collector type (i.e.
Prometheus contains the metrics gathered by the instance and its path.
PushGateway contains the configuration for pushing to a Prometheus pushgateway (optional).

# Type aliases

RequestCounterURLLabelMappingFunc is a function which can be supplied to the middleware to control the cardinality of the request counter's "url" label, which might be required in some contexts.