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

[exporter/datadog] support setting the source field #34367

Closed
sudomateo opened this issue Aug 1, 2024 · 2 comments
Closed

[exporter/datadog] support setting the source field #34367

sudomateo opened this issue Aug 1, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request exporter/datadog Datadog components

Comments

@sudomateo
Copy link

Component(s)

exporter/datadog

Is your feature request related to a problem? Please describe.

I wrote up everything in DataDog/opentelemetry-mapping-go#355 since that's where the feature would need to be implemented but Datadog Support requested that I open an issue on this repository instead. I'm going out of office starting tomorrow so I wanted to get this in beforehand. I'll come back and transfer the content over nicely to this issue when I'm back.

Describe the solution you'd like

The following configuration should correctly set the source field within Datadog.

processors:
  transform:
    log_statements:
      - context: log
        statements:
          - set(attributes["ddtags"], "source:sudomateo")

Describe alternatives you've considered

N/A

Additional context

N/A

@sudomateo sudomateo added enhancement New feature or request needs triage New item requiring triage labels Aug 1, 2024
@github-actions github-actions bot added the exporter/datadog Datadog components label Aug 1, 2024
Copy link
Contributor

github-actions bot commented Aug 1, 2024

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@songy23 songy23 closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exporter/datadog Datadog components
Projects
None yet
Development

No branches or pull requests

3 participants