-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a metric for DB writing throughput #644
Conversation
node/metrics.go
Outdated
@@ -45,6 +45,8 @@ type Metrics struct { | |||
EigenMetrics eigenmetrics.Metrics | |||
// Reachability gauge to monitoring the reachability of the node's retrieval/dispersal sockets | |||
ReachabilityGauge *prometheus.GaugeVec | |||
// The throughput (bytes per second) at which the data is written to database. | |||
StoringThroughput prometheus.Gauge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Maybe DBWriteThroughout or StorageWriteThroughput?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sg
node/metrics.go
Outdated
StoringThroughput: promauto.With(reg).NewGauge( | ||
prometheus.GaugeOpts{ | ||
Namespace: Namespace, | ||
Name: "storing_throughput", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Similar suggestions, maybe storage_write_throughput_bytes_per_second
or db_write_throughput_bytes_per_second
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Why are these changes needed?
DB write IO is a key performance component.
Checks