collector

package
v0.0.0-...-d788300 Latest Latest
Warning

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

Go to latest
Published: May 7, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NumCircuitsDesc = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, "connection", "circuits"),
		"Count of currently open circuits",
		nil, nil,
	)
	NumStreamsDesc = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, "connection", "streams"),
		"Count of currently open streams",
		nil, nil,
	)
	NumOrconnsDesc = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, "connection", "orconns"),
		"Count of currently open ORConns",
		nil, nil,
	)
)
View Source
var (
	TrafficReadDesc = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, "traffic", "read_bytes"),
		"Total traffic read",
		nil, nil,
	)
	TrafficWrittenDesc = prometheus.NewDesc(
		prometheus.BuildFQName(namespace, "traffic", "written_bytes"),
		"Total traffic written",
		nil, nil,
	)
)

Functions

func ScrapeCircuits

func ScrapeCircuits(c *bulb.Conn, ch chan<- prometheus.Metric) error

func ScrapeTraffic

func ScrapeTraffic(c *bulb.Conn, ch chan<- prometheus.Metric) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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