Skip to content
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

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

yihau
Copy link
Member

@yihau yihau commented Aug 23, 2024

Summary of Changes

clean up unused metrics

@yihau yihau marked this pull request as ready for review August 23, 2024 11:29
@yihau yihau requested review from steviez and apfitzge August 23, 2024 11:29
@@ -61,15 +61,6 @@ impl OptimisticConfirmationVerifier {
return;
}

datapoint_info!(

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

Copy link

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 ?

Copy link
Member Author

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

Copy link

@steviez steviez left a 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 💀

@yihau yihau merged commit 05361a9 into anza-xyz:master Sep 4, 2024
40 checks passed
@yihau yihau deleted the remove-metrics-optimistic_slot_elapsed branch September 4, 2024 10:45
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
* metrics: remove optimistic_slot_elapsed

* remove optimistic_slot_elapsed from grafana dashboard json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants