prometheusrunnerpool

package module
v0.0.0-...-6879733 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

prometheusrunnerpool

Prometheus metrics for github.com/cabify/runnerpool

Usage:

In order to register a pool in the default prometheus registry:

prometheusrunnerpool.Observe(prometheus.DefaultRegistry, pool, "http-requests")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Observe

func Observe(registry prometheus.Registerer, pool runnerpool.Pool, poolName string)

Observe binds a pool to a prometheus gauge in the provided registerer, and starts observing it on every prometheus scraping interval If registering fails, it panics

Types

This section is empty.

Jump to

Keyboard shortcuts

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