Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusMetric ¶
type PrometheusMetric interface {
Set(float64)
}
func NewErrorPrometheusMetric ¶
func NewErrorPrometheusMetric(metricsNamespace string, name string, help string) PrometheusMetric
type PrometheusMetrics ¶
type PrometheusMetrics struct{}
func New ¶
func New(_ prometheus.Registerer) *PrometheusMetrics
func (*PrometheusMetrics) ChangeValue ¶
func (m *PrometheusMetrics) ChangeValue(_ models.PrometheusMetricType, _ any) error
Click to show internal directories.
Click to hide internal directories.