-
Notifications
You must be signed in to change notification settings - Fork 821
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
Refactor OTLP Metrics Exporters #3276
Comments
Yes implementing this way should be possible. I originally introduced this as to not bloat up the PRs (#2871, #2893), as they were already way too large at that time. The reason for that was that the OTLP Exporter expects a list of objects passed to the My original intention was always to follow up with more refactoring PRs to simplify the exporters (and their tests), but I unfortunately never came around to doing it. If needed, I can prioritize this. 🙂 |
No, not in a hurry as it is working now. I was opening this issue to see if this is intentional and if not we can track the progress here. Thank you for the clarification. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
With #5031 this now becomes a bit more actionable. I'll refine this issue once the PR is merged to reflect what needs to be done in a bit more detail. 🙂 |
Actually, the leftovers from this can be handled in one simple follow-up. #5031 removes the last of these proxy implementations. Once it is merged, I'll follow up with another PR to removing the array-wrapping inside the exporters, as that can be handled by the json/proto serializers (away from the public API) now. |
Assigning myself since #5159 will fix this 🙂 |
Currently, we have OTLP trace exporters to be implemented in an inherited class pattern:
On the other hand, the OTLP metric exporters are not in this pattern. The base OTLP metric exporter, a MetricExporter, has an internal metric exporter, which also implements the MetricExporter interface. This pattern looks abstruse to me.
Can the OTLP metric exporter be implemented without the intermediate exporter?
/cc @pichlermarc
The text was updated successfully, but these errors were encountered: