Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop some default trace attributes for better storage #4981

Open
ankitnayan opened this issue May 11, 2024 · 0 comments
Open

Drop some default trace attributes for better storage #4981

ankitnayan opened this issue May 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request storage traces

Comments

@ankitnayan
Copy link
Collaborator

process.runtime.description
telemetry.distro.name
process.executable.path
process.runtime.name
process.command_args

Use example processor like the below:

  attributes/drop_fields:
    actions:
      - key: process.runtime.description
        action: delete
      - key: telemetry.distro.name
        action: delete
      - key: process.executable.path
        action: delete
      - key: process.runtime.name
        action: delete
      - key: process.command_args
        action: delete

Add the above processor to the pipelines

service:
  pipelines:
    traces:
      receivers: [...]
      processors: [..., attributes/drop_fields, ...]
      exporters: [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request storage traces
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants