From 5c063b23210cac22b91ef186c4ee1a05e9ae8d1e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 25 Mar 2024 14:04:18 +0100 Subject: [PATCH] Add the alloc label for loki command --- ctctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctctl b/ctctl index ab5d2ca..d84b246 100755 --- a/ctctl +++ b/ctctl @@ -765,7 +765,7 @@ ctctl_loki_logs(){ export LOKI_PASSWORD=$(eval ${LOKI_PWD_CMD}) fi - LOGCLI_CMD="logcli query --include-label=job --include-label=group --include-label=task" + LOGCLI_CMD="logcli query --include-label=job --include-label=group --include-label=task --include-label=alloc" echo -n "$*" | grep -qP '\{.+\}' >/dev/null 2>&1 # If a logcli filter was given, use it. Else, build one for jobs in the current dir