filtermetric

package
v0.0.0-...-784e287 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package filtermetric is a helper package for processing metrics.

Index

Constants

This section is empty.

Variables

View Source
var UseOTTLBridge = featuregate.GlobalRegistry().MustRegister(
	"filter.filtermetric.useOTTLBridge",
	featuregate.StageAlpha,
	featuregate.WithRegisterDescription("When enabled, filtermetric will convert filtermetric configuration to OTTL and use filterottl evaluation"),
	featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/18642"),
)

Functions

func NewSkipExpr

NewSkipExpr creates a BoolExpr that on evaluation returns true if a metric should NOT be processed or kept. The logic determining if a metric should be processed is based on include and exclude settings. Include properties are checked before exclude settings are checked.

Types

This section is empty.

Jump to

Keyboard shortcuts

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