-
Notifications
You must be signed in to change notification settings - Fork 270
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
metrics: remove optimistic_slot_elapsed #2717
metrics: remove optimistic_slot_elapsed #2717
Conversation
@@ -61,15 +61,6 @@ impl OptimisticConfirmationVerifier { | |||
return; | |||
} | |||
|
|||
datapoint_info!( |
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.
I've never looked at this metric, but defering to @steviez's opinion since he's been more involved in replay than I have
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.
This one is kind of interesting, but I don't check it very often and I don't think we need every node reporting it. This information can be determined by other means (RPC, ledger-tool) as well.
That being said, the value is currently read in this dashboard:
"query": "SELECT last(\"average_elapsed_ms\") FROM \"$testnet\".\"autogen\".\"optimistic_slot_elapsed\" WHERE host_id::tag =~ /$hostid/ AND $timeFilter GROUP BY time($__interval)", |
Maybe we can remove it from the dashboard as part of this PR too ?
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.
I think we will have a new dashboard after the metric audit, but it's good to remove it from the file to avoid any misleading info! 0bef5e8
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.
LGTM but the line count to remove the graph 💀
* metrics: remove optimistic_slot_elapsed * remove optimistic_slot_elapsed from grafana dashboard json
Summary of Changes
clean up unused metrics