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

Add more metrics related to PushPull API #155

Closed
hackerwins opened this issue Mar 2, 2021 · 0 comments
Closed

Add more metrics related to PushPull API #155

hackerwins opened this issue Mar 2, 2021 · 0 comments
Assignees
Labels
enhancement 🌟 New feature or request

Comments

@hackerwins
Copy link
Member

hackerwins commented Mar 2, 2021

What would you like to be added:

Yorkie uses Prometheus for metrics reporting. The simplest way to see the available metrics is to cURL the metrics endpoint localhost:11102/metrics. The format is described here.

We need to add more metrics related to PushPull API.

Name Description Type
pushpull_response_seconds Response time of PushPull API. Histogram
pushpull_received_changes The number of changes included in a request pack in PushPull API. Counter
pushpull_sent_changes The number of changes included in a response pack in PushPull API. Counter
pushpull_snapshot_duration_seconds The creation time of snapshot in PushPull API. Histogram
pushpull_snapshot_bytes The number of bytes of Snapshot. Counter

Why is this needed:

The metrics can be used for real-time monitoring and debugging.

@hackerwins hackerwins added the enhancement 🌟 New feature or request label Mar 2, 2021
@dc7303 dc7303 mentioned this issue Mar 2, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🌟 New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants