Skip to content
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

Metrics summary API - Validate the requested time range #2902

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

mdisibio
Copy link
Contributor

@mdisibio mdisibio commented Sep 7, 2023

What this PR does:
Returns an error from the metrics summary API if the time range in the request looks back further than the available data. For instance if the local blocks processor is only configured to store 1 hour of data, and the caller requests the past 24 hours, then it will return an error.

Which issue(s) this PR fixes:
Fixes n/a

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@mdisibio mdisibio merged commit 8d1b150 into grafana:main Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants