Skip to content

Missing the Attributors Processor #102

@matheuscanela

Description

@matheuscanela

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]```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions