Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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/kafka] Impelement partitioning for OTLP metrics #31315
[exporter/kafka] Impelement partitioning for OTLP metrics #31315
Changes from 7 commits
1380a2a
5123395
25a8d77
a813b9f
c773a31
d6745b2
e8a2ce6
a78e71a
82c9e64
740ec99
deca155
ccd1fef
65bcb4a
e536f98
25c61a5
9b4bea7
ca9f993
a11531b
244ca03
b4e20e9
925ed8b
1f43023
593702b
b602a8b
088c4ae
4390dfe
7802c17
fb81f66
dcc32bb
d4ae3df
db57263
9df70f1
6e34560
3ba71b2
9474705
13d6284
e09d644
965631f
b66537a
5c5502d
6203927
2628a01
e56a50e
c74f6c7
4e5ee2f
8784607
d161c6b
f14f588
22dd715
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 control is super confusing. It's unclear what
Key
is doing and why it's needed. I believe the flag can be simply sent to thenewPdataMetricsMarshaler
constructor. And there is no need to expose theKeyableMetricsMarshaler
API here.I understand that you are doing it consistently with what's already done for tracing. We can keep it as is, but should be refactored later for both metrics and traces. Feel free to submit an issue if you agree.
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.
If you don't mind, I would prefer to leave it as is for now and refactor it in next PR. I am planing to raise it shortly for logs partitioning by resources.
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.
Yes, that's what I suggesting