Commit Graph

33787 Commits

Author SHA1 Message Date
kay delaney
f530775e45
Chore: Remove several 'as' type assertions (#45913) 2022-03-02 14:02:09 +00:00
Levente Balogh
47d1d83673
feat: add a new <SecretInput> component (#46073) 2022-03-02 14:53:34 +01:00
Isabella Siu
590ea19c3f
Cloudwatch: use CheckHealth for testing datasource (#45974)
Co-authored-by: Shirley Leu <4163034+fridgepoet@users.noreply.github.com>
2022-03-02 08:48:51 -05:00
Torkel Ödegaard
a53f169350
Loki: Update syntax highlighting to colorize strings (#45962)
* Loki: Update syntax highlighting to colorize strings

* Updated patterns
2022-03-02 13:43:56 +01:00
Konrad Lalik
aeec087065
Alerting: Fix silence url in notifications (#46031)
* Update silence url generation

* Update tests

* Update test to the new silence params format

* Fix tests
2022-03-02 13:06:35 +01:00
Ashley Harrison
bc26d42980
Update stale.yml (#46082) 2022-03-02 11:57:17 +00:00
Dimitris Sotirakis
2f6c827f5d
CI: Introduce build-frontend-packages step (#45824)
* Split frontend build

* Fix command name

* Update grabpl
2022-03-02 13:02:07 +02:00
Selene
2e6f14d17f
Bus: Tests cleanup (#46025)
* Delete unused bus from usagestats

* Few updates to remove bus from searchusers test

* Fix import
2022-03-02 11:05:31 +01:00
Selene
5eaf6509c0
Dashboard Extractor: Don't fail when using default OSS implementation (#46024)
* Don't fail when using default OSS implementation

* Check correct error
2022-03-02 11:04:29 +01:00
Erik Sundell
8e08128f83
CloudWatch: List all metrics properly in SQL autocomplete (#45898)
* make sure right value is passed for metric

* add unit test
2022-03-02 10:46:17 +01:00
Ivana Huckova
647c5208d7
Devenv: Add documentation for integration tests (#46056)
* Add documentation for integration tests

* Update contribute/developer-guide.md
2022-03-02 10:12:50 +01:00
ying-jeanne
b4634afe33
use alerting service instead of store in provisioning (#45926)
* fix notification

* Fix confir reader notifiers test

* Move UpdateAlertNotificationWithUid to alertingService

* Rename Store to Manager

* Rename Store to Manager in provisioning

Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com>
2022-03-02 09:40:53 +01:00
Leon Sorokin
fa99143eee
Graph (old): use timeField.config.interval to apply null insertion logic (#46069) 2022-03-01 23:23:48 -06:00
Ryan McKinley
796bc27f75
Loki: support live streaming (#42804) 2022-03-01 14:46:52 -08:00
renovate[bot]
09cde9a700
Update dependency ts-node to v10.6.0 (#46045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 18:55:06 +01:00
Marcus Efraimsson
843e587a05
Docs: Fix typo in Forward OAuth identity for the logged-in user section (#46043)
Fixes #45938
2022-03-01 18:49:58 +01:00
renovate[bot]
f5705522aa
Update dependency eslint-plugin-react to v7.29.2 (#45880)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 17:24:40 +00:00
renovate[bot]
ce3943bf4b
Update typescript-eslint monorepo to v5.13.0 (#45988)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 17:22:24 +00:00
renovate[bot]
26e5af4b2e
Update dependency rollup to v2.68.0 (#45747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 17:21:56 +00:00
George Robinson
789cfc31e3
Alerting: Fix use of > instead of >= when checking the For duration (#46011) 2022-03-01 17:06:42 +00:00
Alexander Weaver
703d7deeda
Alerting: Add integration tests for dual-stage email templating (#43484)
* Resolve merge conflicts

* Remove cruft from local exploration

* Move integration tests to intercept using new abstraction layer instead of channel

* Fix linter error after rebase
2022-03-01 10:49:49 -06:00
Yuriy Tseretyan
4502e40ed8
Alerting: Revert Revert "Alerting: Calculate diff for two AlertRules" (#46034)
* Revert "Revert "Alerting: Calculate diff for two AlertRules (#45877)" (#46023)"

This reverts commit 82aa5acba6.

* remove flakiness
2022-03-01 11:10:29 -05:00
achatterjee-grafana
77dddf43bc
Docs update default.ini file description (#46036)
* remove confusing wording

* fixed broken alerting links
2022-03-01 10:30:46 -05:00
Tim Levett
86b4c4a08a
(GitHubActions) Add grafana-partners team label to team board (#45990) 2022-03-01 09:06:46 -06:00
Grot (@grafanabot)
3ea6c8cf64
ReleaseNotes: Updated changelog and release notes for 8.3.7 (#46028) 2022-03-01 14:00:27 +00:00
Jean-Philippe Quéméner
82aa5acba6
Revert "Alerting: Calculate diff for two AlertRules (#45877)" (#46023)
This reverts commit 4e19d7df63.
2022-03-01 13:40:47 +01:00
Torkel Ödegaard
9bd6290968
Prometheus: Query builder operation docs popover improvements (#46006) 2022-03-01 13:12:14 +01:00
Torkel Ödegaard
16b99cc0f5
Prometheus: Query builder ux tweaks (#46017) 2022-03-01 13:11:47 +01:00
Stephanie Closson
251d6ed0e0
Chore: Add function documentation for new functions (Prometheus visual query editor) (#45745)
* add missing function documentation

* added trigonometric functions
2022-03-01 07:42:32 -04:00
renovate[bot]
36b039a10e
Update sentry-javascript monorepo to v6.18.1 (#45842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 10:49:46 +00:00
Timur Olzhabayev
6f14490c6b
Making yarn.lock bump work (#46016) 2022-03-01 11:16:18 +01:00
Timur Olzhabayev
fd644c48ac
Switching to github.event.number as issue.number not always work (#46018) 2022-03-01 11:09:03 +01:00
Karl Persson
18cbfba596
Access control: Filter users and teams by read permissions (#45968)
* pass signed in user and filter based on permissions
2022-03-01 10:58:41 +01:00
matt abrams
07dda8a299
Transformations: Use asterisk for First non-null label (#45940) 2022-03-01 10:27:01 +01:00
J Guerreiro
bc5237e840
Service Accounts: Link final components in service accounts detail page (#45929)
* ServiceAccounts: Delete/Disable service account from details page

* ServiceAccounts: capitalize viewable messages from UI

* ServiceAccounts: Link new update endpoint to details page

* ServiceAccounts: reimplement service account retrieve to include is_disabled and only target service accounts

* Cleanup styles

* Fix modal show

* ServiceAccounts: simplify handler functions

* Apply suggestions from code review

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

Co-authored-by: Clarity-89 <homes89@ukr.net>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2022-03-01 09:21:55 +01:00
Leon Sorokin
b491d6b4dc
Histogram: auto-skip x tick labels to avoid overlap (#45996) 2022-03-01 01:55:53 -06:00
Leon Sorokin
1c4b20b268
BarChart: fix single group rendering (#45953) 2022-02-28 15:21:09 -06:00
Leon Sorokin
5aab0063c7
StateTimeline: fix duration in tooltip (#45955)
- Fixes duration in StateTimeline appearing incorrectly when "merge consecutive values" is enabled.
2022-02-28 14:16:30 -06:00
Cat Perry
83664121bc
Jaeger: Show loader when search options havent yet loaded (#45936)
* Swap out Select component for AsyncSelect to Jaeger search panel
2022-02-28 11:06:09 -08:00
ying-jeanne
06ed5efdf0
Middleware: Fix IPv6 host parsing in CSRF check (#45911)
- Also create tests for this middleware

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2022-02-28 13:58:56 -05:00
Nathan Rodman
e814e7364b
Alerting: fix alert groups grouping (#45012)
* fix multiple non-grouped groupings

* drop duplicate alerts

* add test for multiple groups without labels

Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-02-28 09:50:17 -08:00
Yuriy Tseretyan
4e19d7df63
Alerting: Calculate diff for two AlertRules (#45877)
* add custom diff reporter DiffReporter that reports only paths that have a difference
* create Diff method for AlertRule that returns DiffReport, which is an alias for []Diff

Tests:
* create copy method for AlertRule in testing
* create GenerateAlertQuery method in testing
2022-02-28 17:13:53 +01:00
Dominik Prokop
eb537e2efd
TablePanel: Add cell inspect option (#45620)
* TablePanel: Add cell preview option

* Review comments

* Change modal title

* Review

* Review 2

* Docs
2022-02-28 15:35:05 +01:00
Giordano Ricci
c014f8b806
DashboardSrv: add saveDashboard method (#45627)
* DashboardSrv: add saveDashboard method

* revert external changes

* use DashboardModel instead of DashboardDataDTO

* use fetch instead of request

* use getSaveModelClone in saveDashboard
2022-02-28 11:30:11 +00:00
Will Browne
e152ae4cf1
remove unused dashboard service dependency (#45920) 2022-02-28 12:28:19 +01:00
J Guerreiro
5cb03d6e62
Separate API key store from SA token store (#45862)
* ServiceAccounts: Fix token-apikey cross deletion

* ServiceAccounts: separate API key store and service account token store

* ServiceAccounts: hide service account tokens from API Keys page

* ServiceAccounts: uppercase statement

* ServiceAccounts: fix and add new tests for SAT store

* ServiceAccounts: remove service account ID from add API key

* ServiceAccounts: clear up errors
2022-02-28 11:30:45 +01:00
Gilles De Mey
15d681b823
grafana/ui: Selectable Card (#45538) 2022-02-28 11:23:23 +01:00
Joey Tawadrous
42e516523f
InfluxDB: test datasource (#45636)
* Test datasource

* Remove core.explore check

* Extract resused check to function

* Update messages

* Updated message
2022-02-28 10:22:10 +00:00
Joey Tawadrous
f4658b72e1
InfluxDB: variables migration to backend (#45512)
* Remove check for explore

* Remove core app import

* applyVariables for select

* applyVariables for tags

* applyVariables for other query props

* applyTemplateVariables for flux

* applyTemplateVariables for influx

* Backwards compatibility

* interpolateVariablesInQueries

* Update InfluxQL mode and alias in test

* Should interpolate all variables with Flux mode

* Variables should be interpolated correctly

* Removed unused import

* explore in if check

* Removing backwards compat copy from classicQuery

* Return expandedQuery

* Const
2022-02-28 10:15:33 +00:00
Ivana Huckova
4ab191b612
Prometheus: Create AutoSizeInput with dynamic width (#45601)
* Autosize input for dynamic width

* Update

* Refactoring to use measureText util instead

* removed react fragment tags

* Add tests

* Use AutoSize input in legend, step and nested queries vector matcher

* Update

* Remove unused imports

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-02-28 10:52:58 +01:00