-
Notifications
You must be signed in to change notification settings - Fork 13
Instance Metrics using OxQL #2654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
2c3d3bf
Add stub of Disk Metrics using OxQL
charliepark b7f8d9f
Merge branch 'main' into oxql_disk_metrics
charliepark b313aac
Refactoring; getting chart working; needs better default situation
charliepark 4c61baf
refacotrs; remove old DiskMetrics; add writes and flushes charts
charliepark 3a94b31
initial stub for CPU metrics
charliepark 503a47e
file reorg
charliepark 1bd508d
More CPU metrics, though we mgiht need to rethink the long-term plan
charliepark 82368ed
working group_by
charliepark b7267fb
Updates to routes to handle sub-tabs
charliepark 8745bec
Dropdown working on CPU charts
charliepark 3faf22b
cleanup
charliepark 67eb979
more work on charts; networking
charliepark 26dfd35
Standardize wrapper components
charliepark 4723da2
Reorder charts a bit
charliepark 40bd0c5
getting side tabs into place
charliepark d332180
Update side tab CSS
charliepark 77bd509
Consolidate SideTabs into legacy tabs, using props to control layout
charliepark e3e2382
refactoring; getting rollups working for disks and network interfaces
charliepark 450fc98
Pass pre-formed query string to metric component
charliepark 36de1bc
Move date selector up a level, using useContext
charliepark dd96051
Update routes in path-builder test
charliepark 4ad4271
Small refactor to align approach to useState and dropdowns for networ…
charliepark 8d80808
Add static values for metrics for testing and mock service worker
charliepark dae5172
Merge branch 'main' into oxql_disk_metrics
charliepark 51ef360
Removes TS guard that was a bit onerous; relying on casting now, thou…
charliepark 0ad871e
Updated mock data for disks
charliepark 6fd2397
small refactor before integrating Ben's PR
charliepark c673784
Refactoring chart logic
charliepark 2c4d130
Add tests for OxQL charts
charliepark ef48320
Better handle cumulative_u64 data with initial sum value
charliepark d35afe4
Merge branch 'main' into oxql_disk_metrics
charliepark bb8d32b
Instance metrics design tweaks (#2676)
benjaminleonard bfc9714
a little code cleanup
david-crespo c143e71
make getOxqlQuery args more generic and structured
david-crespo 83be393
merge main
david-crespo 1437239
view/copy oxql modal
david-crespo 520ee8b
inline oxql query modal, remove comment about showing query
david-crespo d1f8e85
NonEmptyArray whaaaaaaat
david-crespo a7ba787
highlight oxql
david-crespo b518077
Add 'More about OxQL queries' button/link to modal
charliepark 17446b0
test for rendered oxql in modal
david-crespo 3d31bd2
Better link style for OxQL docs
charliepark 4614ac8
slightly smaller text
charliepark aefe263
clean up my weird half-finished metrics props change
david-crespo d476b3a
CopyCode footer
david-crespo e8710a8
handle no nics case on network metrics
david-crespo 56502be
small aria label fix
charliepark 7016bee
Add restriction to only turn on query reloading once initial data hav…
charliepark dc8e38e
Simplify CPU utilization tab
charliepark 8f4aa9b
Metrics more actions (#2700)
benjaminleonard 919ca2b
tweak more actions menu copy one more time
david-crespo 82096ba
Dynamic chart Y axis width (#2697)
benjaminleonard 9141b3f
merge main (react 19)
david-crespo 7661b10
Updates, and better logic on utilization chart; still accounting for …
charliepark 65f0f43
Merge branch 'main' into oxql_disk_metrics
charliepark d552feb
Updates to incorporate nCPUs in utilization calculation
charliepark 2ee92f0
small refactor
charliepark 8cc6018
Updated test for utilization
charliepark 8a1e80f
Move OxqlMetric files to own component directory
charliepark 9c5aae3
A few more tests
charliepark 1a8d551
update import
charliepark 3758390
tests are easier to make sense of when you can see all the data at once
charliepark 1cf9bca
Default to single state on CPU utiization tab; offer 'total' option
charliepark ed338f9
Update metrics schema URL
benjaminleonard bc8853c
Metrics error & loading states (#2698)
benjaminleonard cf3faf8
Move some loaders to parent component
charliepark fa081a7
Update dropdown to cap at 24 hours and handle minimum mean_within
charliepark 7375ac0
Use seconds when determining durations
charliepark 6fa81f4
remove intervalPicker until OxQL is faster
charliepark 8c537dd
Less twitchy datepicker wrap
benjaminleonard 8a0ca56
clean up chart loading states
david-crespo 0e87365
init MetricsContext with null instead of dummy values
david-crespo f3207fb
Update mock numbers so CPU utilization range is normal
charliepark 2f38adc
use lazy imports in the routes
david-crespo 13e82c0
blarg lint
david-crespo 42b22d3
Clean up CPU charts
charliepark 47da2bf
revert CpuStateMetric component
charliepark e16b1d7
merge main
david-crespo f448a0a
utils file tweaks, abstract slightly less
david-crespo fa375f9
replace getUnit with explicit unit prop
david-crespo 3263861
use date-fns
david-crespo d5ceef4
use delay function for sleeps
david-crespo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got rid of the Suspense here in 2f38adc because we're relying on RR's lazy loading instead of doing it manually.