blackhole

package
v13.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: MIT Imports: 5 Imported by: 0

README

Blackhole Sink

This sink sends Veneur metrics to nowhere.

Configuration

Can only be added by manually inserting it into the server's sinks.

Status

This sink is for testing and benchmark purposes. We're unsure why else you wan't to use this.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBlackholeMetricSink

func NewBlackholeMetricSink() (*blackholeMetricSink, error)

NewBlackholeMetricSink creates a new blackholeMetricSink. This sink does nothing at flush time, effectively "black holing" any metrics that are flushed. It is useful for tests that do not require any inspect of flushed metrics.

func NewBlackholeSpanSink

func NewBlackholeSpanSink() (*blackholeSpanSink, error)

NewBlackholeSpanSink creates a new blackholeSpanSink. This sink does nothing at flush time, effectively "black holing" any spans that are flushed. It is useful for tests that do not require any inspect of flushed spans.

Types

This section is empty.

Jump to

Keyboard shortcuts

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