prometheusbp

package
v0.9.11-beta.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package prometheusbp provides common code used for exporting Prometheus metrics.

Index

Constants

This section is empty.

Variables

View Source
var DefaultBuckets = prometheus.ExponentialBuckets(0.0001, 2.5, 14) // 100us ~ 14.9s

DefaultBuckets is the default bucket values for a prometheus histogram metric.

Functions

func BoolString added in v0.9.5

func BoolString(b bool) string

BoolString returns the string version of a boolean value that should be used in a prometheus metric label.

Types

This section is empty.

Directories

Path Synopsis
Package promtest provides test utilites for testing Prometheus metrics.
Package promtest provides test utilites for testing Prometheus metrics.

Jump to

Keyboard shortcuts

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