-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
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
All rules not working when one value mapping rule get the "null" metric #65
Comments
Hi Sunor, BR |
what is the type of your value ? string ? number ? date ? |
Panel data error: TypeError: Cannot read property 'toString' of null
|
I think i fix it during my lunch, can you try it ? |
You're welcome 👍 Can i had you screenshot for tweeter and gallery ? BR |
i know why, i think i come back for null value but you can change it into value mapping. |
Can you try the last build and map 'null' with 'Error' ? |
Hi Arnaud,
I want to report a bug, would you help to check?
[Issue]: All Text Mapping and Value Mapping rules will be not working when a Value Mapping rule get the "null " metric value.
[Version]: 0.4.0
[Reproduce Steps]:
1. Create a panel and add some mapping rules.
2. Panel display normally.
3. Due to some database networking issue, grafana may query some metrics with "null" value sometimes. If this metric is bonding to a value mapping rule, then all rules will be not working. And there will an error cannot read property "toString" of null
[Desired result]: It should only affect the specific rule that have the problem, instead of broking all rules.
The text was updated successfully, but these errors were encountered: