At pages like https://pmmdemo.percona.com/graph/dashboard/db/_pmm-query-analytics?from=now-12h&to=now&orgId=1&var-host=All (and all QAN related )
We can pass var-host parameter to identify Host we need data for.
We need to improve Error message. Thre 3 cases available:
- var-host = "All" (in any case ) or not set (For QAN, note it can empty in URL but set in the dashboard)- we need to display text : "Please select the Database Host from the Host selector on the top of the page"
- var-host = Host existed in the system BUT it does not have any Data during this period of time. The message we need to display: "There no data from this host for this period. Maybe monitoring wasn't available at this moment. Please select wider period of time or wait for several minutes to collect some data "
- var-host = Hostname did not exist in the system. Error message - we have now about Adding Hosts