empty

package
v0.0.0-...-304f7d3 Latest Latest
Warning

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

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

Documentation

Overview

Package empty implements empty functions for the tagger component interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tagger

type Tagger struct{}

Tagger struct to embed in other taggers that do not implement some of the tagger component functions

func (*Tagger) AgentTags

func (t *Tagger) AgentTags(types.TagCardinality) ([]string, error)

AgentTags returns the agent tags It relies on the container provider utils to get the Agent container ID

func (*Tagger) ChecksCardinality

func (t *Tagger) ChecksCardinality() types.TagCardinality

ChecksCardinality defines the cardinality of tags we should send for check metrics

func (*Tagger) DogstatsdCardinality

func (t *Tagger) DogstatsdCardinality() types.TagCardinality

DogstatsdCardinality defines the cardinality of tags we should send for metrics from dogstatsd.

func (*Tagger) EnrichTags

EnrichTags extends a tag list with origin detection tags

func (*Tagger) GetEntityHash

func (t *Tagger) GetEntityHash(string, types.TagCardinality) string

GetEntityHash returns the hash for the tags associated with the given entity Returns an empty string if the tags lookup fails

func (*Tagger) GlobalTags

func (t *Tagger) GlobalTags(types.TagCardinality) ([]string, error)

GlobalTags queries global tags that should apply to all data coming from the agent.

func (*Tagger) ResetCaptureTagger

func (t *Tagger) ResetCaptureTagger()

ResetCaptureTagger resets the capture tagger to nil

func (*Tagger) SetNewCaptureTagger

func (t *Tagger) SetNewCaptureTagger(tagger.Component)

SetNewCaptureTagger sets the tagger to be used when replaying a capture

Jump to

Keyboard shortcuts

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