Documentation ¶
Index ¶
- func AddErrPrefix(prefix string, in error) error
- func ChangeResourceAttributeValue(res pcommon.Resource, attr string, changeFn func(string) string)
- func CompareAttributes(expected, actual pcommon.Map) error
- func CompareDroppedAttributesCount(expected, actual uint32) error
- func CompareInstrumentationScope(expected, actual pcommon.InstrumentationScope) error
- func CompareResource(expected, actual pcommon.Resource) error
- func CompareSchemaURL(expected, actual string) error
- func MaskResourceAttributeValue(res pcommon.Resource, attr string)
- func MatchResourceAttributeValue(res pcommon.Resource, attr string, re *regexp.Regexp)
- func OrderMapByKey(input map[string]any) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddErrPrefix ¶ added in v0.71.0
AddErrPrefix adds a prefix to every multierr error.
func ChangeResourceAttributeValue ¶ added in v0.80.0
func CompareAttributes ¶ added in v0.71.0
func CompareDroppedAttributesCount ¶ added in v0.71.0
func CompareInstrumentationScope ¶ added in v0.71.0
func CompareInstrumentationScope(expected, actual pcommon.InstrumentationScope) error
func CompareResource ¶ added in v0.71.0
func CompareSchemaURL ¶ added in v0.71.0
func MatchResourceAttributeValue ¶ added in v0.89.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.