-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
chore: add peer discovery metrics to grafana #5827
Conversation
}, | ||
"editorMode": "code", | ||
"exemplar": false, | ||
"expr": "(\n sum(rate(\n lodestar_network_worker_wire_events_on_worker_thread_latency_sum[$rate_interval]\n )) \n +\n sum(rate(\n lodestar_network_worker_wire_events_on_main_thread_latency_sum[$rate_interval]\n ))\n)\n/\n(\n sum(rate(\n lodestar_network_worker_wire_events_on_worker_thread_latency_count[$rate_interval]\n ))\n +\n sum(rate(\n lodestar_network_worker_wire_events_on_main_thread_latency_count[$rate_interval]\n ))\n)", |
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.
@matthewkeil I found this metric from #5800, do you want it to be 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 leave that up to you @tuyennhv. I changed them around a few times so they may be a bit different from the last time you checked. Feel free to either pull the updated ones into this PR or I can merge the additions from yours into mine. Whichever works for me. I leave the decision with you. @wemeetagain mentioned this to me as well so just let me know how to help because I think he wants to get these into 1.10
Here is a screenshot of the updated version I made. I would go with your overall average because my calculation seems incorrect, but I kinda prefer the layout I settled on with one panel broken out by eventName
and the other panel with just the three averages on it. Average
, average of workerToMain
and mainToWorker
because they seem to be pretty different in the two directions and the individual metrics are also quite distinct in value for each event type so there will be a lot of opportunity to tune the individual events but they are hard to glance at to see if the averages is changing.
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.
ok then let's also add your panels to grafana, you can change them later @matthewkeil
Performance Report✔️ no performance regression detected Full benchmark results
|
this also include new panels from @matthewkeil , ready for review |
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 🚀
Motivation
To know more about
PeerDiscovery
statusDescription