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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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