tag

package
v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TagJoinType = "label_join"

TagJoinType joins the values of given tags using a given separator and adds them to a given destination tag. It can combine any number of tags. NB: This will override an existing tag if the given tag exists in the tag list.

View Source
const TagReplaceType = "label_replace"

TagReplaceType creates a new tag for all metrics containing a tag with the given name whose value matches the given regex. NB: This does not actually remove the original tag, but will override the existing tag if the source and destination name parameters are equal.

Variables

This section is empty.

Functions

func NewTagOp

func NewTagOp(
	opType string,
	params []string,
) (parser.Params, error)

NewTagOp creates a new tag transform operation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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