Before this, if the user were to divide by 0.0, "Infinity" would be returned in the result and the user would get an error: "unexpected type, expected json.Number but got string". Now these values are properly set as Inf values (and also made sure to handle NaN as well).
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
testdata | Loading commit data... | |
applicationinsights-datasource.go | Loading commit data... | |
applicationinsights-datasource_test.go | Loading commit data... | |
applicationinsights-metrics.go | Loading commit data... | |
applicationinsights-metrics_test.go | Loading commit data... | |
azure-log-analytics-datasource.go | Loading commit data... | |
azure-log-analytics-datasource_test.go | Loading commit data... | |
azure-log-analytics-table-frame.go | Loading commit data... | |
azure-log-analytics-table-frame_test.go | Loading commit data... | |
azuremonitor-datasource.go | Loading commit data... | |
azuremonitor-datasource_test.go | Loading commit data... | |
azuremonitor-time.go | Loading commit data... | |
azuremonitor.go | Loading commit data... | |
insights-analytics-datasource.go | Loading commit data... | |
macros.go | Loading commit data... | |
macros_test.go | Loading commit data... | |
time-grain.go | Loading commit data... | |
time-grain_test.go | Loading commit data... | |
types.go | Loading commit data... | |
url-builder.go | Loading commit data... | |
url-builder_test.go | Loading commit data... |