Commit Graph

48633 Commits

Author SHA1 Message Date
Mikel Vuka
65e9990a87
Elasticsearch: Implement CheckHealth method in the backend (#81671)
* Elasticsearch: Implement CheckHealth method

* improve logger output

* remove frontend healthcheck

* Revert "remove frontend healthcheck"

This reverts commit 676265f39e.

* adapt test

---------

Co-authored-by: Sven Grossmann <svennergr@gmail.com>
2024-02-02 11:08:52 +01:00
Sofia Papagiannaki
6f02d193f6
Provisioning: Fix failure to save dashboard (#81694) 2024-02-02 09:55:29 +00:00
renovate[bot]
ab6aa8fe2f Update dependency @types/node to v20.11.16 2024-02-02 09:54:54 +00:00
Torkel Ödegaard
115dfc0fd8
DashboardScene: Detect updated saved dashboard version and load new scene (#81715) 2024-02-02 10:53:41 +01:00
Eugene Klimov
702e22806c
Plugins Proxy: Allow using {{ .URL }} inside "routes" section in plugin.json (#80858)
Signed-off-by: Slach <bloodjazman@gmail.com>
Co-authored-by: Andres Martinez Gotor <andres.mgotor@gmail.com>
2024-02-02 09:23:07 +01:00
Esteban Beltran
ea243b536c
Levitate: fix markdown diff format (#81477)
* Add some fake breaking changes

* try to generate another breaking chnage

* Keep trying

* Update levitate script

* Add fake breaking changes

* Use latest

* Strip ansi

* Test

* Remove ansi stripping

* ClearAnsi again

* another regex

* Revert some changes used for testing

* Rename function

* Fix indentation in levitate workflow

* Remove test breaking changes

* Remove breaking changes

* Update actions

* Trigger breaking change

* restore file
2024-02-02 09:19:30 +01:00
Leon Sorokin
86b16ea62a
Histogram: Start y-axis at 0, set default color mode to classic palette (#81759) 2024-02-02 01:57:08 -06:00
Ryan McKinley
795eb4a8d8
K8s/Snapshots: Add dashboardsnapshot api group (#77667) 2024-02-01 22:40:11 -08:00
Ryan McKinley
810d14d88f
K8s: use --runtime-config={group}/{version}=true to enabled APIs (#81614) 2024-02-01 22:06:28 -08:00
Michael Mandrus
7464ea4346
Feature Toggles: Switch feature toggle admin page over to k8s API (#80854)
* add handling for legacy and k8s apis to frontend

* use backend srv directly not redux

* add unit test to make sure the correct apis are being called

* require api server flag

* fix feature toggle name

* ensure both pages work correctly

* make consistent with legacy api

* implement webhook update

* fix unit test

* remove old apis and update

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-02-01 23:52:02 -05:00
Ryan McKinley
9c9e5e68c8
User: Add uid colum to user table (#81615) 2024-02-01 18:14:10 -08:00
Ryan McKinley
9d17f6e6aa
Transformers: Do not add transformation info to output frames (#81747) 2024-02-01 17:17:30 -08:00
renovate[bot]
315d3a7a72 Update dependency @types/jest to v29.5.12 2024-02-02 00:27:44 +00:00
Isabel
10bde9ce9c
Docs: add missing supported visualizations (#81668)
* Added Supported visualizations sections and missing settings for value mappings

* Updated supported visualizations table and added docs ref links

* Updated supported visualizations table

* Removed placeholder headings and accidentally added section to data links page

* Added missing visualization
2024-02-01 19:25:54 -05:00
renovate[bot]
e6a4992f37 Update dependency @testing-library/react to v14.2.1 2024-02-01 23:37:30 +00:00
renovate[bot]
147db1a667 Update dependency @testing-library/jest-dom to v6.4.1 2024-02-01 23:09:28 +00:00
Galen Kistler
f73d0eb41c
Transformations: Expose "keep fields" option in partition by values (#81743)
* expose keep fields to partitionByValues UI
2024-02-01 17:08:02 -06:00
Todd Treece
67b6be5515
K8s: Refactor config/options for aggregation (#81739) 2024-02-01 17:27:30 -05:00
Torkel Ödegaard
7a17963ab9
Scenes: Update to 2.4 (#81723)
* Scenes: Update to 2.4
2024-02-02 00:10:15 +02:00
Yuri Tseretyan
d1073deefd
Alerting: Time intervals API (read only endpoints) (#81672)
* declare new API and models GettableTimeIntervals, PostableTimeIntervals
* add new actions alert.notifications.time-intervals:read and alert.notifications.time-intervals:write.
* update existing alerting roles with the read action. Add to all alerting roles.
* add integration tests
2024-02-01 15:17:13 -05:00
William Wernert
7e939401dc
Alerting: Introduce initial common receiver service (#81211)
* Create locking config store that mimics existing provisioning store

* Rename existing receivers(_test).go

* Introduce shared receiver group service

* Fix test

* Move query model to models package

* ReceiverGroup -> Receiver

* Remove locking config store

* Move convert methods to compat.go

* Cleanup
2024-02-01 14:42:59 -05:00
renovate[bot]
80ef96e213 Update dependency @glideapps/glide-data-grid to v6.0.2 2024-02-01 19:17:40 +00:00
ismail simsek
372cf797d1
Chore: Update tests and import orders in prometheus backend (#81732)
* use fmt instead of grafana-cli/log

* reorder imports

* reorder imports
2024-02-01 20:16:21 +01:00
ismail simsek
8fea101931
Chore: Use maputil functions from grafana-azure-sdk-go (#81734)
use maputil functions from grafana-azure-sdk-go
2024-02-01 20:16:07 +01:00
renovate[bot]
780c28be2d
Update dependency dangerously-set-html-content to v1.1.0 (#80824)
* Update dependency dangerously-set-html-content to v1.1.0

* allow rerender and use ' ' for empty state to prevent throwing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-01 20:50:22 +02:00
Sofia Papagiannaki
19ba211461
Swagger: Update specifications (#81735) 2024-02-01 19:56:47 +02:00
lean.dev
7ab833d28c
Licensing: Redact license when overriden by env variable (#81726) 2024-02-01 14:37:36 -03:00
Jack Baldry
2d83feaa5b
Add aliases for Grafana Cloud locations so that these pages can be moved (#81731) 2024-02-01 17:16:03 +00:00
ismail simsek
8fc8b03d1d
Prometheus: Remove featuremgmt imports (#81586)
* remove featuremgmt imports

* pass down feature flags instead of reading them for every query execution
2024-02-01 18:07:32 +01:00
brendamuir
95f90127ad
Alerting docs: rename provisioning files (#81722) 2024-02-01 17:50:29 +01:00
Alexa V
62c8584443
Dashboard: Migration - Edit Variable Settings: Implement "Add new" and Remove "Discard Changes" (#81660)
* enable "add" new variables and implement logic

* Remove discard changes code as we will not follow that pattern for now

* Add unit test of the onAdd function

* add unit test for utils functions
2024-02-01 17:07:59 +01:00
Kyle Brandt
959c80daf6
k8S: (Chore) Add arg to hack codegen to filter openapi generation (#81720) 2024-02-01 11:06:51 -05:00
Alyssa Bull
312fdf9ce0
Cloud Monitoring: Fix naming (#81654) 2024-02-01 09:05:54 -07:00
Sonia Aguilar
cd0f299297
Alerting: Update logic for checking if contact point is being used (#81713)
Don't count autorgenerated policy in receiver level when checking if contact point is used
2024-02-01 17:04:41 +01:00
Ivana Huckova
3251b2e9b7
Decouple: Make eslint rules stricter and don't allow import of anything from public (#81711)
Decouple: Make eslint rules stronger and don't allow import of anything from public
2024-02-01 16:37:29 +01:00
Gilles De Mey
7f1138dfe6
Alerting: Fix selecting empty contact point value for notification policy inheritance (#81482) 2024-02-01 16:11:23 +01:00
George Robinson
0726c7c3fa
Alerting: Prevent inhibition rules in Grafana Alertmanager (#81712)
This commit prevents saving configurations containing inhibition
rules in Grafana Alertmanager. It does not reject inhibition
rules when using external Alertmanagers, such as Mimir. This meant
the validation had to be put in the MultiOrgAlertmanager instead of
in the validation of PostableUserConfig. We can remove this when
inhibition rules are supported in Grafana Managed Alerts.
2024-02-01 14:53:15 +00:00
Oscar Kilhed
88feccf632
Dashboards: Add duration to dashboard init tracking (#81637)
* Add duration to dashboard init

* remove optional chaning, performance should be there

* Fix tests
2024-02-01 15:52:27 +01:00
Bruno
89fb56bc11
Add secureSocksDSProxyEnabled label to grafana_datasource_request_duration_seconds (#80910)
* Add secureSocksDSProxyEnabled label to grafana_datasource_request_duration_seconds

* rename label from secureSocksDSProxyEnabled to secure_socks_ds_proxy_enabled

* DataSourceMetricsMiddleware: add secure_socks_ds_proxy_enabled label to every metric
2024-02-01 11:42:43 -03:00
Bruno
2332bfb007
Set DatasourceName and DatasourceType in proxy.Options (#80923)
* Set DatasourceName and DatasourceType in proxy.Options

* upgrade github.com/grafana/grafana-plugin-sdk-go to v0.206.0 and fix merge conflicts
2024-02-01 11:09:58 -03:00
Piotr Jamróz
d7ded807a2
Explore: Disable cursor sync (#81698) 2024-02-01 15:09:48 +01:00
Piotr Jamróz
572c182a81
Unify frontend monitoring (#80075)
* Unify frontend monitoring

* Add missing mock

* Add missing mock

* Keep source:sandbox

* Create separate logger for plugins/sql package

* chore: rename "logAlertingError" to "logError"

* Use internal Faro logging for debugging instead of redundant browser logging

* Post-merge fix

* Add more docs about debug levels

* Unify logger names

* Update packages/grafana-runtime/src/utils/logging.ts

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

* Update packages/grafana-runtime/src/utils/logging.ts

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2024-02-01 15:08:40 +01:00
Torkel Ödegaard
7c2622a4f1
ShareModal: Fixes url sync issue that caused issue with save drawer (#81706)
* ShareModal: Fixes url sync issue that caused issue with save drawer

* Updated fix
2024-02-01 15:07:01 +01:00
Gilles De Mey
7f6806e220
Alerting: Refactor useExternalDataSourceAlertmanagers (#81081) 2024-02-01 14:18:43 +01:00
Gilles De Mey
eb889c41ee
Alerting: Fix support check for export with modifications (#81602) 2024-02-01 14:17:48 +01:00
Ashley Harrison
3e01ba0f57
QueryEditor: remove slateAutocomplete toggle (#81696)
remove toggle
2024-02-01 13:03:11 +00:00
Andre Pereira
d0ecf863df
Datatrails: Metric as breadcrumb and style improvements (#81661)
* Fixed duplicate trails entry for first time users. Show header with description for first time users

* Renamed trail to history in History component

* Use metric name in breadcrumb

* Style tweaks around search field in metric select

* Address PR comments

* prettier
2024-02-01 13:01:24 +00:00
kay delaney
874ce14f0c
Scenes/PanelEditor: Add support for overrides tab and searching (#81595) 2024-02-01 12:48:07 +00:00
Ivana Huckova
9de5e9754c
Loki: Add to .eslintrc list to restrict imports from core (#81710)
Loki: Add to .eslintrc list to restrict imports from core
2024-02-01 14:46:32 +02:00
Fabrizio
2d60c0123b
Chore: Improve how we install Python (#81695) 2024-02-01 13:27:29 +01:00