Commit Graph

29458 Commits

Author SHA1 Message Date
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
Alex Khomenko
65cacd31c2
grafana/ui: Unify disabled styles for input components (#34126)
* Select: Add disabled prop to SingleValue

* TagsInput: Disable remove button with disabled prop

* Checkbox: Add disabled styles
2021-05-15 10:06:42 +02:00
Owen Diehl
1367f7171e
Alerting/ruler metrics (#34144)
* adds active configurations metric

* rule evaluation metrics

* ruler metrics

* pr feedback
2021-05-14 16:13:44 -04:00
gotjosh
eb74994b8b
Alerting: Modify configuration apply and save semantics - v2 (#34143)
* Save default configuration to the database and copy over secure settings
2021-05-14 19:49:54 +01:00
Diana Payton
4d161f9fb2
Docs: Download logs as text update (#34142)
* Update inspect-panel.md

* Update inspect-panel.md

* added images
2021-05-14 20:02:57 +02:00
Torkel Ödegaard
6203f14bfb
LazyLoading: Fix queries being issued again when scrolling a panel in and out of view (#34061) 2021-05-14 19:33:47 +02:00
Diana Payton
6ff5fc7a7c
Docs: Update 8.0 time series content (#34088)
* Update graph-panel.md

* Update graph-panel.md

* Update whats-new-in-v8-0.md

* added content

* Update graph-time-series-as-lines.md

* content updates

* added shared content

* Update graph-time-series-stacking.md

* Update whats-new-in-v8-0.md
2021-05-14 13:15:17 -04:00
Ryan McKinley
9e1f0e6957
Toolkit: update tslib (#34089) 2021-05-14 08:51:18 -07:00
Torkel Ödegaard
953aadd6e4
Timeline: Adds opacity & line width option (#34118)
* Timeline: Adds opacity & line width option

* Updated devenv dashboards, added back original timeline modes
2021-05-14 17:24:40 +02:00
Torkel Ödegaard
c61a610f72
ValueMappings: Add duplicate action, and disable dismiss on backdrop click (#34100)
* ValueMappings: Add duplicate action, and disable dissmiss on backdrop click

* Updated modal to have property closeOnBackdropClick
2021-05-14 16:53:20 +02:00
Mitch Seaman
52f9b96a8c
Instructions to separate emails with semicolons (#32499) 2021-05-14 08:53:12 -06:00
Kevin Minehart
27d11e3702
DataSourceSettings: Hide caching settings for non-backend datasources (#34083)
* add  field to plugin meta

* only show cache settings if pluginMeta has "isBackend"

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-14 09:50:49 -05:00
kay delaney
c778d6a4a2
Library Panels: Add name endpoint & unique name validation to AddLibraryPanelModal (#33987) 2021-05-14 15:03:37 +01:00
Zoltán Bedi
d49deebefe
Prometheus: fix toggling exemplars in range mode (#34099) 2021-05-14 15:57:40 +02:00
Piotr Jamróz
bf467f8eae
Explore: Convert nodes with "*" to regular expressions when a Graphite query is mapped to Loki (#34014) 2021-05-14 14:59:16 +02:00
Sergey Kostrukov
81f6c806e1
Azure token provider with support for Managed Identities (#33807)
* Azure token provider

* Configuration for Azure token provider

* Authentication via Azure SDK for Go

* Fix typo

* ConcurrentTokenCache for Azure credentials

* Resolve AAD authority for selected Azure cloud

* Fixes

* Generic AccessToken and fixes

* Tests and wordings

* Tests for getAccessToken

* Tests for getClientSecretCredential

* Tests for token cache
2021-05-14 13:59:07 +02:00
Carl Bergquist
8254efc027
metrics: instrument request with histograms by default (#33921)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-05-14 12:53:50 +02:00
Giordano Ricci
8ec87250c1
Elasticsearch: Fix handling of inline scripts in different ES versions (#34070)
* Devenv: add block for es 5.0, provisioned datasource & dashboard

* Trasnsform script property based on running ES version

* Handle different scripts format in BE
2021-05-14 11:50:15 +01:00
Domas
ddb2fc1ae6
Alerting: fix maching loki prom rules to rule rules, rename "Inactive" to "Normal" (#34111) 2021-05-14 12:41:13 +02:00
Oscar Kilhed
a71cebbcb1
grafana/u: Move stacking config to common options builder (#34106)
* Move stacking config to options builder

* Extract stacking interface
2021-05-14 12:01:40 +02:00
Hugo Häggmark
57d898cd5a
Variables: Refreshes all panels even if panel is full screen (#34097)
* Variables: Refreshes all panels even if panel is full screen

* Chore: updates after PR comments
2021-05-14 10:42:33 +02:00
Giordano Ricci
062e1d5ab8
Switch: prevent wrapping for InlineSwitch (#34077) 2021-05-14 09:26:00 +01:00
Oscar Kilhed
df4da77e4e
PieChart: Remove beta flag 2021-05-14 10:25:00 +02:00
Andrej Ocenas
3091223144
Tempo/Jaeger: Add better display name to legend (#34063)
* Add display name

* Fix test

* Fix test
2021-05-14 10:17:59 +02:00
Dimitris Sotirakis
2b1e6c136f
Scuemata: Add error wrapper for CUE sanity errors (#33934)
* Add error wrapper for CUE sanity errors

* Fix error

* Fix linting

* Update test

* Update TestCueErrorWrapper assertions
2021-05-14 09:02:41 +02:00
Torkel Ödegaard
0f0d94d65b
Table: Fix default align option value (#34065) 2021-05-14 08:34:17 +02:00
Torkel Ödegaard
96183d70a8
Timeline: Text align option (#34087)
* Timeline: Text align option, but does not work

* working text alignment

* Refactoring and fixing rendering text values on the right edge that does not fit

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-05-14 08:27:03 +02:00
wengelbrecht-grafana
2fc9c6ca58
Fix key and deleteKey being ignored when creating a snapshot with external=true set (#33686)
* Update dashboard_snapshot.go

This is to address: https://github.com/grafana/grafana/issues/33665

The key and deleteKey fields are not honoured when creating a snapshot with external:true set

* removed whitespace
2021-05-13 15:39:43 -07:00
Torkel Ödegaard
917a9ace57
Timeline: Use theme getContrastText to calculate value color based on background color (#34072)
* Timeline: Use theme getContrastText to calculate value color based on background color

* Changed back to using the old functions fill, and stroke
2021-05-13 21:41:40 +02:00
Torkel Ödegaard
36c4083264
Timeline: Add time range zoom (#34079) 2021-05-13 20:57:45 +02:00
Owen Diehl
fc90c36d50
removes unused db method (#34082) 2021-05-13 20:28:10 +02:00
Owen Diehl
baca873a84
extracts alertmanager from DI, including migrations (#34071)
* extracts alertmanager from DI, including migrations

* includes alertmanager Run method in ngalert

* removes 3s test shutdown timeout

* lint
2021-05-13 14:01:38 -04:00
Ganesh Vernekar
ec3214bac2
NGAlert: Add integration tests for notification channels (#33431)
* NGAlert: Add integration tests for notification channels

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix the failing tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix review comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Override creation of rule UID, remove only namespace UID

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-13 22:58:19 +05:30
kay delaney
1a649afdd8
NewsPanel: Fixes rendering in Safari (#34067)
Closes #34052
2021-05-13 15:30:41 +01:00
Kyle Brandt
babb17afd6
Alerting/Chore: Move tests from tests package (#34059)
Instead put in package folder but with package name suffixed with _test
This enables code coverage within the pkg while still allow the tests to operate from external to package perspective (only exported things).
2021-05-13 10:05:33 -04:00
Dominik Prokop
5e0e91cd9a
Update packages version (#34064)
* Update packages version

* update root package.json
2021-05-13 16:02:18 +02:00
Dominik Prokop
13d84d5540
Update latest.json (#34060) 2021-05-13 15:44:44 +02:00
Zoltán Bedi
4705589f1b
Exemplars: refactor exemplar marker (#34053)
Don't use tooltip container.
Revert pointer-events: none for tooltip container.
2021-05-13 15:36:28 +02:00
Jack Westbrook
fa7345dafa
Docs: Remove extra character from release notes (#34057) 2021-05-13 15:16:56 +02:00