Commit Graph

35741 Commits

Author SHA1 Message Date
Grot (@grafanabot) 8eda9c96d3 fix docs with correct instructions to create a silence URL (#52062) (#52112)
(cherry picked from commit f4606faec2)

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2022-07-12 11:51:26 -04:00
Brendan O'Handley be3db07bd4 Prometheus datasource: query builder freezes when metrics metadata is undefined (#51929) (#52058)
* add error handling for prom query builder returning undefined metrics metadata

* remove reference to escalation

(cherry picked from commit e51187a474)
2022-07-12 10:26:51 -04:00
Grot (@grafanabot) 4e8cd49e08 Fix relrefs in devloper docs (#51942) (#51995)
(cherry picked from commit 1c6ee69c2d)

Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com>
2022-07-11 16:38:33 -07:00
Grot (@grafanabot) 82f7490f7e Alerting: Allow filtering of contact points by name (#51933) (#52070)
* Define query param and regenerate

* Add query struct for contact points

* Filter contact points by name in query

* Document that name filter is optional

(cherry picked from commit 0e066dd5f8)

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2022-07-11 18:26:35 -04:00
Grot (@grafanabot) b016c0aec4 BarChart: fix crash when checking bar value text overlap (#52061) (#52064)
(cherry picked from commit 254159ad69)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-07-11 14:01:53 -04:00
Leon Sorokin 5789a04e35 GraphNG: uPlot 1.6.22 (#51945) (#51992)
(cherry picked from commit fda7f064ad)

# Conflicts:
#	yarn.lock
2022-07-11 10:55:06 -05:00
Grot (@grafanabot) ef5372d317 AzureMonitor: Update resource and namespace metadata. (#52030) (#52053)
Fixes #52028

(cherry picked from commit 1f3ff08482)

Co-authored-by: despian <mfamphlett@gmail.com>
2022-07-11 11:31:33 -04:00
Joey Tawadrous f6147c8ece Fixed cherry-pick conflicts (#52037) 2022-07-11 15:56:02 +01:00
Grot (@grafanabot) 1d6b044c48 refactors all dashboard and linking content (#52005) (#52042)
(cherry picked from commit 94175a801a)

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-07-11 07:52:25 -05:00
Grot (@grafanabot) 23ff480957 Loki: Fix suggesting operations from different category (#52034) (#52041)
(cherry picked from commit 0a2a370b77)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-07-11 08:42:53 -04:00
Grot (@grafanabot) d67c1004f7 Docs: new data sources topic (#51863) (#51898)
* Docs: new datasources topic

* Update docs/sources/alerting/fundamentals/data-source-alerting.md

Co-authored-by: George Robinson <george.robinson@grafana.com>

* Update docs/sources/alerting/fundamentals/data-source-alerting.md

Co-authored-by: George Robinson <george.robinson@grafana.com>

* corrects relrefs

Co-authored-by: George Robinson <george.robinson@grafana.com>
(cherry picked from commit f6f017edc2)

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2022-07-11 13:28:21 +01:00
Grot (@grafanabot) 36b06b90ff Table: Fix scrollbar is hidden by pagination (#51501) (#51960)
* Table: Pagination fix centering

* Table: Fix scrollbar is hidden by pagination

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
(cherry picked from commit 506e63f4e1)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-07-11 09:22:55 +02:00
Grot (@grafanabot) 7e5a7fc7fc Alerting: Add method to reset notification policy tree back to the default (#51934) (#52004)
* Define route and run codegen

* Wire up HTTP layer

* Update API layer and test fakes

* Implement reset of policy tree

* Implement service layer test and authorization bindings

* API layer testing

* Be more specific when injecting settings

(cherry picked from commit fce283d73e)

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2022-07-08 16:39:49 -05:00
Adam Simpson 08f72f214e CloudWatch: Remove simplejson in favor of 'encoding/json' (#51062) (#51999)
(cherry picked from commit 05cdef5004)
2022-07-08 20:03:11 +00:00
Grot (@grafanabot) 48f1752e43 FeatureFlags: omit metric when grafana cant run the feature (#51856) (#51981)
(cherry picked from commit 704a602d8c)

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2022-07-08 10:52:07 -06:00
Christopher Moyer 07cc627e10 adds shared content (#51982) (#51986)
(cherry picked from commit 7f70be0580)
2022-07-08 11:08:37 -05:00
Alexander Weaver 2b23445b42 Fix consistency errors and regenerate (#51935) (#51985)
(cherry picked from commit d77731646c)
2022-07-08 11:00:33 -05:00
Grot (@grafanabot) 25ca7c3ed8 Loki: Add missing operators in label filter expression (#51880) (#51972)
(cherry picked from commit 99fb29850e)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-07-08 17:47:47 +02:00
Grot (@grafanabot) c50ac22022 Plugins: InfluxDB update time range query (#51833) (#51927)
(cherry picked from commit 8deb17fdc4)

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2022-07-08 16:21:40 +02:00
Grot (@grafanabot) c086ae990d Azure Monitor: Add support to migrate some queries with template variables (#51881) (#51899)
(cherry picked from commit 438c76252a)

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2022-07-08 04:37:17 -04:00
Grot (@grafanabot) 6c9ed9a759 Alerting: Fix RegExp matchers in frontend for Silences and other previews. (#51726) (#51873)
(cherry picked from commit d99a7334d5)

Co-authored-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-08 10:42:43 +08:00
Grot (@grafanabot) 91585c7719 Plugins: InfluxDB datasource - set epoch query param value as "ms" (#51651) (#51926)
(cherry picked from commit 3d68023606)

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2022-07-07 19:25:08 +02:00
Grot (@grafanabot) 2a25dc7ab8 Rendering: Fix user information when using render key (#50879) (#51920)
* Rendering: Fix user information when using render key

* fix when render user ID is 0

* update fix

* improve fix

* add comment

(cherry picked from commit ca80865bf1)

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2022-07-07 19:02:09 +02:00
ismail simsek f3ddc42358 [v9.0.x] Plugins: InfluxDB variable interpolation fix (#51917) (#51922)
* Plugins: InfluxDB variable interpolation fix (#51917)

* Don't use regex on flux mode while applying template variables

(cherry picked from commit 885c517983)
2022-07-07 11:51:58 -04:00
Grot (@grafanabot) a35e7f0bf5 Plugins: InfluxDB variable interpolation fix for influxdbBackendMigration feature flag (#51624) (#51834)
(cherry picked from commit 9941e06e22)

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2022-07-07 17:22:00 +02:00
Grot (@grafanabot) 62e0a2c561 Time series panel: Fix an issue with stacks being not complete due to the incorrect data frame length (#51910) (#51915)
* Test failure

* Fix

(cherry picked from commit 5a65a12278)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-07-07 07:45:02 -07:00
Grot (@grafanabot) 6e86f5dcf7 Docs: Improve docs for differences and limitations (#51905) (#51909)
(cherry picked from commit 2b2c09b8d5)

Co-authored-by: George Robinson <george.robinson@grafana.com>
2022-07-07 15:16:33 +01:00
Grot (@grafanabot) 35a4b56e33 Docs: Improve docs for images in notifications (#51900) (#51906)
(cherry picked from commit ef1fb9d3a3)

Co-authored-by: George Robinson <george.robinson@grafana.com>
2022-07-07 14:49:06 +01:00
idafurjes 59dbbb41f8 Do not check permissions while deleting external snapshot (#51897) (#51904)
(cherry picked from commit ee88b44458)
2022-07-07 15:45:32 +02:00
Grot (@grafanabot) e4abc7b9f1 Chore: Fix CVE-2021-3807 (#51753) (#51803)
(cherry picked from commit 0c04fe16aa)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-07-07 15:33:45 +02:00
Grot (@grafanabot) 02220a6c51 Chore: Fix CVE-2022-0155 (#51755) (#51793)
(cherry picked from commit c1ef68535b)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-07-07 15:32:28 +02:00
Grot (@grafanabot) d085ae7df3 Chore: Fix CVE-2020-7753 (#51752) (#51792)
(cherry picked from commit f14cdc712c)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-07-07 15:30:38 +02:00
Grot (@grafanabot) 5f8a71e8c6 Chore: Fix CVE-2021-3918 (#51745) (#51791)
(cherry picked from commit 73e7a1cc92)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-07-07 15:28:46 +02:00
Grot (@grafanabot) a1ea62cce9 [v9.0.x] Bar chart: Fix stacking bug when data produces 0 accumulators (#51808)
* Bar chart: Fix stacking bug when data produces 0 accumulators (#51450)

* Don't divide by 0 ...

* Add test panel to gdev dashboard

(cherry picked from commit daf0e3cb4e)

* betterer

* Fix cue

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-07-07 06:16:39 -07:00
Grot (@grafanabot) 70f9ff79d3 AzureMonitor: Update curated dashboards (#51331) (#51882)
* Ensure resource name is appended to URI

* Add storage account check to ensure default subresource is appended

* Update storage dashboard

* Bump storage version

* Remove ADX StreamingIngestRequestRate panel as the metric is unavailable

* Refactor condition for storage namespaces

* Add more tests for URI builder

* Do not migrate resource URI if resource name or metric definition uses template variables

* Revert change to metricNamespace

(cherry picked from commit 0a6eeaa636)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2022-07-07 12:58:05 +01:00
Grot (@grafanabot) 11c15f3bfa [v9.0.x] Plugins: Register management endpoints only when external managed is also false (#51817)
* Plugins: Register management endpoints only when external managed is also false (#51802)

* Only define plugin install endpoints when catalog enabled

* add external check

(cherry picked from commit 40dff288cd)

* fix test

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Will Browne <will.browne@grafana.com>
2022-07-07 11:19:32 +02:00
Grot (@grafanabot) 65f31f978c Fixed broken link for supported namespaces (#51302) (#51868)
(cherry picked from commit a802e84772)

Co-authored-by: Yaelle Chaudy <42030685+yaelleC@users.noreply.github.com>
2022-07-07 11:15:12 +02:00
Grot (@grafanabot) e4158d654d Add doc-validator tool to CI (#51698) (#51869)
* Add doc-validator tool to CI

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Use simpler apostrophe to make title match h1

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Ensure doc-validator CI always passes until all errors are resolved

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
(cherry picked from commit 602ee37533)

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2022-07-07 09:23:08 +01:00
Grot (@grafanabot) 82269e8520 Fixes tooltip issue with time picker and dashboard settings (#51836) (#51842)
(cherry picked from commit 777f0d532a)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-07-07 07:31:59 +02:00
Grot (@grafanabot) 1470e3db18 fix broken links (#51821) (#51824)
(cherry picked from commit 93e2a0eddc)

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
2022-07-06 13:23:07 -03:00
Yuriy Tseretyan dbe2925564 Chore: Update ConcreteLogger to implement gokit Logger interface (#51599) (#51648)
# Conflicts:
#	pkg/infra/log/log.go
2022-07-06 11:49:36 -04:00
Grot (@grafanabot) 7ab58de091 Docker: Update glibc version (#51107) (#51826)
(cherry picked from commit c12d1727f0)

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2022-07-06 11:47:22 -04:00
Grot (@grafanabot) 18ea87a598 Histogram: filter nulls, bucket-adaptive xAxis decimals (#51773) (#51823)
(cherry picked from commit 173636aa61)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-07-06 11:28:23 -04:00
Grot (@grafanabot) 98b3d1e7b6 Loki: Fix error when changing operations with different parameters (#51779) (#51820)
* copy defaultParams when changing an operation

* add type and name comparison

* removed name check

(cherry picked from commit 663f3fcd2a)

Co-authored-by: Sven Grossmann <Svennergr@gmail.com>
2022-07-06 17:19:10 +02:00
Grot (@grafanabot) 8c2a855dee BarChart: fix explicit yAxis min (#51768) (#51811)
(cherry picked from commit d122449a97)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-07-06 08:59:00 -04:00
Grot (@grafanabot) 2ef79e5856 devenv: influxdb: fix config (#51781) (#51799)
(cherry picked from commit df9f86190f)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2022-07-06 07:38:26 -04:00
Grot (@grafanabot) 90645be45e Chore: Plugin CI E2E image update (#51787) (#51794)
(cherry picked from commit efdd999e03)

Co-authored-by: Sriram <yesoreyeram@gmail.com>
2022-07-06 12:09:15 +01:00
Grot (@grafanabot) b73d85fdd8 Only define plugin install endpoints when catalog enabled (#51788) (#51790)
(cherry picked from commit ba9fc10a74)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-07-06 11:28:08 +02:00
Grot (@grafanabot) e4c9e573cb Traces: Trace to logs fix (#51053) (#51778)
* Fix to set isSplunkDS

* Remove comment

* Updated betterer.results

(cherry picked from commit 2970c6db37)

Co-authored-by: Joey Tawadrous <90795735+joey-grafana@users.noreply.github.com>
2022-07-06 09:04:53 +01:00
Grot (@grafanabot) 49c0d9c763 Docs: Add and organize panels (#51763) (#51764)
* combines topics into add and organize panels topic

* updates front matter

* fixes relrefs

* fixes typo

* Update docs/sources/dashboards/add-organize-panels.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* Update docs/sources/dashboards/add-organize-panels.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* make prettier

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
(cherry picked from commit e4bf7ddefe)

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-07-05 13:10:35 -05:00