Commit Graph

33870 Commits

Author SHA1 Message Date
renovate[bot]
e820275d06
Update dependency @braintree/sanitize-url to v6 (#46052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 11:56:42 +00:00
Selene
87d3c06fef
Fix: Add missing store in test rule (#46151) 2022-03-03 12:00:33 +01:00
idafurjes
fa7323e6d5
Provisioning: Fix plugin provisioning storing SecureJsonData (#46149)
* Provisioning: Fix plugin provisioning storing SecureJsonData

* Fix tests and rename service to pluginSettings
2022-03-03 11:57:33 +01:00
Will Browne
b54b438a24
Plugins: Refactor plugin settings service (#45967)
* tests passing

* rename and rejig

* move interface to package and rename to Store

* new package

* add import alias
2022-03-03 11:39:15 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search (#46084)
* Change to cascader with search

* Don't change to select on backspace

* Fix error on group select

* Simplify getOperationDef

* Set cascader wrapper to fixed width

* Add placeholder

* Fix tests and type errors

* Fix props for backward compatibility

* Add comments
2022-03-03 10:24:33 +01:00
Giordano Ricci
09f48173fe
Explore: allow users to save Explore state to a new panel in a new dashboard (#45148)
* Add Button & Form

* Save to new dashboard

* minor adjustements

* move modal to a separate component

* handle dashboard name related errors

* pick visualization based on query results

* lift state

* fix types

* Add Open & Close tests

* Add submit test

* add navigation tests

* add tests for API errors

* remove console log

* create wrapper component for AddToDashboardButton

* remove unused mapped prop

* add wrapper test

* rename isActive to isVisible

* invert control over save & redirect logic

* remove leftover commented code

* cleanup setup parameters

* reorganize code & improve tests

* Remove option to add to existing dashboard

* UI tweaks

* disable button if no queries

* Fix tests

* better accessible tests

* handle submission errors

* improve addToDashboard types

* use dashboardSrv' saveDashboard

* remove leftover test helper

* fix typo

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Apply suggestions from code review

Co-authored-by: Kristina <kristina.durivage@grafana.com>

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina <kristina.durivage@grafana.com>
2022-03-03 08:54:06 +00:00
renovate[bot]
c4ccfc3bf7
Update dependency eslint-config-prettier to v8.5.0 (#46129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 08:46:26 +00:00
renovate[bot]
52568c7af1
Update dependency ol to v6.13.0 (#45949)
* Update dependency ol to v6.13.0

* fix types

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 09:45:33 +01:00
Shirley
1255f8a76a
Unexport mocks, use aws-sdk-go helpers, rename test utilities file (#46107) 2022-03-03 09:42:51 +01:00
matt abrams
c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled (#45993)
* add timescaleDB checker function

* use existing fn findAggregateIndex

* build options from empty list

* refactor fn and handle state for existing elem

* remove newline
2022-03-03 09:29:37 +01:00
Kevin Minehart
1fef87fbcc
upgrade grabpl (#46127) 2022-03-03 10:17:05 +02:00
Leon Sorokin
89140c8353
Graph (old): fix null interval insertion, again (follow-up to #46069) (#46139) 2022-03-03 00:02:18 -08:00
Artur Wierzbicki
a8b90d9a25
FileStore: add basic file storage API (#46051)
* #45498: fs API alpha

* #45498: remove grafanaDS changes for filestorage.go

* #45498: fix lint

* #45498: fix lint

* #45498: remove db file storage migration

* #45498: linting

* #45498: linting

* #45498: linting

* #45498: fix imports

* #45498: add comment

* remove StorageName abstractions

* FileStore: add dummy implementation (#46071)

* #45498: bring back grafanaDs changes, add dummy filestorage

* #45498: rename grafanaDs to public

* #45498: modify join

* #45498: review fix

* #45498:  unnecessary leading newline (whitespace) IMPORTANT FIX

* #45498: fix belongsToStorage

* #45498: fix removeStoragePrefix so that it works with abs paths

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 10:53:26 +04:00
Leon Sorokin
854f872b40
StateTimeline: insert trailing null value at +interval (#45997) 2022-03-02 18:21:12 -06:00
Yuriy Tseretyan
016d9e14ed
Add missing option "OK" for Error state (#45262)
* Add missing OK option to models
* add ok to legacy legacy UI does not support it but it is possible to do so via provisioning.
* use enums in migration so linter would catch missing cases
2022-03-02 19:07:55 -05:00
achatterjee-grafana
b58f3c8a05
Docs: Update ldap authentication topic (#46128)
* Fixed broken relrefs, and updated password format in ldap authentication topic.

* Fixed few more broken links.
2022-03-02 16:08:46 -05:00
Marcus Efraimsson
76495374dc
Docs: Include ID token example in Forward OAuth identity for the logged-in user section (#46121)
Ref #45938
2022-03-02 20:52:13 +01:00
Christopher Moyer
b677318277
docs: modify user preferences refactor (#45553)
* docs: modify user preferences refactor

* yarn prettier

* add missing procedures

* fix link

* Update docs/sources/manage-user-preferences/_index.md

Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>

* minor edits and moved docs to admin chapter

* Eve comment out note relref

* yarn prettier

Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
Co-authored-by: Eve832 <eve.meelan@grafana.com>
2022-03-02 13:47:39 -06:00
Giordano Ricci
e8a54d58c5
chore: update latest.json (#46122) 2022-03-02 19:45:07 +00:00
Grot (@grafanabot)
50fb63a468
ReleaseNotes: Updated changelog and release notes for 8.4.3 (#46119) 2022-03-02 19:18:48 +00:00
renovate[bot]
ccdb904e3b
Update dependency @types/react-calendar to v3.5.0 (#46117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 19:46:19 +01:00
renovate[bot]
1f332a846b
Update dependency lezer-promql to v0.22.0 (#45838)
* Update dependency lezer-promql to v0.22.0

* Add missing peerdep + fixes in code

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-02 19:45:08 +01:00
renovate[bot]
1fa45e2c16
Update dependency eslint to v8.10.0 (#45939)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 18:39:17 +00:00
renovate[bot]
141b1fad20
Update dependency rollup to v2.69.0 (#46098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 18:35:16 +00:00
Armand Grillet
cd3fb8e832
Document available Alerting annotations (#46081)
* Document available Alerting annotations

* Update docs/sources/alerting/unified-alerting/alerting-rules/alert-annotation-label.md

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

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-02 12:53:24 -05:00
Ryan McKinley
855979aac5
Heatmap: add scale display to legend (#45571)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2022-03-02 09:04:19 -08:00
Connor Lindsey
9067715d1d
UI: Add focus styles to QueryField component (#45933)
* Add focus styles to QueryField component
2022-03-02 16:33:14 +01:00
Torkel Ödegaard
5c05a3deb9
Prometheus: Save query editor mode default (#46074) 2022-03-02 16:16:19 +01:00
Zoe Braiterman
67e605c5c0
Update README.md (#45946) 2022-03-02 15:52:45 +01:00
Andres Martinez Gotor
d4b05f9421
AzureMonitor: Remove deprecated configuration parameters (#45860) 2022-03-02 15:42:30 +01:00
Andres Martinez Gotor
700f6863f2
AzureMonitor: Move Application Insights and Insight Analytics to a deprecated package (#45834) 2022-03-02 15:41:07 +01:00
Ashley Harrison
3427ae463d
Dashboard: Add feature reporting for dashboard import (#46080)
* Add feature reporting for dashboard import

* Update tracking event names
2022-03-02 14:35:52 +00:00
Marco Dalalba
e738896316
Jaeger: Add support for traceID field to accept variables. (#45559) 2022-03-02 07:35:36 -07:00
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