This repository has been archived by the owner on May 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
192 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
obdfilter.ai400x2-OST0000.exports.0@lo.stats= | ||
snapshot_time 1687448377.140066624 secs.nsecs | ||
create 10 samples [usecs] 44 4724 8911 25377661 | ||
statfs 5842 samples [usecs] 0 32132 77736 1248293008 | ||
get_info 1 samples [usecs] 3541 3541 3541 12538681 | ||
obdfilter.ai400-OST0001.num_exports=4 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
obdfilter.ai400-OST0001.num_exports=4 | ||
obdfilter.ai400x2-OST0000.exports.0@lo.stats= | ||
snapshot_time 1687448377.140066624 secs.nsecs | ||
create 10 samples [usecs] 44 4724 8911 25377661 | ||
statfs 5842 samples [usecs] 0 32132 77736 1248293008 | ||
get_info 1 samples [usecs] 3541 3541 3541 12538681 |
This file contains 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 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
94 changes: 94 additions & 0 deletions
94
src/snapshots/lustre_collector__parser__tests__node_output_single_valid.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--- | ||
source: src/parser.rs | ||
expression: result | ||
--- | ||
( | ||
[ | ||
Target( | ||
NumExports( | ||
TargetStat { | ||
kind: Ost, | ||
param: Param( | ||
"num_exports", | ||
), | ||
target: Target( | ||
"ai400-OST0001", | ||
), | ||
value: 4, | ||
}, | ||
), | ||
), | ||
Target( | ||
ExportStatsOst( | ||
TargetStat { | ||
kind: Ost, | ||
param: Param( | ||
"exports", | ||
), | ||
target: Target( | ||
"ai400x2-OST0000", | ||
), | ||
value: [ | ||
ExportStats { | ||
nid: "0@lo", | ||
stats: [ | ||
Stat { | ||
name: "create", | ||
units: "usecs", | ||
samples: 10, | ||
min: Some( | ||
44, | ||
), | ||
max: Some( | ||
4724, | ||
), | ||
sum: Some( | ||
8911, | ||
), | ||
sumsquare: Some( | ||
25377661, | ||
), | ||
}, | ||
Stat { | ||
name: "statfs", | ||
units: "usecs", | ||
samples: 5842, | ||
min: Some( | ||
0, | ||
), | ||
max: Some( | ||
32132, | ||
), | ||
sum: Some( | ||
77736, | ||
), | ||
sumsquare: Some( | ||
1248293008, | ||
), | ||
}, | ||
Stat { | ||
name: "get_info", | ||
units: "usecs", | ||
samples: 1, | ||
min: Some( | ||
3541, | ||
), | ||
max: Some( | ||
3541, | ||
), | ||
sum: Some( | ||
3541, | ||
), | ||
sumsquare: Some( | ||
12538681, | ||
), | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
), | ||
), | ||
], | ||
"", | ||
) |
This file contains 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 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