Commit Graph

32382 Commits

Author SHA1 Message Date
Ivan Anselmi
cf3105e5be
MSSQL: Change regex to validate Provider connection string (#40248)
* Change the regex to allow to specified other connection attribute for MSSQL connection like ApplicationIntent property

* Docs update

* docs update

* some tests added

* formatting

* Change the regex to allow to specified other connection attribute for MSSQL connection like ApplicationIntent property

* Docs update

* docs update

* some tests added

* formatting

* docs and formatting

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-11-30 09:28:48 +01:00
Petros Kolyvas
ce0cf331e0
Docs: First GeoJSON update to docs for v8.3 (#42394)
* First GeoJSON update to docs for v8.3

* Minor tweaks to views

* More language tweaks to views

* Removed alpha functionality from docs

* Added layer order and removed alpha functionality notes

* Updated marker shapes doc text with additional info

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/visualizations/geomap.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Finishing touches

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-11-30 01:30:20 +01:00
Yuriy Tseretyan
005c8f8894
Alerting: Disable unified alerting by default in Enterprise Grafana (#42476)
* fallback to enable false if Enterprise is true

* anyBoolean
2021-11-29 20:51:15 +01:00
Torkel Ödegaard
1f8336e5fe
DataSourceVariable: Fixes issue repeating panels by data source variable (#42462) 2021-11-29 20:32:18 +01:00
Santiago
a21d1e50f1
avoid template execution errors on missing values (#41617) 2021-11-29 15:26:51 -03:00
Dimitris Sotirakis
54ea2ed766
CI: Notify channel on drone yaml changes (#42428)
* Notify on drone yaml changes

* Change secrets

* Remove test notification

* Fix typo
2021-11-29 20:08:13 +02:00
Serge Zaitsev
95831e9be0
Fix: Restore data binding in the create dashboard handler 2021-11-29 19:05:20 +01:00
Victor Marin
42d1a0f32e
TooltipPlugin: Remove other panels' shared tooltip in edit panel (#42187) 2021-11-29 19:27:56 +02:00
Will Browne
9c9e79da4f
only preload app plugins (#42434) 2021-11-29 18:26:04 +01:00
renovate[bot]
868428528f
Update dependency @testing-library/jest-dom to v5.15.1 (#42463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 18:12:47 +01:00
Gilles De Mey
db6b71a27b
Alerting: fix broken datasource link (#42468) 2021-11-29 17:57:58 +01:00
Ashley Harrison
5eb35606b9
Transformations: Clarify behaviour of Date format (#42436)
* Transformations: Clarify behaviour of `Date format`

* Remove full stop from bullet point
2021-11-29 16:30:07 +00:00
Alexander Emelin
7034173ef5
Live: fix closing ws conns for push endpoints (#42447) 2021-11-29 19:22:42 +03:00
renovate[bot]
98dcac7596
Update dependency @testing-library/dom to v8.11.1 (#42461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 16:22:20 +00:00
renovate[bot]
2c62ab5ceb
Update dependency @storybook/addon-knobs to v6.4.0 (#42460)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 16:21:04 +00:00
renovate[bot]
d5b8522af2
Update dependency @cypress/webpack-preprocessor to v5.10.0 (#42382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 15:58:32 +00:00
renovate[bot]
2550e69cf8
Update dependency @sentry/utils to v6.15.0 (#42433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 15:44:13 +00:00
renovate[bot]
85306ebf7e
Update dependency @react-aria/focus to v3.5.0 (#42400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 15:43:06 +00:00
Peter Holmberg
8bf6011450
Alerting: Show full preview value in tooltip (#42445)
* use JSONCell for value

* remove console log and usememo
2021-11-29 16:39:58 +01:00
Ivana Huckova
8d6831f21f
Tracing: Refactor span detail logic (#42152)
* Tracing: Update incorrect span fix based on review feedback

* Prometheus: Use this.query for health check

* Revert "Prometheus: Use this.query for health check"

This reverts commit 4c1a6a92a5.
2021-11-29 16:19:56 +01:00
Christopher Moyer
8b34df36c2
Update license restrictions documentation (#41713)
* Update docs/sources/enterprise/license/license-restrictions.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-11-29 16:09:01 +01:00
Torkel Ödegaard
c3d0d37bd7
ValueMappings: Fixes issue with regex value mapping that only sets color (#42311)
* ValueMappings: Fixes issue with regex value mapping that only sets color

* Fixed test name
2021-11-29 16:03:13 +01:00
Alexander Zobnin
becfd776c3
OAuth: Forward id token to the data source (#42422)
* OAuth: Forward id token to the data source

* Add tests

* Forward id token in legacy API

* Check if id_token is string or not
2021-11-29 15:40:05 +01:00
Tania B
58978dcf96
Encryption: Add usage stats to secrets service (#42437)
* Encryption: Add usage stats to secrets service

* Sort imports
2021-11-29 16:35:15 +02:00
Will Browne
e440796cb3
only load CSV when data exists (#42441) 2021-11-29 15:21:18 +01:00
Eric Leijonmarck
d997e051c2
AccessControl: Document role display name (#40068)
* docs: role displayname

* Update docs/sources/enterprise/access-control/roles.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update docs/sources/enterprise/access-control/roles.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* refactor: update accesscontrol based on fixed roles

* update displayname text

* Update docs/sources/enterprise/access-control/roles.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* updated group

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: eleijonmarck <eleijonmarck@Erics-MBP.home>
2021-11-29 15:06:10 +01:00
wengelbrecht-grafana
e1a3b6a386
Update FieldLookupTransformerEditor.tsx (#42405)
Fixed 2 small spelling mistakes
2021-11-29 14:27:34 +01:00
Peter Holmberg
8692f574c9
Alerting: Prevent folders from being deleted when they contain alerts (#42307) 2021-11-29 14:25:31 +01:00
idafurjes
a65e0be110
Replace AddEventListener with AddEventListenerCtx and Publish with PublishCtx (#42284) 2021-11-29 14:23:24 +01:00
Marcus Efraimsson
8927a3ca20
Chore: Query endpoint refactor (#41637)
Get rid of using legacydata.RequestHandler in HTTPServer, /api/tsdb/query and pkg/expr 
with the goal of deprecating /api/tsdb/query and remove it completely eventually. This is 
the first step of cleaning up the HTTP API query endpoint.

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2021-11-29 14:21:54 +01:00
renovate[bot]
6e8cc426d6
Update babel monorepo (#42381)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:54:29 +01:00
Ivana Huckova
0b5d7067f9
Prometheus: Fix range variables interpolation for time ranges smaller than 1 second (#42242)
* Prometheus: Fix precision for queries with < 1s timeRange

* Update pkg/tsdb/prometheus/time_series_query.go

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2021-11-29 12:41:23 +01:00
renovate[bot]
40339fe912
Update dependency @monaco-editor/react to v4.3.1 (#42388)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:35:59 +01:00
idafurjes
e20766146a
Upgrade build-container to version 1.4.8 (#42373)
* Upgrade build-container to version 1.4.8

* disable lint of mixin

Co-authored-by: Ying WANG <ying.wang@grafana.com>
2021-11-29 12:03:16 +01:00
Gábor Farkas
8508ad79b2
Dashboard: Fix queries for panels with non-integer widths (#42420)
* dashboard: fix non-integer panel widths

* switched to better supported function
2021-11-29 11:49:53 +01:00
Carl Bergquist
3285742196
grafana-mixin: change owner to the hosted-grafana team (#42418)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-11-29 11:28:42 +01:00
Peter Holmberg
cb7e047c68
Alerting: Fix refresh on legacy Alert List panel (#42322) 2021-11-29 10:22:47 +01:00
Serge Zaitsev
d9cdcb550e
Chore: Refactor api handlers to use web.Bind (#42199)
* Chore: Refactor api handlers to use web.Bind

* fix comments

* fix comment

* trying to fix most of the tests and force routing.Wrap type check

* fix library panels tests

* fix frontend logging tests

* allow passing nil as a response to skip writing

* return nil instead of the response

* rewrite login handler function types

* remove handlerFuncCtx

* make linter happy

* remove old bindings from the libraryelements

* restore comments
2021-11-29 10:18:01 +01:00
Andres Martinez Gotor
9cbc872f22
CloudMonitoring: Avoid to escape regexps in filters (#41961) 2021-11-29 10:04:36 +01:00
Gábor Farkas
adbc5bde72
explore: fix url update inconsistency (#42288) 2021-11-29 10:00:41 +01:00
Nathan Marrs
f454a5ce60
Add optional check to fix text dimension runtime error (#42402) 2021-11-28 17:21:22 -08:00
Artur Wierzbicki
1f237d0193
#42174: fix: fill 'field.name' in the auto-added Time field (#42301) 2021-11-26 23:52:01 +04:00
lean.dev
1ee34fb90a
Fixing documentation for query caching plugin: steps duplicated (#42392) 2021-11-26 19:15:45 +01:00
gotjosh
dd5a2e5128
Alerting: Clear alerting rule evaluation errors after intermittent failures (#42386)
* Alerting: Clear alerting rule evaluation errors after intermittent failures

When an alert transitioned in a way that `alerting -> error -> (alerting|nodata)`, the error provided by the `error` state would never be cleared thus the API and UI would show the health as an error.
2021-11-26 17:58:19 +00:00
idafurjes
725dbf8d95
Chore: Add context to datasource service (#42294)
* Add context to datasource service

* Adjust wire for ShouldBeReported method

* Replace inTransactionCtx
2021-11-26 18:10:36 +01:00
Ashley Harrison
6aa05c5d05
Dependencies: Fix broken renovate config (#42379) 2021-11-26 17:36:23 +01:00
Ashley Harrison
84744aa04f
Dependencies: enable minor version updates + turn on batched monthly patch updates (i think) (#42376) 2021-11-26 15:59:01 +00:00
Torkel Ödegaard
9f4aa472cf
Select: Fix input cursor position so that it is at the start for single value selects (#41693)
* Select: Fix input cursor position so that it is at the start for single value selects

* Fixing e2e tests

* Fixes cursor issue

* Fixing e2e tests

* e2e fix

* Select: ensure input always overlays singleValue, update pa11y config

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-26 15:38:48 +00:00
Josh Hunt
130386f84b
Chore: Fix errant text appearing in AnnotationSettingsList table (#42360) 2021-11-26 13:25:08 +00:00
Torkel Ödegaard
820aa3ac59
Statetimeline/TimeSeries/BarChart: Limit y label width to 40% of visualiation width (#42350) 2021-11-26 14:15:57 +01:00