collectors

package
v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Instances map[string]*Instance
}

type Applications

type Applications map[string]*Application

type ContainerMetricsCollector

type ContainerMetricsCollector struct {
	// contains filtered or unexported fields
}

func NewContainerMetricsCollector

func NewContainerMetricsCollector(
	namespace string,
	metricsStore *metrics.Store,
) *ContainerMetricsCollector

func (ContainerMetricsCollector) Collect

func (c ContainerMetricsCollector) Collect(ch chan<- prometheus.Metric)

func (ContainerMetricsCollector) Describe

func (c ContainerMetricsCollector) Describe(ch chan<- *prometheus.Desc)

type CounterEventsCollector

type CounterEventsCollector struct {
	// contains filtered or unexported fields
}

func NewCounterEventsCollector

func NewCounterEventsCollector(
	namespace string,
	metricsStore *metrics.Store,
) *CounterEventsCollector

func (CounterEventsCollector) Collect

func (c CounterEventsCollector) Collect(ch chan<- prometheus.Metric)

func (CounterEventsCollector) Describe

func (c CounterEventsCollector) Describe(ch chan<- *prometheus.Desc)

type HttpStartStopCollector

type HttpStartStopCollector struct {
	// contains filtered or unexported fields
}

func NewHttpStartStopCollector

func NewHttpStartStopCollector(
	namespace string,
	metricsStore *metrics.Store,
) *HttpStartStopCollector

func (HttpStartStopCollector) Collect

func (c HttpStartStopCollector) Collect(ch chan<- prometheus.Metric)

func (HttpStartStopCollector) Describe

func (c HttpStartStopCollector) Describe(ch chan<- *prometheus.Desc)

type Instance

type Instance struct {
	Uris map[string]*Uri
}

type InternalMetricsCollector

type InternalMetricsCollector struct {
	// contains filtered or unexported fields
}

func NewInternalMetricsCollector

func NewInternalMetricsCollector(
	namespace string,
	metricsStore *metrics.Store,
) *InternalMetricsCollector

func (InternalMetricsCollector) Collect

func (c InternalMetricsCollector) Collect(ch chan<- prometheus.Metric)

func (InternalMetricsCollector) Describe

func (c InternalMetricsCollector) Describe(ch chan<- *prometheus.Desc)

type Method

type Method struct {
	StatusCodes    map[int32]int64
	ContentLength  *quantile.Stream
	ClientDuration *quantile.Stream
	ServerDuration *quantile.Stream
}

type Uri

type Uri struct {
	Methods map[string]*Method
}

type ValueMetricsCollector

type ValueMetricsCollector struct {
	// contains filtered or unexported fields
}

func NewValueMetricsCollector

func NewValueMetricsCollector(
	namespace string,
	metricsStore *metrics.Store,
) *ValueMetricsCollector

func (ValueMetricsCollector) Collect

func (c ValueMetricsCollector) Collect(ch chan<- prometheus.Metric)

func (ValueMetricsCollector) Describe

func (c ValueMetricsCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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