Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranslator ¶
func NewTranslator(opts ...common.TranslatorOption) common.ComponentTranslator
func WithAttributes ¶ added in v1.300071.0
func WithAttributes(attrs map[string]string) common.TranslatorOption
func WithReservedKeys ¶ added in v1.300071.0
func WithReservedKeys(keys ...string) common.TranslatorOption
WithReservedKeys rejects the given attribute keys in the static-attributes path so customer-supplied resource_attributes cannot clobber attributes the agent manages internally (e.g. log routing keys).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.