Hi I get this error with "amtool"
amtool: error: [GET /alerts][400] getAlertsBadRequest matcher value contains unescaped double quote: instance=~".+rem-prod.+" team="OMNR2"
This the relevant snippet QUERY_STRING='instance=~".+rem-prod.+" team="OMNR2"' COUNTER=0 until [[ -z $ALERTS ]] doALERTS=$("${WORKSPACE}"/amtool --tls.insecure.skip.verify --alertmanager.url="$ENDPOINT" -o extended alert query "$QUERY_STRING" | grep -w active)
[[ $COUNTER -gt 600 ]] && echo "(..)
done
kind regards
Evelyn
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/2c17aaf8-962c-a131-a8c6-3b6286e829d3%40disroot.org.
OpenPGP_0x61776FA8E38403FB.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature

