-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support cumulative, delta, and pass-through exporters #840
Conversation
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.
I made an attempt at reviewing this without me having a lot of context yet. Overall based on the concept / tests, this looks like it makes sense. I don't have enough knowledge of the rest of the SDK pipeline, however, and couldn't quite follow the logic in simple.go
. I left a couple of comments / questions that may or may not make sense - feel free to correct me if what I said was totally wrong 😄
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.
Overall, this looks good. The simple integrator processing pipeline can use some work to help explain the processing and possibly could use some refactoring like @james-bebbington pointed out.
@james-bebbington and @MrAlias I think I've addressed your concerns, but you should be the judge. Thanks. |
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.
Looks good 👍
Thanks for the verbose comments in the simple integrator's Process
, they are really helpful.
Co-authored-by: Tyler Yahn <[email protected]>
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.
Overall this PR is great btw. The addition of explicitly describing metrics as Sync/Async, Adding/Grouping, etc, adds some nice clarity & cleared up a few things for me.
I have a few more suggestions around how the clarity of the integrator code might be improved. Partially raising these just to ensure my own understanding is correct 😄
Thanks @MrAlias and @james-bebbington! |
I failed to push my final commits in response to @james-bebbington. Sorry! I will roll them into a separate PR. |
(it was this chunk)
|
With these changes, Cumulative and Delta-oriented Exporters are able to request the correct kind of aggregation. This is the final step in a re-do of #799, an effort which included #808, #812, and #835.
Resolves open-telemetry/opentelemetry-proto#147.