metrics: Create public aliases for internal engine
metrics #1596
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
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1596
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:bugfix/ref-met"
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?
These changes are needed to updated
k6
in scope of TrueCloudLab/xk6-frostfs#187Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
gc
andwritecache
metrics fromengine
1f1d95b01f
to9307909ea6
How about this:
engine
package:In k6:
So just add 4 aliases in this PR (3 metrics interfaces, 1 type).
@ -79,6 +79,14 @@ func (m *NodeMetrics) Engine() EngineMetrics {
return m.engine
}
func (m *NodeMetrics) Writecachce() WriteCacheMetrics {
s/cachce/cache/
Fixed.
@ -6,4 +0,0 @@
type NullBool struct {
Bool bool
Valid bool // Valid is true if Bool is not NULL
This change seems unnecessary. It was a proper type, is a string now.
Reverted.
9307909ea6
toa0b9b86394
a0b9b86394
to6bc751f686
Agree with you, this approach is much simpler.
acid-ant referenced this pull request from TrueCloudLab/xk6-frostfs2025-01-10 13:30:12 +00:00
node
,sdk-go
,s3-gw
andneo-go
#191@ -29,4 +29,2 @@
SetRefillStatus(shardID, path, status string)
SetEvacuationInProgress(shardID string, value bool)
WriteCache() WriteCacheMetrics
These is no need to remove them now, right?
Right, redundant changes were removed.
6bc751f686
to84141702eb
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
metrics: Extractto metrics: Create public aliases for internalgc
andwritecache
metrics fromengine
engine
metrics