package
0.0.0-20241217062345-852b9c5a8d98
Repository: https://github.com/tianlin0/plat-lib.git
Documentation: pkg.go.dev

# Functions

NewPrometheus initializes a new prometheus metric instance.
WithCodecChannel sets the prometheus codec channel.
WithNamespace sets the prometheus namespace.
WithRegisterer sets the prometheus registerer.

# Structs

Prometheus represents the prometheus struct for collecting metrics.

# Interfaces

MetricsInterface represents the metrics interface for all available providers.

# Type aliases

PrometheusOption is a type for defining Prometheus options.