serverdebug

package
v0.0.0-...-73f4ec9 Latest Latest
Warning

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

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

Documentation

Overview

Package serverdebug implements a component to run the dogstatsd server debug

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {

	// StoreMetricStats stores stats on the given metric sample.
	StoreMetricStats(sample metrics.MetricSample)

	// IsDebugEnabled gets the DsdServerDebug instance which provides metric stats
	IsDebugEnabled() bool
	// SetMetricStatsEnabled enables or disables metric stats tracking
	SetMetricStatsEnabled(bool)

	// GetJSONDebugStats returns a json representation of debug stats
	GetJSONDebugStats() ([]byte, error)
}

Component is the component type.

Directories

Path Synopsis
Package serverdebugimpl implements a component to run the dogstatsd server debug
Package serverdebugimpl implements a component to run the dogstatsd server debug

Jump to

Keyboard shortcuts

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