Bug 1925878

Summary: [RFE] Create links from Grafana to RHVM
Product: [oVirt] ovirt-engine-dwh Reporter: Aviv Litman <alitman>
Component: GrafanaAssignee: Aviv Litman <alitman>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.4CC: emarcus, gdeolive, mperina, sradco
Target Milestone: ovirt-4.5.0Keywords: FutureFeature
Target Release: 4.5.0Flags: mperina: ovirt-4.5+
alitman: planning_ack?
mperina: devel_ack+
gdeolive: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-dwh-4.5.0 Doc Type: Enhancement
Doc Text:
With this release, a link has been added to all Grafana dashboards that allows you to quickly access the Red Hat Virtualization Administration Portal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-23 06:21:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1931939    
Bug Blocks: 2041216    

Description Aviv Litman 2021-02-07 07:25:50 UTC
We want to create links FROM Grafana to RHVM, if a user sees data on an entity in Grafana portal (such as cluster, hosts, vm..) the link leads to the Administration Portal where data on the entity can be seen there as well.

Comment 1 Pavel Novotny 2022-05-06 21:45:42 UTC
Verified in
ovirt-engine-4.5.0.6-0.7.el8ev.noarch
ovirt-engine-dwh-4.5.2-1.el8ev.noarch

The oVirt dashboards now have links to relevant page(s) in Webadmin.
For example there is new link "Administration Portal: Virtual Machines" in the oVirt Trend Dashboards / 03 Virtual Machines Trend Dashboard
that points to the VM list in Webadmin if none or more VMs are selected in the filter, or to a particular VM detail page if only one VM is selected.


I just found few dashboards that seem to be inconsistent with this behavior:

oVirt Inventory Dashboards:
- 02 Hosts Inventory Dashboard
- 03 Storage Domains Inventory Dashboard
- 04 Virtual Machines Inventory Dashboard

The links to Webadmin are hard-coded to #hosts , #storage and #vms and they don't include parameter like $host_name_url, $storage_name_url or $vm_name_url that would point to a particular host/storage/VM detail page in case that one is selected in the filter.
But if this is intended, then please disregard this comment.