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

fix: change the start time used to calculate end blocker time metric #355

Open
wants to merge 1 commit into
base: release/v0.4.x
Choose a base branch
from

Conversation

madrezaz
Copy link
Contributor

We found out that the metric reported for the alliance module's end-blocker time is weirdly high:

{
  "Name": "end_blocker",
  "Count": 2,
  "Rate": 1244.006640625,
  "Sum": 12440.06640625,
  "Min": 6176.10205078125,
  "Max": 6263.96435546875,
  "Mean": 6220.033203125,
  "Stddev": 62.12803145520983,
  "Labels": {
    "module": "alliance"
  }
}

And realized that instead of using time.Now() as the start time for calculating the metric, block time is used, which causes this problem.

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.

1 participant