We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to set up Alerting with Infinity. When I query an external api, I get hex values back to me
Here is an example of the data I get:
{ "result":"0x13d254b"}
Next I am trying to convert this value to decimal: $number( $formatBase( $number($.result), 10 ) )
$number( $formatBase( $number($.result), 10 ) )
But I get an error:
Failed to evaluate queries and expressions: failed to execute query A: error getting data frame from inline data. root object doesn't exist in the response. Root selector:( ${"r": $number( $formatBase( $number($.result), 10 ) ) } )
If I change the result value to a numeric type, everything works immediately.
The conversion should succeed from hexadecimal to decimal.
I don't know
No response
Grafana: Grafana v9.5.15
Infinity
The text was updated successfully, but these errors were encountered:
Seems to be an issue with the underlying JSONata library. xiatechs/jsonata-go#37
Sorry, something went wrong.
No branches or pull requests
What happened?
I am trying to set up Alerting with Infinity.
When I query an external api, I get hex values back to me
Here is an example of the data I get:
Next I am trying to convert this value to decimal:
$number( $formatBase( $number($.result), 10 ) )
But I get an error:
If I change the result value to a numeric type, everything works immediately.
What did you expect to happen?
The conversion should succeed from hexadecimal to decimal.
Did this work before?
I don't know
How do we reproduce it?
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: Grafana v9.5.15
Grafana platform?
I don't know
Datasource(s)?
Infinity
The text was updated successfully, but these errors were encountered: