telemetrytest

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNopRegistry

func NewNopRegistry() telemetry.Registry

Types

type SenderSink

type SenderSink struct {
	telemetry.Recorder
	StartCount *atomic.Int64
	StopCount  *atomic.Int64
}

func NewSenderSink

func NewSenderSink() *SenderSink

NewSenderSink returns a Sender that acts like a sink and stores all calls to the record functions for testing.

func (SenderSink) Start

func (s SenderSink) Start()

func (SenderSink) Stop

func (s SenderSink) Stop()

Jump to

Keyboard shortcuts

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