Rename Attribute
This action will rename the specified attributes from all telemetry signals that are specified in the signals
field, regardless of the source, or any other condition.
Configuration Options
actionName
actionName
actionName string
: Allows you to attach a meaningful name to the action for convenience.
- This field is optional
- Odigos does not use or assume any meaning from this field
notes
notes
notes string
: Allows you to attach notes regarding the action for convenience.
- This field is optional
- Odigos does not use or assume any meaning from this field
disabled
disabled
disabled boolean
: Allows you to temporarily disable the action, but keep it saved for future use.
- This field is optional, and defaults to
false
signals *
signals *
signals string[]
: An array with the signals that the processor will act on.
- This field is required
- Supported values:
TRACES
,METRICS
,LOGS
renames *
renames *
renames object
: A map of strings, key representing the name of the attribute to rename and values the desired name.
- This field is required
Basic Example
The following example demonstrates how to rename the deprecated net.peer.address
attribute to stable network.peer.address
in all telemetry signals.
Create a YAML file with the following content:
Apply the action to the cluster: