Grot (@grafanabot) and Torkel Ödegaard
e487bfb460
Variables: Fixes issue with data source variables not updating queries with variable ( #49478 ) ( #49482 )
...
(cherry picked from commit 04bc482f11 )
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-06-20 12:26:16 +02:00
Gábor Farkas
f2e1725a98
loki: no histogram for instant queries ( #50711 ) ( #51103 )
...
(cherry picked from commit 48a258f515 )
2022-06-20 12:18:10 +02:00
Grot (@grafanabot) and George Robinson
35d6b46cc8
Alerting: Add ErrImagesDone to return from withStoredImages ( #51098 ) ( #51104 )
...
(cherry picked from commit 62c2b1ec78 )
Co-authored-by: George Robinson <george.robinson@grafana.com >
2022-06-20 11:11:25 +01:00
Grot (@grafanabot)
ee52f2107d
Alerting: Add Documentation about limits of images in notifications. ( #51084 ) ( #51087 )
2022-06-20 17:54:44 +08:00
Grot (@grafanabot) and Sven Grossmann
2987020d83
LogRow: Fixed background-height when hovering and label-alignment ( #51027 ) ( #51101 )
...
* fixed logline's hover-height difference
* vertically aligned log-labels
* moved labelalignment to cells
(cherry picked from commit e350cc1d7b )
Co-authored-by: Sven Grossmann <Svennergr@gmail.com >
2022-06-20 11:23:41 +02:00
Grot (@grafanabot) and George Robinson
828c4d4926
Alerting: Update test funcs for notifications ( #51013 ) ( #51095 )
...
(cherry picked from commit 2dbaf259a7 )
Co-authored-by: George Robinson <george.robinson@grafana.com >
2022-06-20 09:30:32 +01:00
Grot (@grafanabot) and brendamuir
69136becf1
Docs: fixes redirect from unified alerting ( #51012 ) ( #51023 )
...
* Docs: fixes redirect from unified alerting
* fixes mimir alerting rule redirect
* fixes mimir alerting rule redirect
* adds slash to redirect
(cherry picked from commit 033654f93f )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2022-06-20 08:01:43 +02:00
Grot (@grafanabot) and Kyle Cunningham
977ff4d6e6
Time Series Panel: Add Null Filling and "No Value" Support ( #50907 ) ( #51065 )
...
* Use nullInsertThreshold and nullToValue in time series
* Allow for undefined timeRange to support certain candlestick uses of prepareGraphableFields
* Make sure null to value doesn't modify initial data
* Do a shallow values copy and avoid Array.push()
* Clean up null to value transformation.
* Add basic tests
* Remove redunant null threshold application flagging
* set nullThresholdApplied flag even when no null inserts were done
* Include nullThresholdApplied in test snapshot
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
(cherry picked from commit 86b785d039 )
Co-authored-by: Kyle Cunningham <codeincarnate@users.noreply.github.com >
2022-06-17 16:25:17 -05:00
Grot (@grafanabot) and George Robinson
f3a0f57535
Alerting: Docs on how to template annotations and labels ( #51024 ) ( #51056 )
...
(cherry picked from commit 5736a3c59e )
Co-authored-by: George Robinson <george.robinson@grafana.com >
2022-06-17 18:41:48 +01:00
Grot (@grafanabot) and Artur Wierzbicki
49aaa5c955
Search: fix anonymous user access ( #51045 ) ( #51055 )
...
(cherry picked from commit 40b152e813 )
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com >
2022-06-17 18:53:38 +02:00
Grot (@grafanabot) and Artur Wierzbicki
0b3c14c7f6
Docs: fix broken link to service-account docs
...
(cherry picked from commit 14f8e18978 )
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com >
2022-06-17 17:39:06 +02:00
Grot (@grafanabot) and Alexander Weaver
a24941f718
Alerting: Create algorithm to process receiver changes and keep them consistent internally ( #50738 ) ( #51050 )
...
* Algorithm to fix up receivers
* Extract for tests
* Add tests, fix bug
* Add test which demonstrates how it fixes up broken groups
* Fix package prefix
(cherry picked from commit 9bbfeedadf )
Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com >
2022-06-17 10:31:41 -05:00
Grot (@grafanabot) and Christopher Moyer
b7db11082e
adds video ( #50964 ) ( #51039 )
...
(cherry picked from commit 204e9754da )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-06-17 09:52:43 -05:00
Gilles De Mey and Alexander Weaver
43aaf4b4d7
Docs: Remove alpha sentence from Alertmanager data source ( #50978 ) ( #51026 )
...
Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com >
2022-06-17 09:41:13 -05:00
Grot (@grafanabot) and Ryan McKinley
363b2fdc8e
Heatmap: do not dim the values in the color scale legend ( #50976 ) ( #51043 )
...
(cherry picked from commit c6f7e53e38 )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-06-17 16:39:52 +02:00
Grot (@grafanabot) and Artur Wierzbicki
75501eac48
Previews: use ETag header ( #51008 ) ( #51041 )
...
* use etag header for previews
* use unix millis rather than tz-dependant string
(cherry picked from commit 644503f5e6 )
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com >
2022-06-17 16:16:24 +02:00
Grot (@grafanabot) and asymness
89d6f7aba1
Playlists: Disable Create Playlist buttons for users with viewer role ( #50840 ) ( #51032 )
...
* Disable / hide buttons for creating playlist for users with viewer role
* Update tests
* Re-add mock for contextSrv module
(cherry picked from commit 43839dc40b )
Co-authored-by: asymness <asym1999@gmail.com >
2022-06-17 14:15:50 +02:00
Grot (@grafanabot) and Torkel Ödegaard
0f50fe2a5e
Expressions: Fixes dashboard schema migration issue that casued Expression datasource to be set on panel level ( #50945 ) ( #51009 )
...
* Expressions: Fixes dashboard schema migration issue that casued Expression datasource to be set on panel level
* fixing logic
* Updated
(cherry picked from commit eb25d8df89 )
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-06-17 14:10:01 +02:00
Grot (@grafanabot) and Gábor Farkas
ffb381144c
loki: fix bug in labels framing ( #51015 ) ( #51029 )
...
(cherry picked from commit fd63ed540f )
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2022-06-17 13:09:06 +02:00
Grot (@grafanabot) and George Robinson
efbbd64253
Docs: How to template annotations and labels ( #50972 ) ( #51022 )
...
(cherry picked from commit 8c01f28285 )
Co-authored-by: George Robinson <george.robinson@grafana.com >
2022-06-17 10:49:26 +01:00
Grot (@grafanabot) and brendamuir
646cb92b19
Docs: adds video content to Grafana Alerting ( #50929 ) ( #50956 )
...
* Docs: adds video content to grafana alerting
* adds create alerts to managed rule page
(cherry picked from commit 7deb7258ba )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2022-06-17 11:07:30 +02:00
Grot (@grafanabot) and Erik Sundell
b22cd2e522
CloudWatch: Allow hidden queries to be executed in case an ID is provided ( #50987 ) ( #51019 )
...
* allow hidden queries in case an id is provided
* cleanup test
* name tests properly
(cherry picked from commit fcbe0059c2 )
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2022-06-17 10:41:57 +02:00
Grot (@grafanabot) and Andres Martinez Gotor
67bb3f53dd
AzureMonitor: Update supported namespaces ( #50788 ) and filter resources by the right type ( #50880 ) ( #51018 )
...
(cherry picked from commit 1f0c951bce )
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2022-06-17 10:28:11 +02:00
Grot (@grafanabot) and Gábor Farkas
78804d8661
loki: add type=instant tests ( #51007 ) ( #51016 )
...
(cherry picked from commit 109bc7e940 )
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2022-06-17 10:05:26 +02:00
Grot (@grafanabot) and Ivana Huckova
3becfa6d74
LogRow: Fix placement of icon ( #51010 ) ( #51017 )
...
(cherry picked from commit 642b7b1eb8 )
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-06-17 10:03:25 +02:00
Garrett Guillotte
6a351959d2
Docs: Refactor administration docs ( #50592 ) ( #50989 )
...
* Move data source management to administration
* Move RBAC to administration
* Move team management up a docs org level
* Combine and rename admin preferences docs
* Move plugin management to administration
* Combine plugin management docs
* Combine API key docs
* Combine service account docs
* Combine server user management docs
* Move datasource management to administration
* Move enterprise licenses to administration
* Move CLI out of admin, update links to admin
* Merge org user management docs
* Restructure to Torkel's plan
* Fix typo
* Weigh admin topics for navigation
* Weigh administration topics and align to Torkel's plan
* Move server user management from server admin to admin/user management
* Move configure docker image to setup guide
* Move the remaining server admin docs to the root admin directory
* Reweight docker config
Backport of 845cebdee2 from main
2022-06-17 08:56:31 +02:00
Gábor Farkas
f12b86f7ec
Loki: Handle data source configs with path in the url ( #50971 ) ( #51006 )
...
* loki: fixed param-name
* loki: handle datasource configs with path in the url
* lint fix
(cherry picked from commit ccc587dc0f )
2022-06-17 08:22:42 +02:00
Grot (@grafanabot) and Matthew Jacobson
f3c0208221
Alerting: Fix AM config overwrite when SQLite db is locked during sync ( #50951 ) ( #50996 )
...
If SQLite is used and the database is locked temporarily (ex. heavy write-load) during periodic
AM config sync, it was possible for your AM config to be overwritten with the default one.
This fixes that by patching a bug in xorm v0.8.2 which was causing SQLITE_BUSY errors to be ignored
in certain cases.
(cherry picked from commit 8f5912b94c )
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2022-06-16 20:49:34 -04:00
Grot (@grafanabot) and Leon Sorokin
83917e61fd
StateTimeline: make sure we use result of applyNullInsertThreshold() ( #50988 ) ( #50994 )
...
Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com >
(cherry picked from commit 406509cdd3 )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2022-06-16 17:46:13 -05:00
Grot (@grafanabot) and Ryan McKinley
9ff23c59b5
Geomap: Support showing tooltip content on click (not just hover) ( #50985 ) ( #50986 )
...
(cherry picked from commit 4a749e68a8 )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-06-16 22:21:40 +02:00
Grot (@grafanabot) and Jguer
e3b490f47c
Fix double change password calls ( #50948 ) ( #50957 )
...
(cherry picked from commit 32103fcd9f )
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
2022-06-16 17:32:11 +02:00
Grot (@grafanabot) and Artur Wierzbicki
22fb1a7b2b
Previews: update documentation for enterprise setup ( #50950 ) ( #50958 )
...
* add `enable service accounts` step
* add `enable service accounts` step
(cherry picked from commit b2852205a0 )
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com >
2022-06-16 18:55:28 +04:00
Grot (@grafanabot) and Victor Marin
36a622cf22
TablePanel: Show filter icon on correct field when other fields are hidden ( #50940 ) ( #50946 )
...
(cherry picked from commit f0b191c1c8 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2022-06-16 15:32:20 +03:00
Grot (@grafanabot) and idafurjes
50c729c23e
Bug: Fix delete dashboard snapshot for deleted dashboards ( #50919 ) ( #50937 )
...
* Bug: Fix delete dashboard snapshot for deleted dashboards
* Fix lint and make it work for all the errors
* Fix lint
(cherry picked from commit 8ab8ce609b )
Co-authored-by: idafurjes <36131195+idafurjes@users.noreply.github.com >
2022-06-16 13:27:16 +02:00
Ashley Harrison
87a325e6df
Chore: Remove newNavigation feature toggle and old navbar code ( #50872 ) ( #50932 )
...
* Remove newNavigation feature toggle + old code
* fix unit tests
* remove buildCreateNavLinks
(cherry picked from commit d0fa326798 )
2022-06-16 11:26:46 +01:00
Grot (@grafanabot) and Jack Baldry
ac947026cd
Add redirects for indexed alerting pages ( #50918 ) ( #50921 )
...
Co-authored-by: Brenda Muir <brenda.muir@grafana.com >
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Brenda Muir <brenda.muir@grafana.com >
(cherry picked from commit d0808bdafb )
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2022-06-16 12:13:05 +02:00
Grot (@grafanabot) and Andrej Ocenas
1bca3be52f
Prometheus: Fix body not being included in resource calls if they are POST ( #50833 ) ( #50886 )
...
* Pass on request body
* Fix GETs and add tests
* Fix err handling
* Add comments
* Close response body
* Fix lint maybe
* Fix test
(cherry picked from commit 07be95a001 )
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2022-06-16 10:52:50 +02:00
Grot (@grafanabot) and jcolladokuri
52d7c8e914
AzureMonitor: Update alerts dashboard ( #50712 ) ( #50920 )
...
(cherry picked from commit ab8176d234 )
Co-authored-by: jcolladokuri <jcolladokuri@microsoft.com >
2022-06-16 10:42:03 +02:00
Grot (@grafanabot) and Ryan McKinley
959e368feb
Search: default layout to last selected value ( #50743 ) ( #50902 )
...
(cherry picked from commit e23dbfe605 )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-06-15 12:04:08 -07:00
Grot (@grafanabot) and Christopher Moyer
e7df1f5994
Docs: updates auth alias to fix redirect 404 ( #50892 ) ( #50903 )
...
* updates auth alias
* Update docs/sources/setup-grafana/configure-security/configure-authentication/_index.md
(cherry picked from commit da731a38cc )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-06-15 12:44:07 -05:00
Grot (@grafanabot) and Kristina
07d3b7a7b8
Revert "Explore: Remove support for legacy, compact format URLs ( #49350 )" ( #50873 ) ( #50881 )
...
This reverts commit a9cc3225ba .
Co-authored-by: Elfo404 <me@giordanoricci.com >
(cherry picked from commit dfa538ff92 )
Co-authored-by: Kristina <kristina.durivage@grafana.com >
2022-06-15 10:34:39 -05:00
Marcus Efraimsson
e0d1f9aedc
CLI: Allow relative symlinks in zip archives when installing plugins ( #50537 ) ( #50877 )
...
Earlier we only allowed symlinks in plugins starting with grafana- in zip archives when
installing plugins using the grafana-cli. This changes so that symlinks in zip archives
containing relative links to files in the zip archive are always allowed when installing
plugins. The reasoning behind this is that Grafana per default doesn't load a plugin
that has an invalid plugin signature meaning that any symlink must be included in
the plugin signature manifest.
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
(cherry picked from commit b47ec36d0d )
2022-06-15 17:06:08 +02:00
Grot (@grafanabot) and Konrad Lalik
dd29063198
[v9.0.x] Alerting: Fix removal of notification policy without labels matchers ( #50851 )
...
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2022-06-15 12:49:56 +02:00
Dimitris Sotirakis
dac01a0cd8
Rename release pipelines ( #50585 ) ( #50594 )
...
(cherry picked from commit 5633648383 )
2022-06-15 11:36:52 +01:00
Grot (@grafanabot) and Ashley Harrison
54b4ca2b35
Dashboard: Prevent non-repeating panels being dropped from repeated rows when collapsed/expanded ( #50764 ) ( #50860 )
...
* Mob: fix issue with repeating panels+rows, add e2e test
Co-authored-by: kay delaney <kay@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: polibb <polina.boneva@grafana.com >
* Fix describe block description
Co-authored-by: kay delaney <kay@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: polibb <polina.boneva@grafana.com >
(cherry picked from commit 94d585063e )
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-06-15 12:19:11 +02:00
Grot (@grafanabot) and Chrysa Dikonimaki
8d2313c5b5
Ayy1: Cannot save single dashboard link ( #49075 ) ( #50857 )
...
(cherry picked from commit 0753539721 )
Co-authored-by: Chrysa Dikonimaki <xrdikonimaki@hotmail.com >
2022-06-15 11:42:11 +02:00
Grot (@grafanabot)
efc29caf67
Alerting: Add support for images in SensuGo alerts ( #50718 ) ( #50853 )
2022-06-15 11:30:35 +02:00
d543bb242f
Grafana 9: Sync release-v9.0.0 branch to v9.0.x ( #50844 )
...
* Docs: Manual backport of alert list panel docs rewrite (#50512 )
* Updating migration docs to include most relevant breaking changes (#50356 ) (#50515 )
(cherry picked from commit cd01eb541a )
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
* ReleaseNotes: Updated changelog and release notes for 9.0.0-beta2 (#50398 ) (#50521 )
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
(cherry picked from commit a6943cb399 )
* Alerting: Fix force_migration when alerting is disabled (#50431 ) (#50481 ) (#50565 )
This pull request fixes a bug where force_migration must be set to true when both unified and legacy alerting is disabled.
(cherry picked from commit c312188cb2 )
* [release-v9.0.0] Grafana UI: Fix nonexistent indexof module for plugin tests (#50573 )
* Grafana UI: Fix nonexistent indexof module for plugin tests (#50529 )
* fix(grafana-ui): prevent module resolution failure where component-indexof appears as indexof
* chore(grafana-ui): update comment explaining need for alias plugin
(cherry picked from commit 6a4906ef7e )
* chore: refresh yarn.lock
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* [release-v9.0.0] Grafana UI: Put back production build in rollup config (#50581 )
* Grafana UI: Put back production build in rollup config (#50575 )
(cherry picked from commit 2d1ab27636 )
* chore: refresh yarn.lock
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* [release-v9.0.0] Alerting: use "find" to wait for expression editor to load (#50604 )
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Docs: Backport 49739 to v9.0.x (#50123 ) (#50614 )
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
(cherry picked from commit 49b20ad76c )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Alerting: improve provisioning docs (#50347 ) (#50619 )
* Alerting: improve provisioning docs
* add new provisioning page
* add api docs
* fix formatting and add better descriptions
* fix typo
(cherry picked from commit 862f51216b )
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
* Backport docs changes for Grafana Alerting (#50620 )
* doc fix (#50624 ) (#50627 )
(cherry picked from commit 336c9fd513 )
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* RBAC: Inheritance permission migration should handle empty managed roles (#50611 ) (#50622 )
* Make inheritance permission migration more robust
* Better fix
* Add more tests to the migration
* Add removed test case
* Add test case for empty role in empty org
* Handling the role.ID 0 case with a log
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
(cherry picked from commit 307a0d4538 )
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* "Release: Updated versions in package to 9.0.0" (#369 )
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com >
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2022-06-15 12:13:14 +03:00
Grot (@grafanabot) and Alex Khomenko
0ab0fe9d16
RolePicker: Fix submenu position on horizontal space overflow ( #50769 ) ( #50843 )
...
(cherry picked from commit 2fbe99c1be )
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2022-06-15 09:20:03 +02:00
Grot (@grafanabot) and Kristin Laemmert
8ef7fd3859
backend: add PlaylistUIDs to Playlist; remove playlist IDs from API ( #49609 ) ( #50828 )
...
* backend/api: refactor PlaylistId to PlaylistUid
* Add org_id to Get and Update playlist functions
Fix migration - no longer pad the uid; fix mysql syntax
The relevant tests are passing using postgres, mysql and the default sqllite backends, but there are a number of other failing tests when using postgres and myself so I'm not entirely confident with those results.
* fix bad query in GetPlaylistItem and add a test that would have caught the mistake in the first place. Reverted the playlist_uid column addition in playlist_item; it became unnecessary after this PR.
Added default value to the new UID column based on PR feedback.
* break this PRs migration into its own function
* Playlists: Update UI to use the updated API
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
(cherry picked from commit a33a023629 )
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com >
2022-06-14 15:48:44 -04:00