types

package module
v0.55.0-devel Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package types implements the types used by the Tagger for Origin Detection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OriginInfo

type OriginInfo struct {
	FromUDS       string        // FromUDS is the origin resolved using Unix Domain Socket.
	FromTag       string        // FromTag is the origin resolved from tags.
	FromMsg       string        // FromMsg is the origin resolved from the message.
	Cardinality   string        // Cardinality is the cardinality of the resolved origin.
	ProductOrigin ProductOrigin // ProductOrigin is the product that sent the origin information.
}

OriginInfo contains the Origin Detection information.

type ProductOrigin

type ProductOrigin int

ProductOrigin is the origin of the product that sent the entity.

const (
	// ProductOriginDogStatsDLegacy is the ProductOrigin for DogStatsD in Legacy mode.
	// TODO: remove this when dogstatsd_origin_detection_unified is enabled by default
	ProductOriginDogStatsDLegacy ProductOrigin = iota
	// ProductOriginDogStatsD is the ProductOrigin for DogStatsD.
	ProductOriginDogStatsD ProductOrigin = iota
	// ProductOriginAPM is the ProductOrigin for APM.
	ProductOriginAPM ProductOrigin = iota
)

Jump to

Keyboard shortcuts

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