Commit Graph

18635 Commits

Author SHA1 Message Date
jcolladokuri
1f266a051d
Azure Monitor: change variable definitions in OOB dashboards to avoid dependency on sub level permission (#75765)
change variable definitions to avoid dependency on sub level permission
2023-10-02 12:22:18 +01:00
Gareth Dawson
8331523679
Postgres: Make securejson password optional (#75801)
make securejson password optional
2023-10-02 11:36:51 +01:00
ismail simsek
11a9faabb1
InfluxDB SQL: Remove default limitation in the query (#75749)
* Remove limitation in the query

* Revert "Remove limitation in the query"

This reverts commit 8a347bc487.

* simpler approach
2023-10-02 11:22:53 +02:00
mikkancso
5892353bbd
Navtree: Rename page title from "Infrastructure" to "Integrations" (#75721)
rename Infrastructure to Integrations
2023-10-02 08:25:46 +02:00
Andre Pereira
1ce603b9e9
Tempo: TraceQL results as a spans list (#75660)
* Format tempo search results as spans

* Thank you test
2023-09-29 20:34:39 +03:00
Oscar Kilhed
c72c4382ba
Transformations: Fix inconsistent wording of transformation descriptions (#75746)
* Fix inconsistent descriptions of transformations

* update group by wording
2023-09-29 10:59:21 -05:00
otilor
55620066e6
i18n: dashboard import page (#75664)
* add translation for filezone primary and secondary text

* add translation for Grafana.com field label

* update translation keys

* add translation for load button

* update required translation

* Format utils for invalid-dashboard

* add extracted translations

* add pseudo translations

* add translation for json validation

* json field label translation

* add translation for required json field

* add translation for cancel key

* add extracted translations

* Add pseudo locale translation

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/utils/validation.ts

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* update translations

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/manage-dashboards/DashboardImportPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* update link component

* add new translations

---------

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2023-09-29 18:38:45 +03:00
Ryan McKinley
1aaaa133fb
Schema: link table panel to the schema definitions (#75671) 2023-09-29 08:21:20 -07:00
Ryan McKinley
010b2461b9
Plugins: Move alias support to plugin json (but still hardcoded) (#75129) 2023-09-29 08:20:37 -07:00
Esteban Beltran
e45867c635
Sandbox: allow access to window.grafanaBootData for plugins (#75522)
* Sandbox: allow access to window.grafanaBootData for plugins

* Do not overlog access to bootdata

* Fix wrong string
2023-09-29 17:15:04 +02:00
Krishna Dhakal
5ba37068c2
i18n: Mark up SnapshotListTable for translations (#75621)
* markup snapshot list table

* final revision changes
2023-09-29 15:39:55 +01:00
Khushi Jain
b75c7b4c49
i18n: Markup CorrelationsPage for translations (#74892)
* i18n: Translations under features/correlations

* more changes

* add links

* add changes

* changes

* changes
2023-09-29 15:59:30 +02:00
Armand Grillet
43d0193ea6
Mention that we only list firing alert instances (#75615) 2023-09-29 15:23:51 +02:00
Dominik Prokop
fccd262417
TimeSrv: Add Scenes compatibility patch (#75728)
* TimeSrv: Add scenes compatibility patch

* Get that lint out of my way
2023-09-29 05:56:31 -07:00
Gábor Farkas
8dafc28988
sql: remove grafana-core import (#75558)
* sql: remove initialCustomVariableModelState

* added fix for mysql too

* linter fixes
2023-09-29 13:43:28 +02:00
kay delaney
dc4091bd34
Angular: Fix issue where panels in collapsed rows were not auto-migrated (#75735) 2023-09-29 12:27:37 +01:00
Torkel Ödegaard
f842b47d78
DashoardScene: Add dashboardUID and panelId to requests (#75719) 2023-09-29 13:19:03 +02:00
siddhikhapare
501347d86c
Mark up translation for ChangePasswordForm (#75668)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-29 11:28:10 +01:00
Alex Khomenko
4a692fc82e
Admin: Use backend sort (#75228)
* Admin: Use InteractiveTable

* Admin: Fix pagination

* Admin: Use CellWrapper

* Admin: Split components

* Admin: Separate OrgUsersTable

* Admin: Remove UsersTable

* Admin: Use the new table for TeamList

* Admin: Cleanup TeamList page

* Admin: Add edit team action

* Admin: Use explicit edit action instead of a link wrapper

* Admin: Fix responsive styles

* Cleanup

* Remove redundant sort

* Add item key

* Fix icon styles

* Set loading by default

* Use separate pagination component

* Use default sorting functionality

* Fix merge conflicts

* Update betterer

* Add controlled sort

* Revert pagination changes

* Move pagination inside OrgUsersTable.tsx

* Add missing prop

* Sort users table

* Fix tests

* Remove loader

* Add sort to Teams

* Cleanup

* Update loadTeams action

* Remove sort condition
2023-09-29 12:48:36 +03:00
Andreas Christou
5796836662
Azure: Add support for Workload Identity authentication (#75681)
* Update Azure Monitor

* Update Prometheus

* Update README

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>

* Update docs/sources/datasources/azure-monitor/_index.md

Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>

* README updates

* Fix prettier

* memoize options

---------

Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>
2023-09-29 12:35:11 +03:00
ismail simsek
9d44fefe82
Chore: InfluxDB unit test overhaul (#75436)
* Rename the mock function

* Move tests

* Refactor existing tests

* add influxql_metadata_query tests

* move to root

* remove unnecessary file

* adhoc test

* Remove unused parameter

* tests for future

* fix mocks

* betterer

* changes after review
2023-09-29 11:28:52 +02:00
Oscar Kilhed
a2ee9833dc
Transformations: Add naming mode to partition by value. (#75650)
* Add naming mode to partition by value

* Apply suggestions from code review

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

* Fix spelling

* Fix prettier issue

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-29 11:12:05 +02:00
Joao Silva
79c0087466
GeneralSettings: Use Box instead of gf-form classes (#75678)
DashboardSettings: Use Box instead of gf-form classes
2023-09-29 09:35:33 +01:00
Dominik Prokop
933d920121
Dashboard scene: Share modal export (#75640)
* Dashboard scene: Share modal export

* i18n
2023-09-29 00:34:22 -07:00
Oscar Kilhed
bcbfe75770
Transformations: Correct description of rename by regex. (#75641)
* Fix description of rename by regex

* Update public/app/features/dashboard/components/TransformationsEditor/TransformationsEditor.tsx

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

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-29 07:15:55 +02:00
Galen Kistler
8336b8d4c1
Prometheus: Query builder - show warning when converting ambiguous order of operations (#75256)
* throw error when converting into visual query when parser detects that an aggregation expression node contains a function that contains a binary expression to detect queries that are ambiguously parsed
2023-09-28 10:46:56 -05:00
Ashley Harrison
a2964731eb
Navigation: Change dashboard settings to use tabs when dockedMegaMenu is enabled (#75463)
* kinda working

* return to selected parents

* feature toggle everything

* fix toggling of annotations

* use Trans instead of Text

* kick drone
2023-09-28 16:15:00 +01:00
Aaron Sanders
9e78907233
OpenAI: Avoid two streams to overlap when doing multiple requests (#75504)
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-28 17:42:56 +03:00
Torkel Ödegaard
2fe4ecde19
DataSourceAPI: Add adhoc filters to DataQueryRequest and make it not depend on global templateSrv (#75552)
* DataSourceAPI: Add adhoc filters to DataQueryRequest and some methods to make it not depend on global templateSrv

* Minor tweaks/fixes

* Renamed to filters

* Fix test

* Log deprecation warning

* I give up
2023-09-28 16:28:58 +02:00
otilor
6ff767a6bb
i18n: Add translation for json editor settings (#75549)
* add translation for json editor settings

* add different translations

* update translation

* update pseudo locale

* update locales

* Use Trans and new i118n key

* add psuedo locale translations

* Update public/locales/pseudo-LOCALE/grafana.json

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

* Update public/locales/en-US/grafana.json

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

* Update public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx

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

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 15:24:50 +01:00
Sonia Aguilar
169c5262a5
Alerting: Add Modify export feature for Grafana-managed alert rules (#75114)
* Initial POC for modified rule expor

* Add rule and group export options to modified export

* Add feature toggle for modifier export

* Rename GrafanaRuleDesigner to ModifyExportRuleForm to identify it easily as a rule form

* Refactor naming and folder for RuleDesigner => ModifyExport

* Don't render more action drop-down button when no more actions are allowed

* Redirect cancel button to alert list view

* Fix modify export page being reloaded correctly without errors

* Fix test

* Protect modify-export route when toggle-feature is not enabled

* Fix css betterer error

* Address pr review coments

---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-28 16:07:45 +02:00
Fabrizio
5fae64ccbe
Properly manage trigger chars with open editor box (#75461) 2023-09-28 15:48:18 +02:00
Fabrizio
b1bc379a5c
Tempo: Use timezone of selected range for timestamps (#75438)
* Use timezone of selected range for timestamps

* Fix tests
2023-09-28 14:05:47 +01:00
Torkel Ödegaard
6e246a5fd2
Breadcrumbs: Remove logic that is no longer needed (#75263) 2023-09-28 13:47:04 +02:00
Sergey Kostrukov
3ee40d3a5a
Azure: Settings for Azure AD Workload Identity (#75283)
* Settings for Azure AD Workload Identity

* Update dependency on Grafana Azure SDK

* Documentation

* Fix JS code

* Cleanup Prometheus backend code

* Making prettier happy
2023-09-28 12:05:16 +01:00
michiboo
bfdcfa8cc3
I18n: Mark up explore/table for translations (#74368)
* added Internationalization to table container

* reduce level for label of explore table

* lint

* restore translations

* refactor getTableTitle logic to not require duplicate t phrases

* Update public/app/features/explore/Table/TableContainer.tsx

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

---------

Co-authored-by: Deepali Gupta <90255953+Deepali1211@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-09-28 12:51:37 +03:00
Haris Rozajac
4899169445
Explore: Make Explore Toolbar sticky (#75500)
* Make it sticky

* Reduce z-index

* Improve comment
2023-09-27 15:49:44 -06:00
Torkel Ödegaard
6cede32535
Theme: Add borderTransparent to ThemeRichColor use in Box borders (#75407)
* Theme: Add borderTransparent to ThemeRichColor use in Box borders

* Fix spelling

* Update comment

* Update DashboardEmpty

* Restore prev value
2023-09-27 20:19:46 +02:00
Leon Sorokin
6fc4e93f73
Dashboard: Reduce scope of contain: strict to TextPanel (#75499) 2023-09-27 13:14:35 -05:00
Giordano Ricci
31933c9569
Explore: Improve timeseries limit disclaimer (#75587)
* Explore: improve timeseries limit disclaimer

* use object notation for style definition

* increase gap

* Update public/app/features/explore/Graph/GraphContainer.tsx

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

---------

Co-authored-by: Kristina <kristina.durivage@grafana.com>
2023-09-27 18:36:28 +01:00
Ashley Harrison
efaa779c2e
Navigation: Refactor MegaMenu to separate out overlay/animation logic (#75365)
* user essentials mob! 🔱

lastFile:public/app/core/components/AppChrome/DockedMegaMenu/DockedMegaMenu.tsx

* mob start [ci-skip] [ci skip] [skip ci]

* user essentials mob! 🔱

lastFile:public/app/core/components/AppChrome/DockedMegaMenu/DockedMegaMenu.tsx

* user essentials mob! 🔱

lastFile:public/app/core/components/AppChrome/AppChrome.tsx

* fix border css + scroll

* import width from DockedMegaMenu

* extract logic out into AppChromeMenu

* fix bug with hamburger icon

* rename some styles

* one more rename

* remove janky state logic

* prevent react-aria closing the overlay when interacting with the toggle button

* don't need boolean

---------

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
2023-09-27 17:05:40 +01:00
Esteban Beltran
f890cb23b8
Sandbox: use same trusted types default policy than grafana main realm (#75539) 2023-09-27 16:50:23 +02:00
Aaron Sanders
e4e19f6ca2
DashGPT: Simplify auto-generate state management as a hook (#75236)
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-27 16:47:06 +02:00
Alex Khomenko
13321788e8
OrgUsersTable: Fix RolePicker overflow (#75541)
* OrgUsersTable: Fix RolePicker overflow

* Remove redundant styles
2023-09-27 17:24:58 +03:00
Levente Balogh
163b0d182b
Connections: Make the "Add new Connection" page work without internet access (#75272)
* fix: make the "Add new Connection" page work without internet access

* feat: update error message

* fix: update the API url in the error log
2023-09-27 15:04:23 +02:00
Ashley Harrison
b374912937
Drawer: Make content scroll by default (#75287)
* deprecate scrollableContent prop and make it the default behaviour

* restore prop behaviour, just make it default to true

* Update packages/grafana-ui/src/components/Drawer/Drawer.tsx

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>

---------

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
2023-09-27 13:31:57 +01:00
Virginia Cepeda
14e94d663f
Alerting: Show panels within collapsed rows in dashboard picker (#75490)
* Show panels within collapsed rows in dashboard picker

* Fix lint

* fix lint
2023-09-27 09:15:42 -03:00
Esteban Beltran
2bbd5521fe
Sandbox: Use resolveCache to resolve plugin's code file as systemjs does (#75509)
* Sandbox: Use resolveCache to resolve plugin's code file as systemjs does

* Add clarifying comments
2023-09-27 13:56:35 +02:00
Josh Hunt
720543f483
Chore: Remove unreachable return in parseDataplaneLogsFrame (#75516) 2023-09-27 11:11:37 +00:00
Matias Chomicki
a3d0dfcbcc
Loki: Improve getLogQueryFromMetricsQuery (#75492)
* Query utils: fix bug in getLogQueryFromMetricsQuery function

* Query utils: implement getLogQueryFromMetricsQueryAtPosition

* Loki autocomplete situation: use getLogQueryFromMetricsQueryAtPosition

* Fix typo

* getLogQueryFromMetricsQueryAtPosition: use find instead of filter
2023-09-27 11:39:50 +03:00