-
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
[receiver/azuremonitor] Add parameter to overwrite azure's max record size #32380
[receiver/azuremonitor] Add parameter to overwrite azure's max record size #32380
Conversation
Adding flexibility to support more use cases generally makes sense to me. Looking forward to see this touched up to pass CI. Let me know if I can help with anything. |
a3cd9a8
to
7a05879
Compare
Have rebased the branch, now CI passed |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
7a05879
to
2d59ba3
Compare
@codeboten Can I get a review for this feature please? |
2d59ba3
to
0362e6f
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
0362e6f
to
41a8264
Compare
@nslaughter @codeboten Anyone here to get this merged? |
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.
Could we add some tests here to ensure this config option is applied in the expected way? (To show that it does properly limit the max?)
41a8264
to
8e0968f
Compare
Sure, I can add tests but I'm not sure if the tests verify what you are asking for here. The |
That's a fair point. If you're able to verify the argument is being passed to the API properly that's enough for me. It's a pretty simple change here passing in the value, so I'm not too worried about it. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
8e0968f
to
1866a85
Compare
Description:
When having lots of different records of one dimension in the metric, azure by default only returns 10 of them. This setting adds the possibility to overwrite the default and specify a custom number in the config of the receiver.
Fixes #32165
Testing:
Tested fetching metrics with different configs. Do we need a unit test for this?
Documentation:
Added parameter to README