-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Description
Tried to use attribute processor and it doesn't seem to be compatible with Lambda/Node JS layer.
I tested the two configuration files below, but they didn't work. Is it possible to add to Lambda layer?
References:
https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/README.md#general-information
https://github.com/open-telemetry/opentelemetry-collector/tree/main/processor/attributesprocessor
Codes and Errors:
Error: Error: cannot load configuration: unknown processors type "attributes" for attributes
otlp:
protocols:
grpc:
http:
exporters:
logging:
loglevel: debug
awsxray:
index_all_attributes: true
processors:
attributes:
exclude:
match_type: strict
attributes:
- key: otel_resource_process_executable_name
service:
pipelines:
traces:
receivers: [otlp]
processors:
- attributes
exporters: [logging, awsxray]
metrics:
receivers: [otlp]
exporters: [logging]
Error: Error: cannot load configuration: unknown processors type "attributes" for attributes/delete
otlp:
protocols:
grpc:
http:
exporters:
logging:
loglevel: debug
awsxray:
index_all_attributes: true
processors:
attributes/delete:
actions:
- key: otel_resource_process_executable_name
action: delete
service:
pipelines:
traces:
receivers: [otlp]
processors: [attributes/delete]
exporters: [logging, awsxray]
metrics:
receivers: [otlp]
exporters: [logging]```
jeeshofone
Metadata
Metadata
Assignees
Labels
No labels