Grafana integration seems to be broken since v6.3.0
Description
Environment
Ubuntu v16.04.6 LTS
OpenNMS v24.1.2
Grafana v6.2.5 works, v6.3.0/v6.3.1/v6.3.2 don't work
Lucidchart Diagrams
Activity
Show:
Jesse White August 7, 2019 at 12:54 PM
Looks like there has been a couple changes in Grafana that broke our plugin.
1. Hidden series are no longer passed to the datasource by default.
2. If the series values we return leads with 'NaN' the whole series is ignored.
Fixed in develop with:
https://github.com/OpenNMS/opennms-helm/commit/5c226b0f7df1280da94ecfa981257cc83d9847ab
https://github.com/OpenNMS/opennms-helm/commit/f39d7079912fc4104e1e257fc67bb56d4e4962af
Fixed
Details
Details
Assignee
Jesse White
Jesse WhiteReporter
Christian Pape
Christian PapeLabels
Fix versions
Affects versions
Sprint
None
Components
Priority
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Created August 7, 2019 at 12:37 PM
Updated August 7, 2019 at 12:54 PM
Resolved August 7, 2019 at 12:54 PM
After updating Grafana to Version 6.3.2 today approximately 3/4 of my OpenNMS-based graphs are broken. It seems that this happens when I use expressions and hide the original metrics in the Query Editor. For me it looks like that when I hide a metric I'm not longer allowed to use it in an expression. My current workaround is to use v6.2.5:
# apt install grafana=6.2.5 # apt-mark hold grafana
Another workaround is not to hide the metrics and use "Add series override" to set for the metrics Lines=false, Line fill=0, Legend=false