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
It seems I cannot put something like this in the config : path: '{.healthCheck[?(@.service == "APP1" && @.status == "OK")]}'
I get an error in the logs : caller=collector.go:76 level=error msg="Failed to extract json objects for metric" err="unrecognized character in action: U+0026 '&'"
Am I missing something ? this syntax seems perfectly valid in jsonpath, if I test it in https://jsonpath.com/ it just perfectly works.
Is it supported by this exporter ?
Many thanks,
Nicolas
The text was updated successfully, but these errors were encountered:
Hi, I am trying to parse a simple json and to add a "AND" condition in my filter, but it seems to give me a syntax error.
let's say my json is
It seems I cannot put something like this in the config :
path: '{.healthCheck[?(@.service == "APP1" && @.status == "OK")]}'
I get an error in the logs :
caller=collector.go:76 level=error msg="Failed to extract json objects for metric" err="unrecognized character in action: U+0026 '&'"
Am I missing something ? this syntax seems perfectly valid in jsonpath, if I test it in https://jsonpath.com/ it just perfectly works.
Is it supported by this exporter ?
Many thanks,
Nicolas
The text was updated successfully, but these errors were encountered: