Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add some metrics to dispute-coordinator. #5884

Closed
wants to merge 2 commits into from

Conversation

eskimor
Copy link
Member

@eskimor eskimor commented Aug 16, 2022

It is still quite slow apparently. For now to be deployed on Versi - not sure we want to keep them yet.

It is still quite slow apparently.
@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Aug 16, 2022
Copy link
Contributor

@sandreim sandreim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have quite a lot of metrics, and most of them are not really used when debugging. What do you think if we take a similar approach to logs, such that we can group them in sets, say debug metrics and prod metrics that we can enable via CLI ?

@eskimor
Copy link
Member Author

eskimor commented Aug 16, 2022

Not sure it is worth the trouble, but an interesting idea!

@sandreim
Copy link
Contributor

The main benefit would be lower scraping time and reducing the prometheus load which is a problem for large deployments.

@eskimor
Copy link
Member Author

eskimor commented Aug 16, 2022

Yep - I would lean to just removing those metrics and adding them back on a per need basis. I have the feeling it is not worth keeping them around. Creating a PR like this one is rather cheap and you have the added benefit that you can add precisely what you need at the moment - no matter how ugly, as it is just for debugging.

@eskimor
Copy link
Member Author

eskimor commented Aug 16, 2022

Ok requests are not costly nor frequent - I really cannot make any sense of those ToF values. Also when looking at logs: Everything is blazingly fast now - together with requests that trickle in once every few seconds. I am getting the feeling that something is off with that ToF metric, I am also not seeing any consequences: With an occasional ToF >0.5 seconds, the provisioner should actually time out - never happens as far as I can see.

@eskimor
Copy link
Member Author

eskimor commented Aug 16, 2022

Screenshot from 2022-08-16 15-57-33
Screenshot from 2022-08-16 15-56-26
Screenshot from 2022-08-16 15-52-09
Screenshot from 2022-08-16 15-51-50

What does add up a little bit is importing those backing votes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants