veneur: github.com/stripe/veneur/sinks/ssfmetrics Index | Files

package ssfmetrics

import "github.com/stripe/veneur/sinks/ssfmetrics"

Package ssfmetrics provides sinks that are used by veneur internally.

Index

Package Files

metrics.go

type DerivedMetricsSink Uses

type DerivedMetricsSink interface {
    sinks.SpanSink
    samplers.DerivedMetricsProcessor
}

DerivedMetricsSink composes the functionality of a SpanSink and DerivedMetricsProcessor

func NewMetricExtractionSink Uses

func NewMetricExtractionSink(mw []Processor, indicatorTimerName, objectiveTimerName string, cl *trace.Client, log *logrus.Logger) (DerivedMetricsSink, 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.

type Processor Uses

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.

Package ssfmetrics imports 8 packages (graph) and is imported by 4 packages. Updated 2019-08-31. Refresh now. Tools for package owners.