Go to file
Witek Bedyk 159254a17b Accepting request 1078603 from home:mkittler:branches:server:monitoring
- Update to 9.4.7 (2023-03-16)
  * Bug fixes
    - Alerting: Update scheduler to receive rule updates only
      from database.
    - Influxdb: Re-introduce backend migration feature toggle.
    - Security: Fixes for CVE-2023-1410.
  * Breaking changes
    The InfluxDB backend migration feature toggle
    (influxdbBackendMigration) has been reintroduced in this
    version as issues were discovered with backend processing of
    InfluxDB data. Unless this feature toggle is enabled, all
    InfluxDB data will be parsed in the frontend. This frontend
    processing is the default behavior.
    In Grafana 9.4.4, InfluxDB data parsing started to be handled
    in the backend. If you have upgraded to 9.4.4 and then added
    new transformations on InfluxDB data, those panels will fail to
    render. To resolve this either:
    - Remove the affected panel and re-create it
    - Edit the `time` field as `Time` in `panel.json` or
      `dashboard.json`
- Remove 0002-Update-exporter-toolkit-to-version-0.7.3.patch
  as the exporter toolkit has been updated by upstream
- Install wrapper scripts under /usr/sbin
- Install actual binaries under /usr/libexec/grafana (or /usr/lib
  under older distributions) and create a simlink for wrapper
  scripts and the service (which expect the binary to be under
  /usr/share/grafana/bin)
- Update to 9.4.3 (2023-03-02)
  * Bug fixes
    - Alerting: Use background context for maintenance
      function.
- Update to 9.4.2 (2023-03-02)
  * Bug fixes
    - Alerting: Fix boolean default in migration from false to
      0.
- Update to 9.4.0 (2023-02-28)
  * Features and enhancements
    - Alerting: Add endpoint for querying state history.
    - Alerting: Add label query parameters to state history
      endpoint.
    - Alerting: Add static label to all state history entries.
    - Alerting: Mark AM configuration as applied.
    - Azure Monitor: Enable multiple resource queries.
    - InfluxDB: Move database information into jsondata.
    - Query Caching: Add per-panel query caching TTL.
    - Table: Add row number column option.
    - Tempo: Remove tempoApmTable feature flag.
    - Transformations: Selectively apply transformation to
      queries.
  * Bug fixes
    - AccessControl: Clear user permission cache for update org
      user role.
    - Alerting: Fix handling of special floating-point cases
      when writing observed values to annotations.
    - Auth: Rotate token patch.
    - ContextMenu: Consider y coord when determining bottom
      collision.
    - Elasticsearch: Fix consistent label order in alerting.
    - Explore: Fix graph not updating when changing config.
    - Heatmap: Support heatmap rows with non-timeseries X axis.
    - Login: Fix panic when a user is upserted by a background
      process.
    - MSSQL: Add support for macro function calls.
    - MySQL: Quote identifiers that include special characters.
    - Navigation: Sign in button now works correctly when
      served under a sub path.
    - Nested Folder: Fix for SQLite not to overwrite the parent
      on restarts.
    - PanelChrome: Adds display mode to support transparent
      option.
    - Plugins: Case-sensitive routes for standalone pages.
    - Plugins: Prefer to use the data source UID when querying.
    - SQLStore: Fix folder migration for MySQL < 5.7.
    - Search: Fix not being able to clear sort value.
    - Tempo: Fix span name being dropped from the query.
  * Plugin development fixes & changes
    - PanelChrome: Implement hover header.
- Update to 9.3.7 (2023-02-28)
  * Bug fixes
    - Alerting: Validate that tags are 100 characters or less.
    - Expressions: Fixes the issue showing expressions editor.
    - Logs: Fix stats not being updated when log results
      change.
    - Plugins: Fix circular reference in customOptions leading
      to MarshalJSON errors.
    - Time Series Panel: Fix legend text selection in Firefox.

OBS-URL: https://build.opensuse.org/request/show/1078603
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=101
2023-04-13 11:52:38 +00:00
_constraints Accepting request 967538 from home:jordimassaguerpla:branches:server:monitoring:add_constraints_to_grafana 2022-04-07 15:58:22 +00:00
_service Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
_servicedata Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
.gitattributes Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
.gitignore Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
0001-Add-source-code-reference.patch Accepting request 1066405 from home:mkittler:branches:server:monitoring 2023-02-22 08:46:39 +00:00
grafana-9.4.7.tar.gz Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
grafana-rpmlintrc Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
grafana.changes Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
grafana.spec Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
Makefile Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
README Accepting request 874474 from home:tserong:branches:server:monitoring 2021-02-26 14:07:38 +00:00
vendor.tar.gz Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00

The tarball is generated via the OBS source service, but Grafana
needs to ship the compiled frontend assets as well, which have to
be built by running yarn inside the source tree (see
https://github.com/grafana/grafana/blob/master/contribute/developer-guide.md#frontend).
This can't be done at build time on OBS, because it involves
downloading and installing packages from the internet, so instead
we have a Makefile which does the following:

- Runs `osc service disabledrun` to get the latest source tarball
- Unpacks the tarball to a temporary directory
- Runs `yarn install --pure-lockfile && yarn build`
- Adds the generated "vendor" and "public" content to the tarball,
  then compresses it with xz.
- The tarball can then be used by OBS to build an RPM.

In order for this to work you need to have npm >= 14 and yarn installed.

  # zypper in npm14
  # zypper in obs-service-download_files obs-service-go_modules \
        obs-service-obs_scm
  # npm install -g yarn

Then, to package a new release of Grafana, run `make` then `osc ci`
and you should be good.

If you have a patch for the Javascript frontend to apply you need
to do the following:

- Create the patch and add it with `osc add <PATCH>` to the repo
- Open the Makefile
- Add after the `cd $$basename && \` the patch with:
  `patch -p1 < ../../000x-<NAME>.patch && \`
- Do NOT add the patch to the Specfile.
- Then use the process of building Grafana as described above.

Please direct any questions to Tim Serong <tserong@suse.com>
If Tim is not available you may also contact Enno Gotthold <egotthold@suse.de>