You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…rafana#3269)
* Split List and Load methods in the RuleStore.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Added tests for rule store loading.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* CHANGELOG.md
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Fix compilation errors.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Make sure to load listed rules.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Fix rule groups.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Fixed compilation error.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Review feedback.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Describe the bug
Logcli incorrectly sets the wrong query parameter for specifying the start time of a tail query, making --since/--from ineffective.
To Reproduce
Notice the query param
from
is used. It should bestart
according the API docs https://grafana.com/docs/loki/latest/api/#get-lokiapiv1tail.This results in all
logcli query --tail
requests to default to showing the last 1 hour of logs.Expected behavior
Logcli sets the
start
query parameter instead, properly filtering the logs based on the --since/--from time.Environment:
The text was updated successfully, but these errors were encountered: