-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Cloudwatch: ListMetrics API page limit #31788
Conversation
@sunker, please add a feature write-up and link in What's new in Grafana 7.5. Thank you! |
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, small comments / suggestions really 👍
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.
There's also Diana's suggestion, so there's also that to be taken in account before we merge I think!
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.
Added some copy-edit suggestions.
77a52e6
to
3671951
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.
One small change request, otherwise LGTM.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Yes I'll fix later today! :) |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-31788-to-v7.5.x origin/v7.5.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x d512c5a1b49e295c1e83717c35ee77dc3c7661c3
# Push it to GitHub
git push --set-upstream origin backport-31788-to-v7.5.x
git switch master
# Remove the local backport branch
git branch -D backport-31788-to-v7.5.x Then, create a pull request where the |
* add list metrics api page limit * Update docs/sources/datasources/cloudwatch.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> (cherry picked from commit d512c5a)
* Cloudwatch: ListMetrics API page limit (#31788) * add list metrics api page limit * Update docs/sources/datasources/cloudwatch.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> (cherry picked from commit d512c5a) * update go sum * remove spaces * revert go.sum
* add list metrics api page limit * Update docs/sources/datasources/cloudwatch.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* add list metrics api page limit * Update docs/sources/datasources/cloudwatch.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
What this PR does / why we need it:
Limit the number of pages being returned by the ListMetrics API. By default, the limit will be 500 pages, but that can be overruled by specifying
list_metrics_page_limit
in the grafana.ini.Which issue(s) this PR fixes:
Fixes #31597