operatorhelper

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package operatorhelper contains the helper functions for stanza operators

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BpMapSeverityNameToNumber added in v1.26.0

func BpMapSeverityNameToNumber(severity string) int

BpMapSeverityNameToNumber maps from severity strings to plog SeverityNumbers

func BpRenderStandardParsingOperator

func BpRenderStandardParsingOperator(
	parseFormat string,
	parseTo string,
	regexPattern string,
	parseTimestamp bool,
	timestampField string,
	timezone string,
	parseTimestampFormat string,
	epochTimestampFormat string,
	manualTimestampFormat string,
	parseSeverity bool,
	severityField string,
) string

BpRenderStandardParsingOperator renders a parsing operator for stanza-based OTEL receivers as a line of inline YAML. This helper function should only be used when parseFormat is not "none", otherwise an empty object is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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