Francesco Sansalvadore
c508348b07
fix db charts ( #36803 )
...
* fix db chart tooltip
* fix condition
* move Disk Size chart close to Db size panel
2025-07-08 08:22:46 +00:00
Francesco Sansalvadore and Jordi Enric
715b83b124
chore: realtime reports ( #36797 )
...
* init realtime reports page
* realtime metrics
* remove mock
* rebase branch
* chore: add realtime_postgres_changes infra-monitoring query
* clean realtime config
* clean realtime config
* test queries
* fix duplicate values
* update realtime charts components
* update realtime charts types
* update realtime charts types
* restore realtime charts logic
* add realtime charts
* hide redundant refresh and datepicker
---------
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2025-07-03 18:14:19 +02:00
Francesco Sansalvadore and Terry Sutton
8c41ec5e66
feat: reports storage ( #36442 )
...
* init storage charts v2
* add storage chart endpoint
* add storage charts to storage
* cleanup storage reports
* chore: try functions report
* fix storage sql composition
* clear menu
* chore: use FilterBar to filter storage report
* chore: fix api report product filtering
* comment path
* remove Response Errors storage chart
* update filtering UI
* fix filtering concatenation logic
* refactor components to useReportFilters hook
* cleanup
* fix filter concatenation
* add filerable text input
* add AND between filters
* fix padding
* Temp remove filter bar
* Nudges
* Swap collapsible component
* fix cache hit and cache miss queries
* Link to cache guide
* Add a flag for storage report
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2025-07-03 13:43:24 +02:00
Jordi Enric
3d88e1a03d
Edge Function Report ( #36763 )
2025-07-02 15:54:39 +02:00
Jordi Enric
3b3a75202e
feat: add auth reports FE-1569 ( #36555 )
...
* feat: add auth reports
* fix reports dates, fix missing queries
* add flag
* fix errorbystatus chart
* fix sign in by grant type
* move formatting to auth report query file
* fix signup by provider, add ratelimitted reqs
* fix sign ups query
* cleanup unused stuff
* cleanup
* rm console logs
* undo logs.utils
* add status code lib, use edge_logs for query
* fix auth error chart footer
* rm redundant rate limited requests chart
* fix db report breaking due to useAuthReport throwing
* move state up, reduce conditional logic in composed chart handler
* reorder reports nav
* rm bg
* fix type err
* fix useChartData
* empty
* fix report header bg
* move to utils
* add AnalyticsInterval import to report.utils for granularity conversion
2025-06-27 11:10:25 +02:00
Francesco Sansalvadore
dd69049efa
update db charts ( #36534 )
2025-06-20 11:46:11 +02:00
Francesco Sansalvadore
265ca68786
update db report ( #36328 )
...
* release charts to Teams and Enterprise
* update db charts
* clean up chart types and add disk_fs_used_system
* show update data for Disk Size chart
* remove feature flag release
* update PostgREST connections tooltip
* show percentage in tooltip only if value is not percentage itself
* show percentage in tooltip only if value is not percentage itself
* insert disk_fs_used_system
* update db disk size chart
* reorder admin connection
2025-06-18 13:05:31 +02:00
jose-ledesma and Jose Ledesma
0695e4ea7e
fix: include primary database identifier in API report filtering ( #36324 )
...
Co-authored-by: Jose Ledesma <jose@Joses-MacBook-Pro.local >
2025-06-11 23:43:04 +08:00
Gjorgji Jankovski and Joshen Lim
354c9b6955
feat: add additional connection metrics to report ( #36225 )
...
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-06-09 11:49:37 +02:00
Francesco Sansalvadore
01503ea083
Chore/db report legend ( #35871 )
...
* fix ram chart valuePrecision
* fix total aggregation
2025-05-23 12:50:10 +02:00
Francesco Sansalvadore
fda426b9ad
Improvements to Reports > Database ( #35477 )
...
* improve legend items hover
* show yAxis label
* open range in logs explorer
* add provisioned disk size to Memory Usage chart
* temp new charts
* Network Traffic chart
* sync charts marker
* update api types
* fix layout
* add max memory
* add db size
* chore: remove unused properties
* disk_io_usage
* add max db and pooler connections
* chart header tooltip
* clean charts
* add cpu max
* refactor charts and change max color
* reference line on Database Size chart
* reference line text
* reference lines on Database Size chart
* fix aggregation
* legend spacing
* reference line
* add docsUrl
2025-05-23 10:32:33 +02:00
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