cf291a5d9f
- Update to version 10.0.2: * Features and enhancements - Alerting: Add limit query parameter to Loki-based ASH api, drop default limit from 5000 to 1000, extend visible time range for new ASH UI. - Alerting: Allow selecting the same custom group when swapping folders. - Alerting: Move rule UID from Loki stream labels into log lines. - Explore: Clean up query subscriptions when a query is canceled. * Bug fixes - Logs: Fix wrong before and after texts in log context. - Alerting: Add file and rule_group query params in request for filtering the res…. - Alerting: Convert 'Both' type Prometheus queries to 'Range' in migration. - Alerting: Display correct results when using different filters on alerting panels. - Alerting: Fix HA alerting membership sync. - Alerting: Fix unique violation when updating rule group with title chains/cycles. - Dashboard: Fix issue where a panel with a description and a cached response displays 2 info icons. - Elasticsearch: Make it compatible with the new log context functionality. - Fix: Change getExistingDashboardByTitleAndFolder to get dashboard by title, not slug. - LogContext: Fix filtering out log lines with the same entry. - Login: Fix footer from displaying under the login box. - Navigation: Fix toolbar actions flickering on mobile. - Variables: Detect a name for duplicated variable. - XYChart: Ensure color scale is field-local and synced with data updates. - XYChart: Fix axis range and scale overrides. * Plugin development fixes & changes - Grafana UI: Fix behaviour regression on Tooltip component. OBS-URL: https://build.opensuse.org/request/show/1098331 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=113 |
||
---|---|---|
_constraints | ||
_service | ||
_servicedata | ||
.gitattributes | ||
.gitignore | ||
0001-Add-source-code-reference.patch | ||
grafana-10.0.2.tar.gz | ||
grafana-rpmlintrc | ||
grafana.changes | ||
grafana.spec | ||
Makefile | ||
README | ||
vendor.tar.gz |
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>