Grot (@grafanabot) and Ryan McKinley
d76bcd082f
Panels: avoid crash while switching between panels types ( #35286 ) ( #35289 )
...
(cherry picked from commit 351400b82e )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-06-04 21:36:57 +02:00
Grot (@grafanabot) and Sofia Papagiannaki
557c310c8c
Alerting: Recact html responses ( #35277 ) ( #35282 )
...
(cherry picked from commit fba90b8f9b )
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2021-06-04 21:29:23 +03:00
Grot (@grafanabot) and Ryan McKinley
a95c3419b7
Histogram: support units on the x axis ( #35218 ) ( #35280 )
...
(cherry picked from commit 99a6337e1f )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-06-04 20:11:49 +02:00
Grot (@grafanabot) and Jack Westbrook
6b9f067bf2
[v8.0.x] Catalog: Show message prompting user to refresh browser ( #35271 ) ( #35279 )
...
(cherry picked from commit 3bbe6473b6 )
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2021-06-04 19:45:39 +02:00
Grot (@grafanabot) and Kevin Minehart
c882b7a525
Caching: document memory limit settings ( #35189 ) ( #35269 )
...
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
(cherry picked from commit 0a28304d2a )
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2021-06-04 10:07:02 -07:00
Grot (@grafanabot) and Giordano Ricci
7f410cceee
Elasticsearch: Fix min_doc_count value when alerting ( #35254 ) ( #35264 )
...
* Elasticsearch: Fix min_doc_count value when alerting
* Add tests
(cherry picked from commit 7a304223e6 )
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2021-06-04 17:10:02 +02:00
Grot (@grafanabot) and Uchechukwu Obasi
74eb38e2fc
Graph: fixes storybook crashing when using the story ( #35251 ) ( #35259 )
...
* Graph: fixes storybook crashing when using the story
* fixes the GraphWithLegend story too
(cherry picked from commit 70155c7fd0 )
Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com >
2021-06-04 16:52:58 +02:00
Jack Westbrook
1aaed7c2fe
Card: Defend against conditional action buttons ( #35204 ) ( #35256 )
...
* fix(card): defend against invalid elements types passed to BaseActions
* test(card): add test to support conditional buttons being passed in
* fix(playlistpage): remove disabled prop from LinkButton for editors
* chore(playlistpage): remove title from edit button
(cherry picked from commit c13f247a94 )
2021-06-04 17:38:36 +03:00
Grot (@grafanabot) and Giordano Ricci
7f6f9fbce9
Grafana-UI: Allow Card consumers to override disabled prop for action ( #34664 ) ( #35249 )
...
(cherry picked from commit 8afb15296a )
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2021-06-04 16:06:24 +02:00
Grot (@grafanabot) and Sofia Papagiannaki
7eda7945d3
Alerting: Fix notification channel migration and handle case when Alertmanager default configuration is absent ( #35086 ) ( #35246 )
...
* Fix dashboard alert and nootifier migration for MySQL
* Fix POSTing Alertmanager configuration if no current configuration exists
in case the default configuration has not be stored yet
or has failed to get stored
* Change CreatedAt field type
(cherry picked from commit 15c55b0115 )
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2021-06-04 16:41:28 +03:00
Grot (@grafanabot) and Agnès Toulet
da8d9e6854
Renderer: add version information ( #34964 ) ( #35245 )
...
* Renderer: add version information
* fix alerting test
(cherry picked from commit 5f6c172b5a )
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2021-06-04 14:27:58 +02:00
Grot (@grafanabot) and Sergey Kostrukov
e3ffea3f1b
AzureMonitor: fix Azure Resource Graph queries in Azure China ( #35235 ) ( #35244 )
...
* Optimize Azure Monitor routes
* Update API version compatible with Azure China
(cherry picked from commit 412bcf1fb0 )
Co-authored-by: Sergey Kostrukov <sekost@microsoft.com >
2021-06-04 13:57:14 +02:00
Grot (@grafanabot) and Alex Khomenko
7b64b6f140
Remove extra margin for checkboxes ( #35169 ) ( #35242 )
...
(cherry picked from commit bfcc6a2248 )
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-06-04 13:34:29 +02:00
Grot (@grafanabot) and Alex Khomenko
3fa0811d6b
Add missing select options for controls ( #35178 ) ( #35237 )
...
(cherry picked from commit f683a497eb )
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-06-04 11:53:40 +02:00
Grot (@grafanabot) and Will Browne
bc49ceddb7
remove incorrect use of grafana-cli logger ( #35228 ) ( #35236 )
...
(cherry picked from commit 2e9ad871b3 )
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2021-06-04 11:32:06 +02:00
Grot (@grafanabot) and Andrej Ocenas
f5c55ffbe3
NodeGraph: Make grid view responsive ( #35047 ) ( #35234 )
...
(cherry picked from commit aa7dbd7a69 )
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2021-06-04 11:25:41 +02:00
Grot (@grafanabot) and Hugo Häggmark
ebc38afce5
Annotations: Fix so annotations work in panel edit ( #35195 ) ( #35233 )
...
(cherry picked from commit a7606d130e )
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2021-06-04 11:18:30 +02:00
Grot (@grafanabot)
64b58cc3a1
Library Panels: Fix refresh when changing to angular library panel ( #35048 ) ( #35160 )
...
Closes #34874
(cherry picked from commit 7c0158cdff )
2021-06-04 11:09:39 +02:00
Grot (@grafanabot) and Dimitris Sotirakis
a817a8ac52
Chore: Update drone pipeline failure message to include target branch ( #35170 ) ( #35171 )
...
(cherry picked from commit 56e0efbb56 )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2021-06-04 11:53:09 +03:00
Grot (@grafanabot) and Dimitris Sotirakis
b052edf8ba
Use laher/mergefs - remove custom code ( #34571 ) ( #35161 )
...
(cherry picked from commit 6970c9ebfd )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2021-06-04 11:52:11 +03:00
Grot (@grafanabot) and Sofia Papagiannaki
956f728f61
SSE: Change math expression to accept any value convertible to float ( #34996 ) ( #35202 )
...
* SSE: Change math expression to accept any scalar value
* Apply suggestions from code review
* Update test
* Remove TODO
(cherry picked from commit eeb84d09c2 )
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2021-06-04 11:49:33 +03:00
Grot (@grafanabot) and Oscar Kilhed
1647073a00
DevEnv: Fix docker-driver plugin installation direction url ( #35227 )
...
(cherry picked from commit e6c53e4bcd )
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
2021-06-04 10:30:30 +02:00
Grot (@grafanabot) and Dimitris Sotirakis
7b67612f7d
Scuemata: Checking json validity by enabling skipped tests ( #34385 ) ( #35226 )
...
* Make sure we don't skip any tests - refactoring
* Remove commented lines
* Move test folder
(cherry picked from commit 4c8ce8a450 )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2021-06-04 10:03:58 +02:00
Grot (@grafanabot) and Andrej Ocenas
9439b6acba
NodeGraph: Fix sorting markers in grid view ( #35200 ) ( #35216 )
...
* Fix test data field label
* Fix sorting
* Changed icon for sorting
(cherry picked from commit 1dc387536e )
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2021-06-04 09:55:03 +02:00
Grot (@grafanabot) and Arve Knudsen
6f9ecceb9f
Chore: Upgrade golangci-lint ( #35188 ) ( #35192 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
(cherry picked from commit 4d1cbe551f )
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-06-04 07:45:15 +02:00
Grot (@grafanabot) and Ganesh Vernekar
6c512e1414
Alerting: Expand {{$labels.xyz}} template in labels and annotations ( #35159 ) ( #35208 )
...
* Alerting: Expand `{{$labels.xyz}}` template in labels and annotations
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix annotation not updating for same alert
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit 8417088969 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-06-04 11:05:19 +05:30
Grot (@grafanabot) and Hugo Häggmark
e6c2291a44
Annotations: Fix so adds, updates and deletes are shown correctly ( #35184 ) ( #35198 )
...
* Annotations: Fix for update/save/delete annotation not appearing/disappearing
* Annotations: Fix so adds, updates and deletes are shown correctly
* Chore: updates after PR comments
(cherry picked from commit abd4e70792 )
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2021-06-04 05:55:08 +02:00
Grot (@grafanabot) and Leon Sorokin
ccc0a52d4a
Histogram: enable client-side zoom (with bucket snapping) ( #35220 ) ( #35221 )
...
(cherry picked from commit 43d3d97562 )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2021-06-04 03:28:49 +02:00
Grot (@grafanabot) and Ryan McKinley
c8d6168bbf
Timeseries: move join field to index zero ( #35217 ) ( #35219 )
...
(cherry picked from commit e1af571efd )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-06-04 01:36:05 +02:00
Gabriel MABILLE
e49bf5926a
Provisioning: Update accesscontrol sample file ( #35203 )
...
(cherry picked from commit 134dba5101 )
2021-06-03 17:46:23 +02:00
Grot (@grafanabot) and Gábor Farkas
4aa622f7f1
influxdb: docs: add new screenshot ( #35156 ) ( #35201 )
...
(cherry picked from commit b558d32502 )
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2021-06-03 17:31:00 +02:00
Grot (@grafanabot) and Leon Sorokin
a8b2415b1f
Timeline: tooltip fixups ( #35145 ) ( #35191 )
...
(cherry picked from commit a3ba605aff )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2021-06-03 09:50:16 -05:00
Grot (@grafanabot) and Ganesh Vernekar
4fe55be39e
Alerting: Do not hard fail on templating errors in channels ( #35165 ) ( #35193 )
...
* Alerting: Do not hard fail on templating errors in channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix review
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit a30e60a0b8 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-06-03 16:48:37 +02:00
Grot (@grafanabot) and Josh Hunt
d78e78c2f4
AzureMonitor: Fix permissions issue with Logs template variable queries ( #35181 ) ( #35194 )
...
(cherry picked from commit 5fb37ad5dc )
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2021-06-03 16:47:24 +02:00
Grot (@grafanabot) and Josh Hunt
69dc4b281d
Grafana-UI: Fix checkbox vertical alignment ( #35124 ) ( #35174 )
...
* Grafana-UI: Fix Checkbox vertical layout issues
* reorganise css
* revert my 'fix' and just go back to setting a min height :(
(cherry picked from commit 32d9b04666 )
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2021-06-03 16:44:15 +02:00
Grot (@grafanabot) and Dimitris Sotirakis
681c2b3338
Chore: Remove endpoints that contain the slug field ( #35104 ) ( #35182 )
...
* Chore: Remove endpoints that contain the slug field
* More cleanups
* Lint fixes
* Remove unnecessary funcs
* Cleanup frontend code
* Remove deprecated endpoints from docs
* Revert change according to reviewer's comments
(cherry picked from commit 1c49986b2f )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2021-06-03 15:57:25 +02:00
Grot (@grafanabot) and Dominik Prokop
c0b872aae1
Timeline/Status grid panel: Add tooltip support ( #35005 ) ( #35183 )
...
* Timeline/Status grid tooltip support first pass
* Tooltips workin
* Use getValueFormat to get the duration
* Separate boxes highlight from tooltip interpolation
* Separate state timeline tooltip component, rely on field display color to retrieve color of series
* create an onHover/onLeave API and optimize implementation
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
(cherry picked from commit 7359ba44d0 )
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2021-06-03 15:50:49 +02:00
Grot (@grafanabot) and Ganesh Vernekar
5d772ffbe0
Alerting: Don't save Alertmanager config on migration when 0 channels ( #35119 ) ( #35180 )
...
* Alerting: Don't save Alertmanager config on migration when 0 channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix review
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit aa4c5bbfe4 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-06-03 19:14:30 +05:30
Grot (@grafanabot) and Serge Zaitsev
b04a21b002
Add verbose version flag to list dependencies as well as the version ( #34741 ) ( #35176 )
...
* add verbose version flag to list dependencies as well as the version
* Fix typo in the println message
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
(cherry picked from commit 9d33a06b4e )
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com >
2021-06-03 15:21:13 +02:00
Grot (@grafanabot) and Marcus Efraimsson
5fe040d26b
Chore: Refactor backend plugin manager/tsdb query data ( #34944 ) ( #35172 )
...
Move QueryData method into backend plugin manager which HandleRequest uses to
query data from plugin SDK supported data sources. This allowed us to remove a lot
of code no longer needed.
Ref #21510
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
(cherry picked from commit b3e9087557 )
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-06-03 14:41:42 +02:00
Torkel Ödegaard
57060a2276
PanelEdit: Add data source label to data source picker dropdown ( #34605 ) ( #35148 )
...
* PanelEdit: Add data source label to data source picker dropdown
* Updated based on ux feedback
(cherry picked from commit ec33bae8d4 )
2021-06-03 14:32:50 +02:00
Grot (@grafanabot) and Leon Sorokin
7feb7dab38
GraphNG: uPlot 1.6.11 ( #35146 ) ( #35158 )
...
(cherry picked from commit 433f11a78c )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2021-06-03 07:28:17 -05:00
Grot (@grafanabot) and Uchechukwu Obasi
6a08652891
DashboardRow: fixes time variable not updating when used in row title ( #34523 ) ( #35168 )
...
* DashboardRow: fixes time variable not updating when used in row title
* adds test cases for subscribe event
(cherry picked from commit 395d7eb74c )
Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com >
2021-06-03 14:02:41 +02:00
Grot (@grafanabot) and Uchechukwu Obasi
cf02cb2987
VizLegendTable: fixes column spacing to span to the right side ( #35045 ) ( #35167 )
...
* VizLegendTable: fixes column spacing to span to the right side
* reverted text alignment to right
* implemented a more readable solution for tabble legend spacing
(cherry picked from commit 4d574bb8aa )
Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com >
2021-06-03 13:52:49 +02:00
Grot (@grafanabot) and Andrej Ocenas
aa6355b6ea
NodeGraph: Don't check for preferredVisualisationType ( #35116 ) ( #35163 )
...
* Don't check for preferredVisualisationType inside the NodeGraph
* Fix layout worker mocking
(cherry picked from commit 0b94f33813 )
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2021-06-03 13:22:15 +02:00
Grot (@grafanabot)
1e533f37ed
Security: Update default CSP template and fix firefox CSP issues ( #34836 ) ( #35162 )
...
* Security: Update default content_security_policy_template
- Add 'strict-dynamic' back to script-src
- Add ws(s)://$ROOT_PATH to connect-src
- Change onEvent to on-event in angular templates to fix CSP issues in firefox.
- Add blob: to style-src
(cherry picked from commit 8143991b94 )
2021-06-03 12:11:14 +01:00
Grot (@grafanabot) and Jack Westbrook
7083577a4a
Chore: Bump sanitize-url to 5.0.2 ( #35088 ) ( #35151 )
...
(cherry picked from commit 9df23b8fff )
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2021-06-03 11:34:29 +02:00
Grot (@grafanabot) and Will Browne
ada0a52a0f
fix bad log format ( #35150 ) ( #35153 )
...
(cherry picked from commit 057ba4a6e7 )
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2021-06-03 10:55:43 +02:00
Grot (@grafanabot) and Carl Bergquist
0546486f31
plugin: add signature status plugin build info ( #35128 ) ( #35132 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
(cherry picked from commit ba7aca69f6 )
Co-authored-by: Carl Bergquist <carl.bergquist@gmail.com >
2021-06-03 08:24:20 +02:00
Grot (@grafanabot) and Ryan McKinley
dd8bf2afa8
State-timeline: support migrating from discrete panel ( #35071 ) ( #35134 )
...
(cherry picked from commit a9b5aa1088 )
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-06-02 21:45:36 +02:00