# README
Resource Processor
Status | |
---|---|
Stability | beta: traces, metrics, logs |
Distributions | core, contrib, k8s |
Issues | |
Code Owners | @dmitryax |
The resource processor can be used to apply changes on resource attributes. Please refer to config.go for the config spec.
attributes
represents actions that can be applied on resource attributes.
See Attributes Processor for more details on supported attributes actions.
Examples:
processors:
resource:
attributes:
- key: cloud.availability_zone
value: "zone-1"
action: upsert
- key: k8s.cluster.name
from_attribute: k8s-cluster
action: insert
- key: redundant-attribute
action: delete
Refer to config.yaml for detailed examples on using the processor.
# Functions
NewFactory returns a new factory for the Resource processor.