Grot (@grafanabot) and Gabi Davar
cbede52ef6
Fix issue link ( #42891 ) ( #44123 )
...
(cherry picked from commit c4b345cfc4 )
Co-authored-by: Gabi Davar <grizzly.nyo@gmail.com >
2022-01-17 15:44:25 +00:00
Grot (@grafanabot) and Erik Sundell
75b2a92c63
Azure Monitor: Improved error messages for variable queries ( #43213 ) ( #44117 )
...
(cherry picked from commit 5ae5a2e0d0 )
Co-authored-by: Erik Sundell <erik.sundell@grafana.com >
2022-01-17 16:21:33 +01:00
Grot (@grafanabot) and Piotr Jamróz
410d9a96cf
Elastic: Allow using long/int as date field for alerts ( #44027 ) ( #44115 )
...
* Use integers for time range filter
Previously it was passed as a string which is automatically converted by Elastic to a number only if the field type is "date". For other types (e.g. "long") such conversion doesn't work. In theory "date" could be passed as a formatted string but we don't use it this way and always pass it as a number so it is safe to always pass numbers, not strings.
* Fix time_series_query_test
* Retrigger build
(cherry picked from commit 9fb8339f87 )
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2022-01-17 16:19:50 +01:00
Grot (@grafanabot) and Erik Sundell
0a8f4cff3e
CloudMonitoring: Fixes broken variable queries that use group bys ( #43914 ) ( #44116 )
...
(cherry picked from commit 715166baf3 )
Co-authored-by: Erik Sundell <erik.sundell@grafana.com >
2022-01-17 16:04:06 +01:00
Grot (@grafanabot) and Ivana Huckova
4ed62247f0
Prometheus: Fix interpolation of $__rate_interval variable ( #44035 ) ( #44114 )
...
* Name fields based on targets length
* Remove rounding in rate interval variable replacing
* Refactor and fix edge case when interval and time duration would be rate interval
* Add tests
* Remove , from test
* Revert "Name fields based on targets length"
This reverts commit 5dcb34a765 .
(cherry picked from commit e704110f74 )
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-01-17 15:44:56 +01:00
Grot (@grafanabot) and Hugo Häggmark
1851cf38d5
Variables: Fix for migrating legacy data source properties ( #43263 ) ( #44106 )
...
(cherry picked from commit aa47cac69f )
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2022-01-17 15:18:29 +01:00
Grot (@grafanabot) and Connor Lindsey
8ae06767a8
Tempo: Provide tag value completion items consistently ( #43773 ) ( #43863 )
...
(cherry picked from commit 3d6e9076c9 )
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com >
2022-01-17 15:13:56 +01:00
Grot (@grafanabot) and Gilles De Mey
16dc72e3c6
Alerting: show deleted datasource ( #43891 ) ( #44105 )
...
(cherry picked from commit bd9df4f829 )
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2022-01-17 14:48:56 +01:00
Dimitris Sotirakis
139cd1d9fc
[v8.3.x] Update grabpl version to 2.8.4 - modify commands ( #43996 ) ( #43999 )
...
* Update grabpl version to 2.8.3 - modify commands (#43996 )
(cherry picked from commit 787d55fb2d )
* Update grabpl to 2.8.4
* Sign drone
2022-01-17 13:43:04 +00:00
Gilles De Mey
575d7ed5d5
Alerting: remove dead code ( #43956 ) ( #44103 )
...
(cherry picked from commit 55ec05b560 )
2022-01-17 14:29:34 +01:00
Grot (@grafanabot) and Ashley Harrison
e77602a3b9
Export: Fix error being thrown when exporting dashboards using query variables that reference the default datasource ( #44034 ) ( #44093 )
...
* handle undefined datasources, add unit test
* slightly nicer
(cherry picked from commit c618339482 )
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-01-17 11:40:50 +01:00
Grot (@grafanabot) and ToTheMax
cea53ca70a
Fixed broken links in documentation ( #44044 ) ( #44054 )
...
* Fixed broken link
* Fixed broken contribute documentation link
* Consistent relative contribute-folder url
(cherry picked from commit bd8791aced )
Co-authored-by: ToTheMax <21971014+ToTheMax@users.noreply.github.com >
2022-01-14 10:49:45 -05:00
Dimitris Sotirakis and Timur Olzhabayev
3878ff9324
[v8.3.x] chore(drone): switch to using cypress built image for e2e tests ( #44050 )
...
* chore(drone): switch to using cypress built image for e2e tests
(cherry picked from commit ec9d6b9ca9 )
* Remove volumes - downgrade cypress version
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2022-01-14 16:51:46 +02:00
Grot (@grafanabot) and Giordano Ricci
3aab445245
[v8.3.x] Elasticsearch: Fix handling multiple datalinks for a single field ( #44049 )
...
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2022-01-14 15:23:31 +01:00
Grot (@grafanabot) and Hugo Häggmark
e801e20c7d
Variables: Handle variable cancellations better ( #43987 ) ( #44032 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: kay delaney <kay@grafana.com >
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >>
(cherry picked from commit 7ffefc069f )
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2022-01-14 11:33:58 +01:00
Grot (@grafanabot) and J Guerreiro
16a8902593
Usage stats: Count API keys ( #42883 ) ( #44025 )
...
* Stats: add api key count to usage stats
* Chore: correctly capitalize struct member
(cherry picked from commit a1b8b5d123 )
Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com >
2022-01-14 10:28:02 +01:00
Grot (@grafanabot) and Gábor Farkas
37bb5f17f2
prometheus: fix auto-inserting null-timestamps at the end ( #44022 ) ( #44024 )
...
(cherry picked from commit bedc5cccaa )
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2022-01-14 10:05:58 +01:00
Grot (@grafanabot) and Gábor Farkas
c76acbadd6
Prometheus: add tests covering the prometheus-response to dataframes conversion ( #43892 ) ( #44023 )
...
* prometheus: add tests covering prometheus_response to grafana_dataframes
* fixed variable name
* added comment
* removed not-helping function call
(cherry picked from commit 4a88b8f66c )
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2022-01-14 09:47:08 +01:00
Konrad Lalik
5a5050df32
Alerting: Fix the silence url's matcher parameters ( #43898 ) ( #44002 )
...
* Split silence matchers parameter into a separate entry for each label
* Unify the silence link creation
* Remove duplicated matchers when parsing to/from query params
* Add tests for matchers
* Add a comment with a duplication removal explanation
* Improve label duplication comment
* Remove redundant code
* Use uniqBy to simplify the code. Rename matchers parameter
* Fix Silence test data
(cherry picked from commit c829535f14 )
2022-01-13 14:45:06 +01:00
Andres Martinez Gotor
3ac80e696c
[v8.3.x] Allow to bypass modal focus trap ( #44001 )
2022-01-13 13:58:07 +01:00
Grot (@grafanabot) and Agnès Toulet
425b9f5bd4
Docs: clean up image renderer dependencies and add ones for CentOS 8 ( #41862 ) ( #43993 )
...
* Docs: clean up image renderer dependencies and add ones for CentOS 8
* apply PR review feedback
(cherry picked from commit a9dfd3a487 )
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2022-01-13 11:55:01 +01:00
Grot (@grafanabot) and Ashley Harrison
646bc54d09
only push default datasources to the list if they're not undefined ( #43966 ) ( #43990 )
...
(cherry picked from commit 8f1468df6a )
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-01-13 10:43:12 +01:00
Nate Walters
d4a1fad604
Chore: fix docs typo ( #43980 )
2022-01-12 22:03:32 -08:00
Grot (@grafanabot) and Victor Marin
5bd12321ca
Postgres/MySQL/MSSQL: Cancel in-flight SQL query if user cancels query in grafana ( #43890 ) ( #43965 )
...
(cherry picked from commit f881fd1637 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2022-01-12 15:43:21 +01:00
Gilles De Mey
59c2ffec0b
Alerting: manual backport of #43367
2022-01-12 14:16:51 +01:00
Dimitris Sotirakis
ac031acdbe
Update grabpl version to 2.8.2 ( #43949 ) ( #43954 )
...
(cherry picked from commit 634ce4a98e )
2022-01-12 12:25:27 +01:00
Grot (@grafanabot) and Hugo Häggmark
6fe27c5274
Variables: Fix so data source variables are added to adhoc configuration ( #43881 ) ( #43953 )
...
(cherry picked from commit 7f8f9eb814 )
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2022-01-12 12:19:56 +01:00
Grot (@grafanabot) and Ivana Huckova
63064facdb
Name fields based on targets length ( #43832 ) ( #43943 )
...
(cherry picked from commit c8ef541c02 )
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-01-12 11:22:07 +01:00
Dimitris Sotirakis
6217739bc9
CI: Automate Grafana releases ( #43897 ) ( #43911 )
...
* CI: Automate releases
* Update grabpl version
(cherry picked from commit 4f47832bac )
2022-01-12 10:40:11 +01:00
Travis Patterson
c45313a268
Propagate all headers ( #43812 ) ( #43922 )
...
* Propagate all headers
* stable header order
(cherry picked from commit 9eb82f9fff )
2022-01-11 14:39:52 -07:00
Grot (@grafanabot) and Alexander Weaver
c7c7d6fe88
Alerting: [Docs] Clarifications regarding what's supported in alerting message templates ( #43544 ) ( #43924 )
...
* Clarify docs for alerting templates
* Fix template cross-reference
* Add a single missing delimiter
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Address various points of docs feedback
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com >
(cherry picked from commit 59bda131ec )
Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com >
2022-01-11 14:39:08 -06:00
Dimitris Sotirakis
a4c660ca0e
Update grabpl version to 2.8.1 ( #43902 ) ( #43917 )
...
(cherry picked from commit ee0a30c8c2 )
2022-01-11 20:42:38 +01:00
Grot (@grafanabot) and Travis Patterson
5f2c47b125
Change 'grafana-expression' to ExpressionDatasourceRef.type so isExpr… ( #43379 ) ( #43913 )
...
* Change 'grafana-expression' to ExpressionDatasourceRef.type so isExpressionReference works
* use constant ref in tests
* import from package
(cherry picked from commit d52a6e3d3b )
Co-authored-by: Travis Patterson <travis.patterson@grafana.com >
2022-01-11 17:57:11 +01:00
Isabella Siu
10fb21ff18
CloudMonitoring: separate out google auth docs ( #43481 ) ( #43907 )
...
* CloudMonitoring: separate out google auth docs
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* docs team changes
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
(cherry picked from commit 5e7804f466 )
2022-01-11 10:23:23 -05:00
Grot (@grafanabot) and Andreas Fitzek
f67d474844
Fix typo in contact-points documentation ( #43883 ) ( #43903 )
...
Fixes a typo in contact-points documentation, `mesasges` => `messages`
(cherry picked from commit 58408f31ab )
Co-authored-by: Andreas Fitzek <andreas.fitzek@gmail.com >
2022-01-11 10:05:35 -05:00
Dimitris Sotirakis
7e5bce7a91
Chore: Split release pipelines ( #43419 ) ( #43893 )
...
* Split release pipelines
* Re-add pr and main pipelines
(cherry picked from commit f60a2e8152 )
2022-01-11 10:54:32 +00:00
Ivana Huckova
5d760f8465
Prometheus: annotation: fix only first frame was process error & typo. ( #43486 ) ( #43804 )
2022-01-11 11:05:24 +01:00
Grot (@grafanabot) and Piotr Jamróz
df271c68e3
A11y: Fix a11y issues in OpenTSDB ( #43714 ) ( #43729 )
...
* Fix a11y issues in OpenTSDB configuration page
* Fix a11y issues in OpenTSDB editor
* Link labels to inputs where possible
Co-authored-by: kay delaney <kay@grafana.com >
(cherry picked from commit bac9253fdc )
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2022-01-11 09:48:57 +01:00
idafurjes
433f0570cf
Chore: Upgrade go and alpine ( #43801 ) ( #43846 )
...
* Upgrade go and alpine
* Bump grabpl version
* Bump alpine version
* Fix version of grabpl
* Bump alpine version
* Bump alpine in Dockerfiles
(cherry picked from commit 3ca58c0e0c )
2022-01-10 11:30:07 +01:00
Dimitris Sotirakis
51f516e16d
Chore: Replace publish keyword with store ( #43340 ) ( #43814 )
2022-01-10 10:24:01 +01:00
Grot (@grafanabot) and Hugo Häggmark
9b33b5388b
Variables: Fix for flickering repeat panels ( #43447 ) ( #43841 )
...
* Variables: Fix for flickering repeat panels
* Refactor: updates after PR comments
(cherry picked from commit 9d11c9153f )
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2022-01-10 07:01:11 +01:00
Travis Patterson
d3d3e99a3f
Forward oauth tokens after prometheus datasource migration ( #43686 ) ( #43818 )
...
* create the prom client
* implement lru cache of prometheus clients based on auth headers
* linter
(cherry picked from commit 20b3b2a448 )
2022-01-07 19:25:13 +01:00
Grot (@grafanabot) and Travis Patterson
38f86645e7
Add record-audio icon for recorded queries ( #43734 ) ( #43784 )
...
* Add record-audio icon for recorded queries
* add record-audio icon to iconBundle
Co-authored-by: Todd Treece <todd.treece@grafana.com >
(cherry picked from commit 8898a5f0a0 )
Co-authored-by: Travis Patterson <travis.patterson@grafana.com >
2022-01-07 08:41:20 -07:00
idafurjes
a3932327c2
Upgrade go version to 1.17.6 ( #43797 ) ( #43807 )
...
(cherry picked from commit 4eacdf5f9e )
2022-01-07 16:28:15 +01:00
Grot (@grafanabot) and Dimitris Sotirakis
2967c8ec30
Add packages:publishPrevious command ( #43800 ) ( #43805 )
...
(cherry picked from commit 79d10c6903 )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2022-01-07 15:38:50 +01:00
Grot (@grafanabot) and Zoltán Bedi
fc6aa3833e
Postgres: Fix test datasource always returns success ( #43762 ) ( #43789 )
...
(cherry picked from commit 85246d7179 )
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2022-01-07 10:57:26 +01:00
Grot (@grafanabot) and Torkel Ödegaard
d12111cb97
Table: Fixes issue with field config applied to wrong fields when hiding columns ( #43376 ) ( #43788 )
...
* Table: Fixes issue with field config applied to wrong fields when hiding columns
* Minor refactoring
* Fixing comment
* Rename to field
* Forgot to save test file
(cherry picked from commit 5b02e8a666 )
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
2022-01-07 10:47:19 +01:00
Grot (@grafanabot) and Dimitris Sotirakis
5c6ab44b41
Remove duplication ( #43694 ) ( #43786 )
...
(cherry picked from commit beba5958a4 )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2022-01-07 10:38:24 +01:00
Grot (@grafanabot) and MaukWM
040bdf4803
Fixed incorrect link to text panel page ( #43757 ) ( #43775 )
...
"Text panel" was linking to the "alert list panel" page: (https://grafana.com/docs/grafana/latest/visualizations/alert-list-panel/ ). This change should map it to the correct page now (https://grafana.com/docs/grafana/latest/visualizations/text-panel/ ).
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com >
(cherry picked from commit faca526c16 )
Co-authored-by: MaukWM <maukmul@gmail.com >
2022-01-06 15:38:19 -05:00
Grot (@grafanabot) and Giordano Ricci
101af6a66d
[v8.3.x] Input: Fix margins when not using prefix/suffix ( #43759 )
...
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2022-01-06 14:43:45 +01:00