package
3.65.0
Repository: https://github.com/jeffail/benthos.git
Documentation: pkg.go.dev

# Functions

MappingFieldSpec is a field spec that describes a Bloblang mapping for renaming metrics.
NewMapping parses a Bloblang mapping and returns a metrics mapping.
NewNamespaced wraps a metrics exporter and adds prefixes and custom labels.

# Structs

Mapping is a compiled Bloblang mapping used to rewrite metrics.
Namespaced wraps a child metrics exporter and exposes a metrics.Type API that adds namespacing labels and name prefixes to new metrics.