forked from TrueCloudLab/frostfs-node
[#373] fstree: Add metrics
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
a8526d45e9
commit
3ae3c8dfdb
4 changed files with 126 additions and 12 deletions
|
@ -35,3 +35,9 @@ func WithNoSync(noSync bool) Option {
|
|||
f.noSync = noSync
|
||||
}
|
||||
}
|
||||
|
||||
func WithMetrics(m Metrics) Option {
|
||||
return func(f *FSTree) {
|
||||
f.metrics = m
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue