-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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] Simplify and add tags to logs from Datadog Exporter #16080
[exporter/datadog] Simplify and add tags to logs from Datadog Exporter #16080
Conversation
@@ -52,6 +52,7 @@ require ( | |||
github.com/Showmax/go-fqdn v1.0.0 // indirect | |||
github.com/antonmedv/expr v1.9.0 // indirect | |||
github.com/armon/go-metrics v0.3.10 // indirect | |||
github.com/benbjohnson/clock v1.3.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this being added ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This got added when I imported "go.uber.org/zap/zaptest"
in translator_test.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM
open-telemetry#16080) * Adding logic to translator * Fix trace id transform and add tests * Tags change and tests * Address requested changes * Add otel tag to logs exporter tests * Fix tags issue by setting ddtags in sender opts * Address PR changes * Change tag name and add changelog * Address PR comments * Fix if else structure * Remove logs * Fix clean up
Description:
otel_source:datadog_exporter
tag for logs sent from exporterattribute
->tag
conversion #15387 by appending to tags in attributes instead of replacing themLink to tracking Issue: #15387
Testing: Added unit tests in
translator_test.go