-
Notifications
You must be signed in to change notification settings - Fork 31
Record IO MiB read/write to client resource usage records #275
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
Open
tsehori
wants to merge
43
commits into
google:master
Choose a base branch
from
tsehori:add_resource_usages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 36 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
00bf8a8
Added IO data read/written to struct definition
0114836
Elaborated doc of ResourceUsageFromFinishedCmd
5e7268d
Data collected in ResourceUsageForPID
f6825c3
Added ClientIOReadCount and ClientIOWriteCount
18d6410
Delete IO Count
e70b347
Add aggregated fields to resource msg proto
1da76b7
Changed unit from bytes to mib
7fa2f9e
Added fields to unix struct
85908a5
Changed resource proto & compiled proto
1d2c64a
Added new fields to resource proto & compiled proto
8cea970
Changed max_io_read_mib and max_io_write_mib to int64
4f02c9e
Added code to initialize ClientIORead where needed
56b2493
Fixed variables & ammended comment
b6f2c8f
Merge branch 'master' of https://github.com/google/fleetspeak into ad…
bc2b658
Modified all relevant SQL statements
9870bba
Make sure aggregateIOResourceUsage is called
3a4d7a4
Added full support for ClientIOWrite
d046a3f
Added space in SQL INSERT statement
0298851
Scan SQL rows with IO data
813cec0
Separate memory from IO usage
285cb99
Merge branch 'master' of https://github.com/google/fleetspeak into ad…
1a4299a
Added more SQL statements to support IORead/write
5d798f4
Added gopsutil/process and calculate IO with it in unix
d1005d3
Fixed SQL query for SQLite
ad0e1cf
Merge branch 'master' of https://github.com/google/fleetspeak into ad…
ea8a4cc
tests and logs
7fb2f84
Merge branch 'master' of https://github.com/google/fleetspeak into ad…
5e179be
Changed format of proto message
a0534eb
Recompiled relevant proto file
52c1aae
Removed logs
8e39438
Changed relevant code to fit new proto fields
f22524b
Merge with main branch
ecd7483
Merge leftover generated proto from main branch
416b7bf
Recompiled protos with new fields
8439bac
Fixed SQL syntax
abe9c5f
Added tests for new RUD fields
86b6124
Changed variable names
a3f3629
Added tests for IOReadBytes and IOWriteBytes
784f31c
Changed new aggregated RUD fields to KiB
7380f3d
Variable names changes
a569f61
Changed proto field types from int32 to int64
bbb716a
Round up to nearest integer and use 'int64'
c946d31
Trigger Travis CI
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
140 changes: 90 additions & 50 deletions
140
fleetspeak/src/common/proto/fleetspeak_monitoring/resource.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
Uh oh!
There was an error while loading. Please reload this page.