Bug 1725278

Summary: Rebase of grafana
Product: Red Hat Enterprise Linux 8 Reporter: Mark Goodwin <mgoodwin>
Component: grafanaAssignee: Mark Goodwin <mgoodwin>
Status: CLOSED ERRATA QA Contact: Jan Kurik <jkurik>
Severity: high Docs Contact: Apurva Bhide <abhide>
Priority: unspecified    
Version: 8.2CC: abhide, agerstmayr, nathans, patrickm, tbowling
Target Milestone: rcKeywords: Rebase
Target Release: 8.2   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
.`grafana` rebased to version 6.3.6 The `grafana` package has been upgraded to version 6.3.6, which provides multiple bug fixes and enhancements. Notable changes include: * Database: Rewrites system statistics query for better performance. * Explore: ** Fixes query field layout in split view for the Safari browsers. ** Adds Live option for the supported data sources, adds the `orgId` to URL for sharing purposes. ** Adds support for the new `loki` `start` and `end` parameters for labels endpoint. ** Adds support for toggling raw query mode in the Explore, allow switching between metrics and logs. ** Displays log lines context, does not parse log levels if provided by field or label. ** Supports new `LogQL` filtering syntax. ** Uses new `TimePicker` from Grafana/UI. ** Handles newlines in the `LogRow` Highlighter. ** Fixes browsing back to the dashboard panel. ** Fixes filter by series level in logs graph. ** Fix issues when loading and graph/table are collapsed. ** Fixes the selection/copy of log lines. * Dashboard: Fixes dashboards `init` failed loading error for dashboards with panel links that had missing properties, and fixes timezone dashboard setting while exporting to the comma-separated values (CSV) Data links. * Editor: Fixes issue where only entire lines were being copied. * LDAP: Integration of the `multi ldap` and `ldap` authentication components. * Profile/UserAdmin: Fixes user agent parser crashing the `grafana-server` on 32-bit builds. * Prometheus: ** Prevents panel editor crash while switching to the `Prometheus` data source, changes `brace-insertion` behaviour to be less annoying. ** Fixes queries with the `label_replace` and removes the $1 match when loading the query editor. ** Consistently allows multi-line queries in the editor, taking timezone into account for the step alignment. ** Uses the overridden panel range for `$__range` instead of the dashboard range. ** Adds time range filter to series labels query, escapes `|` literals in the interpolated `PromQL` variables. ** Fixes while adding labels for metrics which contain colons in the Explore. * Auth: Allows expiration of the API keys, returns device, os and browser while listing user auth tokens in HTTP API, supports list and revoke of user auth tokens in UI. * DataLinks: Correctly applies scoped variables to the data links, follows timezone while displaying datapoint timestamp in the graph context menu, uses datapoint timestamp correctly when interpolating the variables, fixes the incorrect interpolation of the `${__series_name}`. * Graph: Fixes legend issue clicking on series line icon and issue with horizontal scrollbar being visible on windows, adds new fill gradient option. * Graphite: Avoids the glob of single-value array variables, fixes issues with alias function being moved last, fixes issue with the `seriesByTag` & function with variable parameter, uses `POST` for `/metrics/find` requests. * TimeSeries: Assumes values are all numbers. * Gauge/BarGauge: Fixes issue with lost thresholds and an issue loading Gauge with the `avg` stat. * PanelLinks: Fixes crash issue with Gauge & Bar Gauge panels with panel links (drill down links), fixes render issue while there is no panel description. * OAuth: Fixes the `missing saved state` OAuth login failure due to SameSite cookie policy, fixes for wrong user token updated on the `OAuth` refresh in DS proxy. * Auth Proxy: Includes additional headers as a part of the cache key. * `cli`: Fix for recognizing when in dev mode, fixes the issue of `encrypt-datasource-passwords` failing with the sql error. * Permissions: Show plugins in the navigation for non admin users but hides plugin configuration. * TimePicker: Increases max height of quick range dropdown and fixes style issue for custom range popover. * Loki: Displays live tailed logs in correct order in the Explore. * Timerange: Fixes a bug where custom time ranges were not following the Universal Time Coordinated (UTC). * `remote_cache`: Fixes the `redis connstr` parsing. * Alerting: Add tags to alert rules, attempts to send email notifications to all the given email addresses, improves alert rule testing, support for configuring the content field for the `Discord` alert notifier. * Alertmanager: Replaces illegal characters with underscore in the label names. * AzureMonitor: Changes clashing built-in Grafana variables or macro names for the Azure Logs. * CloudWatch: Made region visible for Amazon Web Services (AWS) Cloudwatch Expressions, adds the AWS `DocDB` metrics. * GraphPanel: Do not sort series when legend table and sort column is not visible. * InfluxDB: Supports visualizing logs in the Explore. * MySQL/Postgres/MSSQL: Adds parsing for day, weeks, and year intervals in macros, adds support for periodically reloading client certs. * Plugins: Replaces the `dataFormats` list with the `skipDataQuery` flag in the `plugin.json` file. * Refresh picker: Handles empty intervals. * Singlestat: Add `y` min/max configuration to the singlestat sparklines. * Templating: Correctly displays the `__text` in the multi-value variable after page reloads, supports selecting all the filtered values of a multi-value variable. * Frontend: Fixes Json tree component not working issue. * InfluxDB: Fixes issues with single quotes not escaped in the label value filters. * Config: Fixes the `connectionstring` option for the `remote_cache` in the `defaults.ini` file. * Elasticsearch: Fixes the empty query (via template variable) should be sent as wildcard, fixes the default max concurrent shard requests, supports visualizing logs in the Explore. * TablePanel: Fixes the annotations display. * Grafana-CLI: Fixes receiving flags via command line, wrapper for the `grafana-cli` within the `RPM/DEB` packages and `config/homepath` are now global flags. * HTTPServer: Fixes the `X-XSS-Protection` header formatting, options for returning new headers `X-Content-Type-Options`, `X-XSS-Protection` and `Strict-Transport-Security`, fixes the `Strict-Transport-Security` header, serves Grafana with a custom URL path prefix.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:54:49 UTC Type: Component Upgrade
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1746913, 1755139    

Description Mark Goodwin 2019-06-29 00:22:33 UTC
Rebase Grafana package for RHEL-8.2.0. Exact version depends on upstream, but likely grafana-6.3.x since that is current master branch.

Comment 1 Mark Goodwin 2019-06-29 00:24:07 UTC
update cc. Assignee will need to be changed to grafana-maint once that address is known to bugzilla.

Comment 9 Mark Goodwin 2019-11-26 04:03:05 UTC
Added doctext for grafana-6.2.2 rebase to grafana-6.3.6

Comment 16 errata-xmlrpc 2020-04-28 15:54:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1659