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
Ryan McKinley
bbdd1fc3b1
Playlist: Remove unused/deprecated api and unused wrapper ( #75503 )
2023-09-27 15:28:16 +00: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
Joey
d57aef2eda
Tempo: Normalize static filter queries ( #72794 )
...
* Only show static filter if tag is defined
* Update previosuly left out test
* Add test
* Add warning if tag is missing
2023-09-27 09:03:37 +01:00
Alex Khomenko
87ced17060
Admin: Use InteractiveTable for user and team tables ( #74821 )
...
* 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
* Move pagination inside OrgUsersTable.tsx
* Disable sort if results have more than 1 page
* Update betterer results
* Use CSS objects
* More style fixes
* Update betterer
2023-09-27 08:55:57 +03:00
Leon Sorokin
32ed3e8009
TimeSeries: Implement ad hoc y-zoom via Shift-drag ( #75408 )
2023-09-26 18:12:45 -05:00
Dominik Prokop
918f11d81e
Revert "Dashboard: Reduce scope of contain: strict
to TextPanel ( #75466 )
...
Revert "Dashboard: Reduce scope of `contain: strict` to TextPanel (#75329 )"
This reverts commit ade0de5ae9
.
2023-09-26 08:51:26 -07:00
Matias Chomicki
edbe45efc2
Elasticsearch: HTTP settings migration ( #72840 )
...
* Elasticsearch: migrate data source http settings
* Elasticsearch: migrate data source http settings
* Remove test code
* Update unit test
* Connection settings: add url placeholder
* Elasticsearch config editor: improve on-change handling of custom auth
* Config editor: add missing oauthPassThru option
2023-09-26 17:17:17 +02:00
Domas
bd452fe904
Trace View: Remove "deployment.environment" default traces 2 logs tag ( #74986 )
...
* Remove deployment.environment default tag
* format
* remove mentions from docs
2023-09-26 16:52:32 +03:00
Galen Kistler
af3ea54d0e
Logs Panel: Add milliseconds to download file ( #75045 )
...
* add milliseconds to log panel txt file download
2023-09-26 07:14:40 -05:00
Laura Fernández
611df82259
Grafana UI: create Grid
component in the unstable
package ( #75299 )
2023-09-26 14:02:50 +02:00
renovate[bot]
3bd9bfe2be
Update dependency @grafana/scenes to v1.8.0 ( #75371 )
...
* Update dependency @grafana/scenes to v1.8.0
* remove ts-expect-errors
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-26 14:02:42 +03:00
Ivan Ortega Alba
735b6493b1
Dashboards: Auto-generate dashboard title and description when saving as ( #75246 )
2023-09-26 12:53:08 +02:00
Jack Westbrook
8affc84d13
Fix: Provide default angular export for plugins ( #75424 )
...
fix(plugins): provide default export of angular for old system.register plugins
2023-09-26 13:24:09 +03:00
Esteban Beltran
95889b2e25
Tests: Add basic e2e tests for frontend plugin sandbox ( #70759 )
...
* Add initial e2e tests for sandboxing
* Add tests for sandbox on
* Add additional sandbox tests
* Move sandbox into various suite
* Test drone setup
* Move variable
* Update drone
* Update plugins path for e2e
* Revert drone changes
* use drone from main
* Use lib.star from main
* Move sandbox test to its own suite
* Expand methods to inject iframes
* Restore e2e script
* Add back change to script
* Update tests for trusted types
* Integrate custom plugins into grafana-server
* Echo for deubging
* add debugging message
* Expand message
* Add extra for ci
* fix path
* Improve start-server logic
* Remove duplicated logic
* Restore file deleted by mistake
* Restore file to main
p
* restore file
* Restore start script
* Update e2e/panels-suite/frontend-sandbox-panel.spec.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2023-09-26 10:58:47 +02:00
Gilles De Mey
5a1580c659
Alerting: Contact points v2 part 3 ( #72444 )
2023-09-26 11:44:18 +03:00
Leon Sorokin
ade0de5ae9
Dashboard: Reduce scope of contain: strict
to TextPanel ( #75329 )
2023-09-25 23:47:38 +03:00
Kat Yang
9532ff3799
Chore: Split OSS and Enterprise OAPI Spec Generation ( #75133 )
...
* chore: implement sofia makefile changes from #62456
* chore: clean up makefile and generate specs
* docs: update command to delete old specs
* fix: regenerate specs with enterprise linked
* chore: implement review comments
* Update Makefile
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
* chore: update make command in drone step
* chore: update bingo, fix makefile indentation error, regen specs
* fix: revert .bingo/README changes to make prettier happy
* chore: add BEP as owners of api-enterprise-spec.json
* chore: rerun drone
---------
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-09-25 15:34:57 -04:00
Galen Kistler
a996f3b4a7
Loki Query Builder: Throw warning in query builder when order of operations is ambiguous ( #75198 )
...
* flag vector aggregations containing metric expressions (i.e.`(...)`) containing binary operation expressions with ambiguous error in the UI when switching between code and visual query builders.
2023-09-25 21:28:51 +03:00
Sarah Zinger
ef441f02d0
Cloudwatch: Fix Unexpected error ( #74420 )
...
Fix unexpected error when creating a new cloudwatch datasource.
Involves a fair amount of refactoring, so if this causes unexpected issues related to region fetching we can turn this off with the cloudwatchNewRegionsHandler feature toggle, although we do not predict it will so we are enabling it to default to true and hope to remove it shortly.
2023-09-25 14:19:12 -04:00
Leon Sorokin
436b0ee48a
Dashboard: Set z-index of active panel to 999 ( #75382 )
2023-09-25 11:58:03 -05:00
Josh Hunt
b4a6e7ac7f
Chore: Update pseudo locale ( #75383 )
2023-09-25 19:15:17 +03:00