Commit Graph

29496 Commits

Author SHA1 Message Date
Sergey Kostrukov
c1b8a10f41
Plugins: Fix Azure token provider cache panic and auth param nil value (#34252)
* More tests for token cache

* Safeguarding from panic and concurrency fixes

* Update Azure dependencies

* Fix interpolation of empty plugin data
2021-05-18 15:36:58 +02:00
Kyle Brandt
63b2dd06a5
Alerting: Set "value" with evalmatches in G Managed (#34075)
When, and currently only when using a classic condition, evaluation information is added (which is like the EvalMatches from dashboard alerting).

This is returned via the API and can be included in notifications by reading the `__value__` label attached `.Alerts` in the template. It is a string.
2021-05-18 09:12:39 -04:00
Hugo Häggmark
592a3af40e
LibraryPanels: Fixes "error while loading library panels" (#34278)
* LibraryPanels: Fixes error while loading library panels

* Chore: fixes imports
2021-05-18 14:52:19 +02:00
kay delaney
8cfbee1e11
Chore: Remove md5 dependency and use uuid/v5 instead (#34192) 2021-05-18 13:42:57 +01:00
Alex Khomenko
9f9666415b
grafana/ui: Prevent Select placeholder text from wrapping (#34260) 2021-05-18 15:29:50 +03:00
Arve Knudsen
d1a9044171
CSP: Allow all image sources by default (#34265)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-18 13:41:55 +02:00
Domas
098b4fc319
Alerting: wrap top level components in ErrorBoundary (#34040) 2021-05-18 13:56:31 +03:00
Torkel Ödegaard
8ecfad6995
Contrast: Improve automatic contrast text logic to include opacity and background (#34190) 2021-05-18 12:32:27 +02:00
Torkel Ödegaard
c2ee2f10a7
Table: Fix issue with table border not showing with colored background cells (#34231) 2021-05-18 12:23:17 +02:00
Ivana Huckova
a40aef0822
Logs panel: Support details view (#34125)
* Show log details in Logs panel

* Add hide log details as panel option

* Refactor tests to use testing library

* Change hideLogDetails to enableLogsDetails

* Add enableLogDetails to test file
2021-05-18 11:16:29 +02:00
Alex Khomenko
10a19ab790
grafana/ui: update react-hook-form to version 7.5.3 (#34218) 2021-05-18 12:07:13 +03:00
Maria Alexandra
0e207c4133
Dashboard: Fix Editing a panel with auto-refresh enabled auto-refresh in the edit screen (#34128)
* Dashboard: Fix editing panel with auto-refresh

- Add default hidden and disabled auto-refresh option on the editing panel
- Extend unit test for DashboardModel
- Add unit test DashNavTimeControls component
2021-05-18 10:20:11 +02:00
Ganesh Vernekar
89c2b5e863
NGAlert: Remove unwanted fields from notification channel config (#34036)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-18 10:04:47 +02:00
Dimitris Sotirakis
bfcf82f861
Scuemata: Add grafana-cli command to validate resources against scuemata (#33852)
* Add validate-resource cli command

* Fixes according to reviewer's comments
2021-05-18 10:30:13 +03:00
Hugo Häggmark
93db2a099b
Revert "ForgottenPassword: Adds better error handling (#34174)" (#34254)
This reverts commit e246ec0d5b.
2021-05-18 09:01:55 +02:00
Domas
815603dc19
fix rule editor remounting issue (#34228) 2021-05-18 09:42:52 +03:00
Gábor Farkas
bd4afe41ba
Tempo: fix handling of trace-not-found cases (#34219) 2021-05-18 08:33:53 +02:00
Dimitris Sotirakis
b9eab37149
Scuemata: Add MergeFS implementation to enable iteration for multiple filesystems (#33989)
* Add MergeFS implementation to enable iteration to multiple filesystems

* Fix linting

* Fix misplaced close file

* Move mergefs functionality into tests

* Fix linting

* Add mergefs test

* Dummy commit - remove

* Test fixes - renaming

* Fix ReadDir

# Keeps first filesystem's overridden file

* Fixes according to reviewer's comments

* Remove dummy test

* Remove walkdir

* Small test refactoring
2021-05-18 09:22:31 +03:00
Hugo Häggmark
3339d13a45
Variables: Fixes inconsistend selected states on dashboard load (#34197) 2021-05-18 06:10:22 +02:00
Ryan McKinley
de5cd4a7d3
Timeline: split "periodic" mode into its own panel (#34171) 2021-05-17 13:00:04 -07:00
achatterjee-grafana
c630393cf4
Updated relref to "Configuring exemplars" section (#34240) 2021-05-17 14:48:15 -04:00
Ryan McKinley
eba6f66fba
FieldDisplay: remove auto min/max for percent units (#34234) 2021-05-17 10:54:06 -07:00
Diana Payton
8f50b9abb4
Docs: Update whats-new-in-v8-0.md (#34237)
* Update whats-new-in-v8-0.md

* Update whats-new-in-v8-0.md
2021-05-17 19:52:11 +02:00
gotjosh
6384f86fb9
Alerting: Allow the notifier to log (#34232)
* Alerting: Allow the notifier to log

The notifier upstream code uses go-kit as its logging library. The
grafana specific logger is not compatible with this API. In this PR, I
have created a wrapper that implements io.Writer to make them
compatible.
2021-05-17 18:06:47 +01:00
Ryan McKinley
7b32c5439b
Timeseries: support boolean values out-of-the-box (#34168) 2021-05-17 09:52:47 -07:00
Kyle Brandt
331991ca10
UAlerting: Increase default max datapoints (#34223)
Change const value from 100 to 43200 (12 hours at 1sec interval)
2021-05-17 18:46:52 +02:00
Ivana Huckova
31c1fc3e6e
Explore: Fix Cannot read property 'emit' of null error (#34114)
* Use state.eventBridge for errors only if angular editor (some SQL data sources are still listening on this)

* Update public/app/features/explore/state/query.ts

* Update public/app/features/explore/state/query.ts
2021-05-17 17:48:04 +02:00
Ryan McKinley
edcefe1c8e
Chore: Rename "marketplace" app to "catalog" (#34149) 2021-05-17 08:27:56 -07:00
achatterjee-grafana
315ca109e1
Added exemplar topic (#34147)
* Added topic and definition.

* More changes.

* Update docs/sources/basics/exemplars.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/basics/exemplars.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/basics/exemplars.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Added the time series topic back.

* Update docs/sources/basics/exemplars.md

* Updated title.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-17 11:21:07 -04:00
Zoltán Bedi
e1741695ac
Chore: remove redux-logger (#34220) 2021-05-17 16:43:40 +02:00
Diana Payton
d3d4c774e6
Docs: Add 8.0 data sources and auth content to What's new (#34148)
* Update whats-new-in-v8-0.md

* Update generic-oauth.md

* Update whats-new-in-v8-0.md
2021-05-17 16:38:57 +02:00
Vardan Torosyan
1e566e7783
Access control: Add phone-home metrics to check if fine-grained access control is enabled or not (#34107)
* Access control: Add phone-home metrics to check if fine-grained access control is enabled or not

* Apply suggestions from code review
2021-05-17 16:33:38 +02:00
Uchechukwu Obasi
85620f65a8
TextArea: updates story from knobs to control (#34195)
* TextArea: updates story from knobs to control

* removed the cols control since it has no effect on component

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-05-17 15:31:09 +02:00
Uchechukwu Obasi
21f0509f8b
Table: updates story from knobs to control (#34193)
* Tables: updates story from knobs to control

* removes the Descending and sortByDisplayName controls since they have no effect on component

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-05-17 14:27:05 +01:00
Sofia Papagiannaki
3e48fe9475
[Alerting]: Fix integration test (#34204) 2021-05-17 14:27:39 +02:00
Jack Westbrook
00253fe359
Dependencies: Remove duplicates from yarn.lock (#34124)
* build(yarn): run yarn-deduplicate on lock file

* chore(npm): clean up moment dependencies

* chore(npm): move dev dependencies out of dependencies

* chore(npm): bump moment-timezone to fix TS errors

* chore(npm): move dev dependencies to devDependencies in package.json
2021-05-17 14:18:54 +02:00
donomii
fc451cf277
Access Control: Add histograms for evaluator and permissions checks (#34026)
This patch adds metrics to support instrumenting the accesscontrols package.
It also instruments the accesscontrol evaluator and the permissions function.

Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2021-05-17 13:52:16 +02:00
Ivana Huckova
25d42dbedb
QueryField: Remove carriage return character from pasted text (#34076)
* Remove carriage returns

* Clean up
2021-05-17 13:40:08 +02:00
Andrej Ocenas
bc4ec61f67
NodeGraph: Fix error when rendering in dashboards (#34187)
* Pass only serializable values to worker

* Fix random generated data frame
2021-05-17 13:20:49 +02:00
Ganesh Vernekar
d5ae55c5dd
NGAlert: Add message field to email notification channel (#34044)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-17 16:05:09 +05:30
Oscar Kilhed
5a43bd4581
PieChart: Handle undefined custom.hideFrom in fieldConfig (#34185) 2021-05-17 11:34:14 +02:00
Domas
7a2dff741b
Alerting: Global config form for cloud alert manager (#34074) 2021-05-17 10:50:29 +02:00
Hugo Häggmark
d721298e03
Table: Makes tooltip scrollable for long JSON values (#34120) 2021-05-17 10:19:41 +02:00
Domas
8a0dbd0127
Alerting: enforce roles on frontend (#33997) 2021-05-17 11:15:17 +03:00
Domas
a26507e9c4
Alerting: update panel alert tab (#33850) 2021-05-17 10:39:42 +03:00
Jack Westbrook
7c9ac0f990
Annotations panel: Remove subpath from dashboard links (#34134)
* fix(annolistpanel): strip base from url to prevent subpath duplication

* fix(centrifuge): allow connections when served from subpath
2021-05-17 09:31:48 +02:00
Hugo Häggmark
e246ec0d5b
ForgottenPassword: Adds better error handling (#34174)
* ForgottenPassword: Adds better error handling

* Chore: updates after PR comments
2021-05-17 09:15:41 +02:00
Giordano Ricci
c9145541b0
Docs: change Elasticsearch provisioning example (#34110) 2021-05-17 07:56:42 +01:00
Nathan Rodman
889d3ed76f
Alerting: Add duration field to silence editor (#34029) 2021-05-17 08:59:27 +03:00
Matthew Coltman
bc21adf712
CloudWatch: Allow use of missing AWS namespaces using custom metrics (#30961)
* add tests

* CloudWatch: Allow use of missing AWS namespaces using custom metrics

* CloudWatch: Allow use of missing AWS namespaces using custom metrics
2021-05-17 07:32:32 +02:00