Discover Packages
github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor
package
module
Version:
v0.151.0
Opens a new window with list of versions in this module.
Published: Apr 28, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 32
Opens a new window with list of known importers.
README
README
¶
Resource Processor
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.
Expand ▾
Collapse ▴
Documentation
¶
Package resourceprocessor implements a processor for
applying changes on resource attributes.
NewFactory returns a new factory for the Resource processor.
Config defines configuration for Resource processor.
Validate checks if the processor configuration is valid
Source Files
¶
Directories
¶
internal
metadata
Package metadata contains the autogenerated telemetry and build information for the processor/resource component.
Package metadata contains the autogenerated telemetry and build information for the processor/resource component.
Click to show internal directories.
Click to hide internal directories.