node: Add path of the write_cache to metric labels #1107
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1107
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/frostfs-node:add_path_writecache_metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close: #966
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
b827c88b40
to5590bbef63
@ -190,6 +190,9 @@ func New(opts ...Option) *Shard {
s.fillInfo()
if c.useWriteCache {
Please move to existed
if c.useWriteCache
branch:It is more complex when multiple
if
-statements with the same condition exist.fixed
@ -22,3 +22,1 @@
var (
subjectNotFoundErrorMessage = "subject not found"
)
var subjectNotFoundErrorMessage = "subject not found"
fyrchik
will ask to move to separate commit:)Of course, I will!
fixed
@ -22,3 +22,3 @@
}
func (m *shardIDModeValue) SetMode(shardID string, mode string) {
func (m *shardIDModeValue) SetMode(shardID, mode string) {
Unrelated to the commit.
fixed
@ -12,4 +12,0 @@
AddMethodDuration(shardID string, method string, success bool, d time.Duration, storageType string)
SetActualCount(shardID string, count uint64, storageType string)
SetEstimateSize(shardID string, size uint64, storageType string)
SetMode(shardID string, mode string)
Unrelated to the commit.
fixed
5590bbef63
toe2a839beb0
e2a839beb0
to3fe3eb1d31
3fe3eb1d31
tod90946e5f2
Could you also describe a reason for parameter reordering in the commit message? e.g.
success bool, d time.Duration
are the last parameters in all our interfaces.d90946e5f2
toe6dff95cb2
e6dff95cb2
tofa0bc8e1df
@fyrchik fixed