forked from TrueCloudLab/frostfs-node
[#966] node: Add path of the write_cache to metric labels
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
4730ecfdb8
commit
c9efaa5819
4 changed files with 40 additions and 27 deletions
|
@ -182,6 +182,7 @@ func New(opts ...Option) *Shard {
|
|||
writecache.WithReportErrorFunc(reportFunc),
|
||||
writecache.WithBlobstor(bs),
|
||||
writecache.WithMetabase(mb))...)
|
||||
s.writeCache.GetMetrics().SetPath(s.writeCache.DumpInfo().Path)
|
||||
}
|
||||
|
||||
if s.piloramaOpts != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue