Documentation
¶
Overview ¶
Package empty implements empty functions for the tagger component interface.
Index ¶
- type Tagger
- func (t *Tagger) AgentTags(types.TagCardinality) ([]string, error)
- func (t *Tagger) ChecksCardinality() types.TagCardinality
- func (t *Tagger) DogstatsdCardinality() types.TagCardinality
- func (t *Tagger) EnrichTags(tagset.TagsAccumulator, taggertypes.OriginInfo)
- func (t *Tagger) GetEntityHash(string, types.TagCardinality) string
- func (t *Tagger) GlobalTags(types.TagCardinality) ([]string, error)
- func (t *Tagger) ResetCaptureTagger()
- func (t *Tagger) SetNewCaptureTagger(tagger.Component)
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 ¶
func (t *Tagger) EnrichTags(tagset.TagsAccumulator, taggertypes.OriginInfo)
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 ¶
SetNewCaptureTagger sets the tagger to be used when replaying a capture