Commit Graph

50548 Commits

Author SHA1 Message Date
Alexa V
40f1b2c92c
Dashboard: Migration - Add public dashboard tag in the nav bar (#86204)
Migrate public dashboard badge to scenes dashboard
2024-04-16 10:04:25 +02:00
Gábor Farkas
9015bfa3f4
mssql: decouple sqleng (#86130)
* mssql: decouple sqleng

* fix codeowners-file
2024-04-16 08:00:14 +00:00
Fabrizio
538db9ab1c
Docs: Fix typos (#85651) 2024-04-16 09:58:40 +02:00
Ryan McKinley
ba510d1a7d
Playlists: Enable kubernetesPlaylists by default in OSS (#86259) 2024-04-16 09:19:35 +02:00
Torkel Ödegaard
e15beab362
DashboardScene: Fixes saving dashboard with angular panels (#86098)
* DashboardScene: Fixes saving angularOptions

* Update

* Update
2024-04-16 03:13:42 +02:00
Torkel Ödegaard
869814ea3e
DashboardScene: Fix empty row repeat issue (#86095) 2024-04-16 03:10:24 +02:00
Brendan O'Handley
f85470d652
Prometheus: Use the frontend package in Prometheus and remove feature toggle (#86080)
* add history links for monaco completion provider folder

* add history links for monaco query field folder

* add history links for components folder

* add history links for configuration folder

* add history links for dashboard json folder

* add history links for gcopypaste folder

* add history link for variableMigration

* add history link for querybuilder/components/metrics-modal folder

* add history link for querybuilder/components/promqail folder

* add history links for querybuilder/components folder

* add history links for querybuilder/hooks folder

* add history links for querybuilder/shared folder

* add history links for querybuilder folder

* add history links for querycache folder

* add history links for src folder

* use frontend package and custom auth in module.ts

* remove files and fix import issues

* remove usePrometheusFrontendPackage

* remove extra files

* update betterer

* remove extra files after rebase

* fix betterer for rebase

* fix e2e flakiness
2024-04-15 16:45:23 -05:00
David Allen
c9350a25c4
docs: add annotations play link (#86206)
* docs: add annotations play link

* PR feedback
2024-04-15 17:30:48 -04:00
Nick Richmond
63aa8a6035
Chore: add missing modowner (#86234)
* chore: add modowner

* fix: modowner
2024-04-15 23:17:15 +02:00
David Allen
f50e29e004
docs: add thresholds play link (#86212)
* docs: add thresholds play link

* PR review
2024-04-15 17:16:04 -04:00
David Allen
19ae9377b9
docs: added logs panel play link; added dedup options, reformatted fig (#86209)
* docs: added logs panel play link; added dedup options, reformatted fig

* Update docs/sources/panels-visualizations/visualizations/logs/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/panels-visualizations/visualizations/logs/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-15 17:08:06 -04:00
David Allen
c450d61d32
docs: query data/relative time range override play link (#86213) 2024-04-15 15:51:13 -04:00
David Allen
04e127b368
Docs: added bar gauge play link (#86205)
* docs: added bar gauge play link

* Update docs/sources/panels-visualizations/visualizations/bar-gauge/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-15 15:50:53 -04:00
David Allen
5a57c31607
Docs: add template var Play link; cleanup existing (#86074)
* Docs: add template var Play link; cleanup existing

* Update docs/sources/dashboards/variables/_index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/dashboards/variables/_index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-15 15:32:09 -04:00
Brendan O'Handley
7c156274cd
Prometheus: Add native histogram functions (#86002)
* add native histogram functions to code editor

* add native histogram function types for query builder

* add functions to query builder

* add test to show parsing breaks from code to builder

* add histogram_avg to code editor

* add histogram_avg to builder and make parity between package and core

* add functions to hard coded promql file for highlighting

* remove native histogram test so that it can be added in #85942

* remove functions from core prometheus js to prevent merge conflict in #86080

* use xit for test instead of removing it
2024-04-15 14:26:51 -05:00
Charandas
2aedd9dacf
K8s: add ID token to requests outbound to new query endpoint (#86214) 2024-04-15 20:34:20 +02:00
ismail simsek
cc87281d71
Prometheus: Respect dashboard queries when querying ad hoc filter labels (#85674)
* use queries

* extract metric name from query

* unit tests
2024-04-15 19:05:19 +02:00
Laura Fernández
82f910c0c5
Chore: Use handleReducedMotion to smooth the animation in LoadingBar (#85808) 2024-04-15 17:27:08 +02:00
Isabel Matwawana
219c2c761e
Docs: add dashboards landing page (#86001)
* Added template from existing landing page

* Added dashboards content

* Fixed front matter

* Referenced existing icon to test

* Added test icon

* Edited text

* Fixed link formatting

* Finalized description and overview text

* Updated description'

* Updated tile text

* Updated docs/ref section
2024-04-15 11:07:05 -04:00
Laura Fernández
726cd4a8a6
Chore: Fix link in UsersTable (#86152) 2024-04-15 16:56:28 +02:00
Isabel Matwawana
d9a0cedd89
Docs: add panel overview (#86075)
* Added panel overview page and updated panel editor page

* Finalized panel overview intro text and added links

* Added add panel section to overview and removed section from editor

* Fixed version interpolation syntax and updated Cloud link

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Fixed version interpolation syntax

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-04-15 10:51:00 -04:00
Isabel Matwawana
918f122433
Docs: add tags section to dashboard settings docs (#85875)
Edited
2024-04-15 10:49:14 -04:00
David Allen
eb46d85829
Docs: add best practices Play link (#86076) 2024-04-15 10:47:58 -04:00
Jack Westbrook
1dfd34ee79
Chore: Add codemod and betterer config to make barrel imports explicit (#80913)
* chore: add codemod for highlighting barrel imports

* style(frontend): add no-barrel-files plugin to betterer

* chore(betterer): update betterer file

* ci(frontend-metrics): track occurrences of barrel files being imported

* chore: clean up explicit barrel imports codemod script

* chore(codeowners): add explicit barrel imports script

* Add no-barrel-files plugin to betterer configuration

Co-Authored-By: LeventeBalogh <balogh.levente.hu@gmail.com>

---------

Co-authored-by: LeventeBalogh <balogh.levente.hu@gmail.com>
2024-04-15 16:36:19 +02:00
renovate[bot]
453a75b767
Update dependency @swc/helpers to v0.5.10 (#86146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 15:30:26 +01:00
Alexander Weaver
5b1498f98f
Alerting: Return a 400 and errutil error when trying to delete a contact point that is referenced by a policy (#85481)
Return a 400 and errutil error when trying to delete a contact point that is referenced by a policy
2024-04-15 09:25:28 -05:00
Laura Fernández
afbd28e160
Chore: RolePickerMenu and RolePickerSubmenu - Replace HorizontalGroup with Stack (#86145) 2024-04-15 16:12:47 +02:00
Laura Fernández
499ad35a50
Chore: ActionRow - Replace HorizontalGroup with Stack (#86143) 2024-04-15 15:57:15 +02:00
antonio
b2555cfc01
alerting>tutorial>fix (#86101)
* alerting>tutorial>fix

* Update index.md
2024-04-15 15:46:19 +02:00
renovate[bot]
2868264360
Update dependency @types/react-calendar to v4 (#86132)
* Update dependency @types/react-calendar to v4

* remove @types/react-calendar since it's no longer used

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-15 15:44:12 +02:00
Kristina
0034e9f044
Explore: Change service in hook, un-skip test (#85894)
Use different service, un-skip test
2024-04-15 08:11:21 -05:00
Kristina
ad3abfc695
Explore: Query history does not save filtered queries (#85825)
* Bring in datasource filterQuery in, to not save filtered queries to history

* Add test
2024-04-15 08:07:02 -05:00
renovate[bot]
b07f69d1a4
Update dependency @types/marked to v6 (#86123)
* Update dependency @types/marked to v6

* remove @types/marked since it's no longer needed

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-15 15:02:22 +02:00
Gábor Farkas
7ce7584151
postgres: decouple sqleng (#86055) 2024-04-15 14:28:03 +02:00
Gábor Farkas
b02317d583
mysql: decouple sqleng (#86057) 2024-04-15 14:26:15 +02:00
Dave Henderson
44adfea049
Server: Fix 'server' subcommand double-registration (#86083)
fix 'server' subcommand double-registration

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-04-15 08:21:03 -04:00
Erik Sundell
ad8d505d81
Chore: Install Playwright deps manually (#86008)
* install deps manually

* use ubuntu image

* regenerate drone file

* use node bookworm image

* get node major version from variable and wait for grafana server to be ready
2024-04-15 14:19:37 +02:00
Victor Marin
6fb13842a5
Fix Canvas crashing in scenes dashboard (#86117) 2024-04-15 15:13:07 +03:00
renovate[bot]
06719e1756 Update dependency i18next to v23.11.2 2024-04-15 11:57:44 +00:00
renovate[bot]
6541be39d1 Update dependency @types/react to v18.2.78 2024-04-15 10:45:52 +00:00
Bogdan Matei
d379e319d6
Implement API server client in Scopes (#85266) 2024-04-15 13:43:42 +03:00
renovate[bot]
fc6cad797d Update dependency @testing-library/react to v15.0.2 2024-04-15 09:42:14 +00:00
David Allen
b0c336c692
Docs: add data source type play link; cleanup (#86077) 2024-04-15 10:40:32 +01:00
Pepe Cano
656918ce35
Alerting docs: simplify Supported data sources section (#85795) 2024-04-15 10:56:01 +02:00
linoman
51da96d94e
Auth: Add IsClientEnabled and IsEnabled for the authn.Service and authn.Client interfaces (#86034)
* Add `Service. IsClientEnabled` and `Client.IsEnabled` functions

* Implement `IsEnabled` function for authn clients

* Implement `IsClientEnabled` function for authn services
2024-04-15 10:54:50 +02:00
Laura Fernández
2b62167842
Grafana UI: LoginPage - Replace HorizontalGroup with Stack (#86068) 2024-04-15 10:52:28 +02:00
renovate[bot]
6ff021bb9b Update dependency @playwright/test to v1.43.1 2024-04-15 08:50:38 +00:00
Leonor Oliveira
d17af78e79
Storage: dualwriter delete implementation (#86000)
* Add delete methods

* Remove duplicated const

* Add tests

* Lint

* Lint

* Remove duplicated test file

* Update pkg/apiserver/rest/dualwriter_mode2.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Update pkg/apiserver/rest/dualwriter.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Update pkg/apiserver/rest/dualwriter_mode2.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Add missing dependency

* Return if object deletion goes wrong

* Add a more complete log

---------

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2024-04-15 10:48:31 +02:00
Giuseppe Guerra
eec9d3dbc4
Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns (#85956)
* Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns

* re-generate feature toggles
2024-04-15 10:37:28 +02:00
renovate[bot]
41e4b95b51
Update dependency @grafana/scenes to v4.8.0 (#85887)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:27:59 +02:00