Grot (@grafanabot) and Torkel Ödegaard
e7988dbb5a
Dashboard: Unsaved changes warning fixes ( #54706 ) ( #54803 )
...
* Quick test of alternative method
* change order of if condition again for better readability
* Think I have something that is working
* Update
(cherry picked from commit e5c32c8cc9 )
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-09-06 20:05:18 +02:00
Grot (@grafanabot) and Ilya Galimyanov
35d51435f4
Alerting: Telegram: truncate long messages ( #54339 ) ( #54796 )
...
Truncate messages longer than 4096 characters
(cherry picked from commit b593d371ef )
Co-authored-by: Ilya Galimyanov <ilyaxa1@gmail.com >
2022-09-06 18:29:18 +01:00
kay delaney
eac9f6dd57
Chore: Update slate and related packages ( #54566 ) ( #54795 )
...
* Chore: Update slate and related packages
(cherry picked from commit a70aba1384 )
2022-09-06 11:22:33 -04:00
Grot (@grafanabot)
456d785f2f
ReleaseNotes: Updated changelog and release notes for 9.1.3 ( #54759 ) ( #54762 )
...
(cherry picked from commit fe848e93b3 )
2022-09-06 07:01:43 -04:00
Grot (@grafanabot)
6267d4a3d5
"Release: Updated versions in package to 9.1.3" ( #54758 )
2022-09-06 12:54:08 +02:00
Karl Persson
843ca0a355
[v9.1.x] RBAC: Fix resolver issue on wildcard resulting in wrong status code ( #54692 )
...
* RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208 )
* RBAC: Test evaluation before attaching mutator
* RBAC: Return error if no resolver is found for scope
* RBAC: Sync changes to evaluation in mock
* RBAC: Check for resolver not found error and just fail the evaluation in that case
(cherry picked from commit 552d3fec8d )
2022-09-06 09:08:49 +02:00
Dominik Prokop
6e300048ed
54570 manual backport ( #54716 )
2022-09-05 17:18:50 +02:00
Grot (@grafanabot) and kay delaney
6f255cb089
LibraryElements: Fix inability to delete library panels under MySQL ( #54600 ) ( #54711 )
...
Closes #53456
(cherry picked from commit 65c3ad6721 )
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2022-09-05 10:29:56 -04:00
Grot (@grafanabot) and Laura Benz
d04f3fb2f1
A11y: Make tabs in query history + inspector accessible in Explore ( #53773 ) ( #53902 )
...
* refactor: make tabs accesible
* refactor: make content after slider accessible
* refactor: add a comment with todo
(cherry picked from commit f5f93ccd96 )
Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com >
2022-09-05 16:22:50 +02:00
Grot (@grafanabot) and Laura Benz
05e6b345b6
Explore: Improve a11y of query row collapse button ( #53827 ) ( #54149 )
...
* refactor: convert to IconButton
* refactor: adjust attributes
(cherry picked from commit 95ec6f6c0f )
Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com >
2022-09-05 16:22:24 +02:00
Grot (@grafanabot) and Giordano Ricci
8696aea01f
GrafanaUI: Fix styles for invalid selects & DataSourcePicker ( #53476 ) ( #54321 )
...
* GrafanaUI: fix styles for invalid select & DataSourcePicker
* Apply suggestions from code review
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
* fix focus issues & tests
* remove unused import
* TypeScript work in progress
* Move react select props to types.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
(cherry picked from commit 26524e3ff1 )
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2022-09-05 15:18:44 +01:00
Grot (@grafanabot) and Sofia Papagiannaki
9b816ea945
API: Do not expose user input in datasource error responses ( #53483 ) ( #54709 )
...
(cherry picked from commit 950715b255 )
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2022-09-05 09:24:23 -04:00
Grot (@grafanabot) and Victor Marin
25f4599e76
Fix StateTimeline duration bug + add hidden tooltip option ( #54697 ) ( #54701 )
...
(cherry picked from commit aee13563ce )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2022-09-05 07:26:05 -04:00
Carl Bergquist
8790142aef
Instrumentation: log the total number of db queries per request ( #54647 ) ( #54686 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
(cherry picked from commit 78978048c3 )
2022-09-05 11:58:35 +02:00
Jo
4f924a9b97
Add JWT url auth documentation ( #54040 ) ( #54689 )
...
* add jwt auth docs
* add appropriate warnings to docs
* remove unimplemented login_token assumptions
* Update conf/sample.ini
(cherry picked from commit 4952b7f22d )
2022-09-05 04:05:01 -04:00
Kim Nylander
6da550f736
[Doc][Tempo] Backport 54120 to v9.1.x ( #54675 )
...
* [Doc] Fix broken link in Tempo doc (#54120 )
* Fix broken link
* Update docs/sources/datasources/tempo.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com >
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com >
(cherry picked from commit fe87ffdda0 )
# Conflicts:
# docs/sources/datasources/tempo.md
* Fixed conflicts from merge
2022-09-02 15:16:49 -05:00
Grot (@grafanabot) and Kim Nylander
563b445185
[DOC] Add APM changes and fix links ( #53986 ) ( #54672 )
...
* Add APM changes and fix links
* Apply suggestions from code review
* Update docs/sources/datasources/tempo.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update docs/sources/explore/trace-integration.md
* Prettier update
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
(cherry picked from commit 45b65cc6c9 )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2022-09-02 14:54:32 -05:00
Grot (@grafanabot) and Leon Sorokin
e42f84f87d
Histogram: ensure y axis is unit-less ( #54667 ) ( #54671 )
...
(cherry picked from commit 8273839539 )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2022-09-02 15:05:17 -04:00
Grot (@grafanabot) and Kim Nylander
c64cecda0c
[Doc] Added link to APM dashboard doc for Service graph Tempo data source doc ( #53491 ) ( #54406 )
...
* Added link to APM dashboard doc
* Apply suggestions from code review
(cherry picked from commit 101c087fc7 )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2022-09-02 13:25:27 -05:00
Grot (@grafanabot) and Leon Sorokin
031580ef3e
TimeSeries: fix padding, force 0-100% y range when % stacked ( #54197 ) ( #54652 )
...
(cherry picked from commit 28426219ce )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2022-09-02 10:40:58 -04:00
Grot (@grafanabot) and Murtaza Ahmedi
1296582f4b
Plugins Catalog: Allow to filter plugins using special characters ( #54474 ) ( #54589 )
...
(cherry picked from commit f6827a0518 )
Co-authored-by: Murtaza Ahmedi <29052897+murtazaqa@users.noreply.github.com >
2022-09-02 14:07:40 +02:00
Grot (@grafanabot) and Matthew Jacobson
b622632291
Alerting: Fix UI bug when setting custom notification policy group by ( #54607 ) ( #54610 )
...
Custom values were not being displayed in the multiselect for notification policy `Group by` even though
they were correctly being saved.
(cherry picked from commit d706320d0a )
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2022-09-01 19:19:06 -04:00
Grot (@grafanabot) and Victor Marin
11ba65420d
Fixed tooltip does not change data when hovering over other datapoints ( #54517 ) ( #54595 )
...
(cherry picked from commit d2bdb01092 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2022-09-01 12:10:53 -04:00
Grot (@grafanabot) and Christopher Moyer
019a200107
refactors usage insights topics ( #54497 ) ( #54583 )
...
(cherry picked from commit ac12b6d7ff )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-09-01 08:58:55 -05:00
Grot (@grafanabot) and Christopher Moyer
1080729433
adds video ( #54545 ) ( #54581 )
...
(cherry picked from commit 8a23b1fd4f )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-09-01 08:45:38 -05:00
Karl Persson
8526d2cb71
Correlations: Use correct fallback handlers ( #54511 ) ( #54569 )
...
* Correlations: Use correct fallback handlers
* Add signed in middleware to all routes
(cherry picked from commit be6b8d91eb )
2022-09-01 15:08:10 +02:00
Grot (@grafanabot)
4a57bbce32
TestData DB: Fix node graph not showing when the Data type field is set to random ( #54298 ) ( #54564 )
...
(cherry picked from commit 610952ca8a )
Co-authored-by: Hamas Shafiq <hamas.shafiq@grafana.com >
2022-09-01 10:28:26 +01:00
Dave Henderson
74734db443
[v9.1.x] Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement ( #54540 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2022-08-31 11:32:29 -04:00
Grot (@grafanabot) and Christopher Moyer
fc4bab2463
moves time series up, fixes random relrefs ( #54477 ) ( #54539 )
...
(cherry picked from commit e64009fa88 )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-08-31 10:27:15 -05:00
Grot (@grafanabot) and Torkel Ödegaard
ea4d653cce
AppRootPage: Fixes issue navigating between two app plugin pages ( #54519 ) ( #54529 )
...
* AppRootPage: Fixes issue where it was not possible to navigate to another plugin
* Externalize react-router
* fixing test
(cherry picked from commit e5fba788d6 )
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-08-31 09:50:59 -04:00
Grot (@grafanabot) and Victor Marin
2c7c81cb7a
Hidden series stay hidden in legend when toggling visibility ( #54139 ) ( #54522 )
...
(cherry picked from commit 51e2f57ac9 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2022-08-31 15:42:50 +03:00
Gabriel MABILLE
9ea61eebfd
FIX: RBAC prevents deleting empty snapshots ( #54385 ) ( #54510 )
...
Co-authored-by: Mihály Gyöngyösi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Emil Tullsted <sakjur@users.noreply.github.com >
(cherry picked from commit c2c319146a )
2022-08-31 09:21:42 +02:00
Grot (@grafanabot) and Esteban Beltran
83805b8b89
Plugins Catalog: Use appSubUrl to generate plugins catalog urls ( #54426 ) ( #54433 )
...
* Plugins Catalog: us appSubUrl to generate plugins catalog urls
* add tests for PluginList with app sub url
* remove unnecessary comments
(cherry picked from commit fc348e6279 )
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com >
2022-08-31 07:34:33 +02:00
Grot (@grafanabot) and Joe Blubaugh
54356ac5b3
Grafana Backend: Establish a database version support policy. ( #54374 ) ( #54506 )
...
As stated in the documentation, Grafana will support the versions of our backend database options that are supported by their projects at the time that a Grafana release is issued.
(cherry picked from commit 56369457d4 )
Co-authored-by: Joe Blubaugh <joe.blubaugh@grafana.com >
2022-08-31 10:12:56 +08:00
Joan López de la Franca Beltran and Grot
ba4dc6e77b
ReleaseNotes: Updated changelog and release notes for 8.3.11, 8.4.11, 8.5.11 and 9.0.8 ( #54493 ) ( #54498 )
...
* ReleaseNotes: Updated changelog and release notes for 8.3.11, 8.4.11, 8.5.11 and 9.0.8 (#54493 )
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com >
(cherry picked from commit 3a9a145ef7 )
Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com >
2022-08-30 21:31:36 +02:00
Grot (@grafanabot)
af18359063
ReleaseNotes: Updated changelog and release notes for 9.1.2 ( #54481 ) ( #54483 )
...
(cherry picked from commit ab959f9305 )
2022-08-30 13:40:01 -04:00
Grot (@grafanabot)
e39608eb3a
"Release: Updated versions in package to 9.1.2" ( #54480 )
2022-08-30 18:29:31 +01:00
Grot (@grafanabot) and Christopher Moyer
6b805aaac5
removes previously refactored content ( #54416 ) ( #54471 )
...
(cherry picked from commit dc2616f833 )
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-08-30 11:52:45 -05:00
Grot (@grafanabot) and Joan López de la Franca Beltran
e5741c82d6
Rendering: Add support for renderer token ( #54425 ) ( #54431 )
...
(cherry picked from commit a4f75cc0438712c90b02d24740416f8615e3a0cb)
(cherry picked from commit 6ec06f66b9 )
Co-authored-by: Joan López de la Franca Beltran <5459617+joanlopez@users.noreply.github.com >
2022-08-30 11:32:29 +01:00
Polina Boneva
0a4d2bbe3d
Add FocusScope to PanelEditor when open in the Dashboard Page so that a11y focus never catches invisible content. ( #54400 ) ( #54430 )
...
(cherry picked from commit ef32050508 )
2022-08-30 06:04:41 -04:00
Grot (@grafanabot) and Yaelle Chaudy
ecf7cae554
Azure Monitor: Updated grafana_ds_azuremonitor_dashboard_loaded event, replaced array of queries for stats ( #54286 ) ( #54424 )
...
* Replaced array of queries for stats
* Added ds_version prop
* Added ds_version to tests
* Extracted event name to tracking file
* Extracted event to tracking file
* Removed ds_version - useless for core plugin
* Addressed comments
* Added note to event documentation
(cherry picked from commit 711c504b39 )
Co-authored-by: Yaelle Chaudy <42030685+yaelleC@users.noreply.github.com >
2022-08-30 11:05:57 +02:00
Grot (@grafanabot) and Matt Dodson
f5a4e9232f
Fix admonition ( #54408 ) ( #54412 )
...
(cherry picked from commit fcea9ac913 )
Co-authored-by: Matt Dodson <47385188+MattDodsonEnglish@users.noreply.github.com >
2022-08-29 15:45:54 -05:00
Ryan McKinley
344b2ef0bb
Docs: add geomap index ( #54410 )
2022-08-29 13:15:39 -07:00
Grot (@grafanabot) and Adela Almasan
238db92f69
Geomap: Fix tooltip display ( #54245 ) ( #54397 )
...
(cherry picked from commit 07dcb64e38 )
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2022-08-29 11:07:17 -04:00
Grot (@grafanabot) and Adam Simpson
b4a8496b06
QueryEditorRow: filter data on mount ( #54260 ) ( #54392 )
...
This works correctly on initial dashboard load. However, when an action
is taken that triggers a "re-mount", e.g. opening the options pane on
the right side of the page, the `data` prop becomes undefined.
(cherry picked from commit 87375f570d )
Co-authored-by: Adam Simpson <adam@adamsimpson.net >
2022-08-29 10:03:34 -04:00
Grot (@grafanabot) and Karl Persson
565969cfcf
RBAC: Only display unique permissions in list ( #54074 ) ( #54383 )
...
* PermissionList: Only display one row for each user, team or builtin role
(cherry picked from commit c9661a5be1 )
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2022-08-29 06:37:06 -04:00
Grot (@grafanabot) and Karl Persson
493c7866a2
RBAC: Display indicator if a permission is inherited ( #54080 ) ( #54380 )
...
* RBAC: Add IsInherited property
* PermissionList: Display inherited indicator
(cherry picked from commit cc78486535 )
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2022-08-29 05:29:37 -04:00
Marcus Efraimsson
c8a313c289
Plugins: Remove various custom headers logic ( #54146 ) ( #54284 )
...
Removes various custom headers logic sprinkled around in the backend.
It should automatically be applied to outgoing HTTP requests via the
CustomHeadersMiddleware.
This also removes decryption of SecureJSONData to populate custom
headers in ngalert which seemed to have caused a ton of CPU usage.
(cherry picked from commit 87afd9cadc )
2022-08-29 10:21:34 +02:00
Grot (@grafanabot) and Jean-Philippe Quéméner
200a901829
Alerting: use raw query data in provisioning to bypass interpolation of macros ( #54293 ) ( #54357 )
...
(cherry picked from commit a932428057 )
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2022-08-26 18:07:47 -04:00
Grot (@grafanabot) and Jean-Philippe Quéméner
867c695646
Alerting: add missing yaml tag to mute time struct ( #54287 ) ( #54355 )
...
(cherry picked from commit 49b1182f34 )
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2022-08-26 17:41:51 -04:00