metric

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package metric package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name string, help string) prometheus.Counter

NewCounter returns a new Prometheus counter.

func NewHistogram

func NewHistogram(name string, help string, start float64, factor float64, count int) prometheus.Histogram

NewHistogram returns a new Prometheus Histogram for execution time metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL