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

Adding more metrics, fix some bugs #965

Merged
merged 5 commits into from
Jul 16, 2018
Merged

Adding more metrics, fix some bugs #965

merged 5 commits into from
Jul 16, 2018

Conversation

wxing1292
Copy link
Contributor

@wxing1292 wxing1292 commented Jul 14, 2018

  • Increase the throttle limit on history host to 9K
  • Adding more metrics
  • Fix bugs in retry policy

solve #941

* Adding more metrics
* Fix bugs in retry policy
logging.TagFirstEventID: request.GetFirstEventId(),
logging.TagNextEventID: request.GetNextEventId(),
})

r.metricsClient.RecordTimer(
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems strange to report replication events size as a timer which is generally used for computing latencies. Is the intention here to compute various percentiles for this counter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, i would like to get the distribution of the number of events per replication task, this can be useful for debugging or explaining the potential high latency issue

Copy link
Contributor

@samarabbas samarabbas left a comment

Choose a reason for hiding this comment

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

Looks good.
Let's check if the metric can be converted to a guage, as it makes more sense.
If not then you can use timer metric.

@wxing1292 wxing1292 merged commit b21b809 into master Jul 16, 2018
@wxing1292 wxing1292 deleted the speed branch July 16, 2018 23:56
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.

2 participants