Done
Details
Assignee
AlbertoAlbertoReporter
Jeff GehlbachJeff GehlbachHB Grooming Date
Apr 26, 2022HB Backlog Status
BacklogDocs Needed
NoStory Points
3Original estimate
Time tracking
No time logged2d 2h remainingComponents
Sprint
NoneFix versions
Affects versions
Priority
Minor
Details
Details
Assignee
Alberto
AlbertoReporter
Jeff Gehlbach
Jeff GehlbachHB Grooming Date
Apr 26, 2022
HB Backlog Status
Backlog
Docs Needed
No
Story Points
3
Original estimate
Time tracking
No time logged2d 2h remaining
Components
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created April 14, 2022 at 5:51 PM
Updated May 10, 2022 at 5:34 PM
Resolved April 27, 2022 at 9:49 PM
This issue is separate from, but closely related to, NMS-14109.
Steps to reproduce:
Configure the Grafana box properties and switch on rendering of the box (see docs)
Create at least one dashboard in your connected Grafana instance
Restart OpenNMS and load the landing page
Expected result: Links from Grafana box take you to the dashboards named in the link text
Actual result: Links from Grafana box take you to a "dashboard not found" page in Grafana
I've poked around behind the curtain and think I've isolated the cause. When we build the links in the Grafana box, we assume that appending the
uri
property obtained for the dashboard in question on the end of the concatenation of the configuredgrafanaProtocol
,grafanaHostname
,grafanaPort
,grafanaBasePath
, and the constant"/dashboard/"
will yield a valid URL. Evidently this used to work but broke somewhere along the way.My poking also indicates that using the
url
property, concatenated with the protocol, host, and port, should make a valid URL.