-
Notifications
You must be signed in to change notification settings - Fork 2.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
querier: Add a flag to limit time range for metadata APIs (Labels and Series) #3147
Conversation
bbf36a1
to
87bd71b
Compare
f84bd95
to
c751c96
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.
Looks perfect!
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!
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
8b26236
to
1ebbb5c
Compare
friendly ping @bwplotka |
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.
Amazing, thanks! Some suggestion, otherwise LGTM 👍
Implement time ranges for series API Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@bwplotka Addressed the raised issues and included |
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
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, 👍
Thanks! 💪
I think it would be amazing to actually propose changing the default for this being ~1d or something in next release (:
Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com
WIP
Ref #3119
Fixes #1811
Changes
query.metadata.default-time-range
flag to specify the default look-back duration for retrieving labels through Labels APIs when time range parameters are not specified.Verification
make test-local