metrics

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package metrics provides sinks that are used by veneur internally.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricExtractionSink

func NewMetricExtractionSink(mw []Processor, timerName string, log *logrus.Logger) (sinks.SpanSink, error)

NewMetricExtractionSink sets up and creates a span sink that extracts metrics ("samples") from SSF spans and reports them to a veneur's metrics workers.

Types

type Processor

type Processor interface {
	// IngestUDP takes a single UDPMetric and processes it in the worker.
	IngestUDP(samplers.UDPMetric)
}

Processor represents a thing that can process UDPMetrics.

Jump to

Keyboard shortcuts

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