-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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/datadogexporter] Use a Consumer
interface for decoupling from zorkian's package
#5315
[exporter/datadogexporter] Use a Consumer
interface for decoupling from zorkian's package
#5315
Conversation
32db07a
to
0499a8e
Compare
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.
Left two comments, but otherwise LGTM
exporter/datadogexporter/internal/translator/metrics_translator.go
Outdated
Show resolved
Hide resolved
2bf0b97
to
8a3d299
Compare
7f81efb
to
1686b0e
Compare
1686b0e
to
7f25329
Compare
* [exporter/datadogexporter] Copy main branch contents * Decouple translator configuration from Collector configuration (open-telemetry/opentelemetry-collector-contrib#5270) * Use a `Consumer` interface for decoupling from zorkian's package (open-telemetry/opentelemetry-collector-contrib#5315) * Make tests pass
This adds a comment added originally on: - DataDog/datadog-agent@a258ba7,
@KSerrania mind having one last look? One 'easy' way to make sure everything is okay is by doing a |
Please rebase |
@KSerrania ping |
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.
LGTM, I also checked the diff between exporter/datadogexporter/internal/translator
here and pkg/otlp/model/translator
in datadog-agent
and it looks good to me.
…emetry#5315) Signed-off-by: Kevin Earls <[email protected]>
* [exporter/datadogexporter] Copy main branch contents * Decouple translator configuration from Collector configuration (open-telemetry/opentelemetry-collector-contrib#5270) * Use a `Consumer` interface for decoupling from zorkian's package (open-telemetry/opentelemetry-collector-contrib#5315) * Make tests pass
Description:
Creates a
Consumer
interface that consumes timeseries and sketches metrics.Splits zorkian's specific code into this new interface.
Testing: Amended unit tests. Tested with end to end unit testing.
Documentation: n/a this is an internal refactor with no visible user changes.