promstats

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package promstats contains adapters to publish stats variables to prometheus (http://prometheus.io)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollector

func NewCollector(opts prometheus.Opts, v expvar.Var) prometheus.Collector

NewCollector returns a prometheus.Collector for a given stats var. It supports all stats var types except String, StringFunc and Rates. The returned collector still needs to be registered with prometheus registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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