serverimpl

package
v0.0.0-...-e70f483 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 61 Imported by: 0

Documentation

Overview

Package dogstatsd implements DogStatsD.

Package serverimpl implements a component to run the dogstatsd server

Index

Constants

This section is empty.

Variables

View Source
var (

	//nolint:revive // TODO(AML) Fix revive linter
	CardinalityTagPrefix = constants.CardinalityTagPrefix
)

Functions

func GetDefaultMetricSource

func GetDefaultMetricSource() metrics.MetricSource

GetDefaultMetricSource returns the default metric source based on build tags

Types

type Provides

type Provides struct {
	compdef.Out

	Comp          server.Component
	StatsEndpoint api.AgentEndpointProvider
}

Provides defines the output of the dogstatsd server component.

func NewComponent

func NewComponent(deps dependencies) Provides

TODO: (components) - merge with newServerCompat once NewServerlessServer is removed NewComponent creates a new dogstatsd server component.

type ServerlessDogstatsd

type ServerlessDogstatsd interface {
	server.Component
	Stop()
}

ServerlessDogstatsd is the interface for the serverless dogstatsd server.

func NewServerlessServer

func NewServerlessServer(demux aggregator.Demultiplexer, extraTags []string) (ServerlessDogstatsd, error)

Jump to

Keyboard shortcuts

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