Francesco Sansalvadore and TheOtherBrian1
939e5c855a
feat: reports infra o11y ( #33310 )
...
* test client connections charts
* add granularity to database dashboard
* add range selection
* add selection to area charts
* refactor ChartHeader
* fix default
* fix time preset selected label and add tooltip actions
* client connections stacked chart
* polish all new chartts
* change attribute
* fix
* add real queries
* memory stack
* cleanup
* precision 1
* update charts
* add endpoints
* tooltip
* format
* improve charts
* toggle max value
* show limit
* cleanup
* cleanup
* update api schema
* fix ram_usage_max_available
* remove pgbouncer and comments
* show total with percentage in chart header
* pretty
* hide
* update reports database
* remove client_connections
* revert
* fix connectionStrings error
* restore correct queries and conditions
* vertically zoom in to percentage data
* add feature flag logic on charts
* add feature flag logic to date picker
* chore: remove comment
* add tooltip to charts metrics
* chore: comment new pg endpoints
* feat: lazy load ComposedChartHandler queries
* feat: dim non-hovered chart values when hovering chart label item
* feat: improve dim styling
* chore: improve light mode stacked chart colors
* chore: remove 15s interval
* chore: sync types
* chore: remove type
* chore: restore type
* fix hook error
* show chart type toggle
* remove console log
* temp
* keep connections charts as before
* restore DateRangePicker
* show last aggregate value when not hovering
* clean up imports
* disk IOps read and write
* restore flag
* refactor queries
* clean up grafana promo banner
* Update database-charts.ts | updated language
* fix hook error
* fix hook error
* fix hook error
* attempt fix hook error
---------
Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com >
2025-04-14 10:53:52 +02:00
Joshen Lim
02d943e9d6
Add refresh button to reports ( #33211 )
...
* Add refresh to custom reports
* Add refresh button to API and storage reports
* Add refresh button to database report
* Clean up database report
* Clean up custom report
2025-02-03 11:59:28 +08:00
Alaister Young and Kevin Grüneberg
70da0f1d1d
chore: cleanup packages ( #27770 )
...
* chore: cleanup packages
- Avoid circular imports
- Export API-types as types
- pg-format without depending on Node internal Buffer (not browser-compatible)
- Avoid importing from barrel files in ui dir
* chore: avoid barrel file imports in studio (#27771 )
* chore: avoid barrel file imports
- Removes some unused imports
- Avoids barrel file import for faster builds + less memory
* add eslint rule
* type fixes
* delete layouts barrel
* delete components/grid barrel file
* delete components/grid/utils barrel file
* delete components/grid/components/common barrel file
* delete components/grid/components/editor barrel file
* delete components/grid/components/formatter barrel file
* delete components/grid/components/grid barrel file
* delete components/grid/components/header/filter barrel file
* remote components/grid/store barrel file
* remove components/interfaces/Auth/Policies barrel file
* delete components/interfaces/Settings/Logs barrel file
* delete components/ui/CodeEditor barrel file
* delete components/ui/Forms barrel file
* delete components/ui/Shimmers barrel file
* delete data/analytics barrel file
* delete hooks barrel file
* cleanup lib/common/fetch barrel file
* final * barral files cleanup
* global react-data-grid styles
* remove console.log
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
* fix build
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2024-07-04 14:48:10 +08:00
Joshen Lim
cd4b7c0497
Remove all usage of read replicas enabled flag ( #26819 )
...
* Remove all usage of read replicas enabled flag
* Add fix for fly
* Fixes
* Prettier
* Swap to DropdownMenuRadioGroup
2024-05-29 11:46:15 +08:00
Joshen Lim
271734eec2
Chore/support checking replication lag in database reports ( #26290 )
...
* Init replication lag chart in database reports
* Navigate to replication lag chart via query params
* Add view replication lag CTA in map view
* Add replication lag metric to instance node view
* Prettier
2024-05-14 20:00:20 +08:00
Joshen Lim
3f07934905
Support checking API reports by replicas ( #26238 )
...
* Support checking API reports by replicas
* Fix API report for replica and add error handling
* Fix tests
* Add load balancer as an option for API reports
2024-05-14 14:13:33 +08:00
Joshen Lim and TzeYiing
d025e0f739
chore/fix studio jest tests ( #25872 )
...
* Fix tests in tests/unit, tests/components and files under tests, looking into tests/pages
* Fix tests under pages/projects root
* Fix
* Comment out broken tests that im stuck with
* Fix api-report.test
* Fix storage-report-test
* chore: fix some tests
* chore: remove logging
* Fix LogsPreviewer.test.js
* Fix most of logs-query-test
* Skip broken tests instead of false positiving them
---------
Co-authored-by: TzeYiing <ty@tzeyiing.com >
2024-05-11 12:05:25 +02:00