internal

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddErrPrefix added in v0.71.0

func AddErrPrefix(prefix string, in error) error

AddErrPrefix adds a prefix to every multierr error.

func ChangeResourceAttributeValue added in v0.80.0

func ChangeResourceAttributeValue(res pcommon.Resource, attr string, changeFn func(string) string)

func CompareAttributes added in v0.71.0

func CompareAttributes(expected, actual pcommon.Map) error

func CompareDroppedAttributesCount added in v0.71.0

func CompareDroppedAttributesCount(expected, actual uint32) error

func CompareInstrumentationScope added in v0.71.0

func CompareInstrumentationScope(expected, actual pcommon.InstrumentationScope) error

func CompareResource added in v0.71.0

func CompareResource(expected, actual pcommon.Resource) error

func CompareSchemaURL added in v0.71.0

func CompareSchemaURL(expected, actual string) error

func MaskResourceAttributeValue

func MaskResourceAttributeValue(res pcommon.Resource, attr string)

func MatchResourceAttributeValue added in v0.89.0

func MatchResourceAttributeValue(res pcommon.Resource, attr string, re *regexp.Regexp)

func OrderMapByKey added in v0.116.0

func OrderMapByKey(input map[string]any) map[string]any

Types

This section is empty.

Jump to

Keyboard shortcuts

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