Add the alloc label for loki command

This commit is contained in:
Daniel Berteaud 2024-03-25 14:04:18 +01:00
parent 9a14ef5d3b
commit 5c063b2321
1 changed files with 1 additions and 1 deletions

2
ctctl
View File

@ -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