-
Notifications
You must be signed in to change notification settings - Fork 26
Add new metrics #342
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 new metrics #342
Conversation
- tnt_replication_upstream_<id>_lag - tnt_replication_downstream_<id>_lag - tnt_vinyl_regulator_blocked_writers - tnt_net_requests_in_progress_total - tnt_net_requests_in_progress_current - tnt_net_requests_in_stream_total - tnt_net_requests_in_stream_current
and utils.is_version_greater(_TARANTOOL, '2.0.0') then | ||
t.assert_equals(metrics_cnt, 20) | ||
else | ||
t.assert_equals(metrics_cnt, 21) |
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.
Well, do we really should get there if Tarantool is 1.10.x? Condition says that we will.
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.
Yes, seems that was backported to the latest 1.10 version
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.
Oh, that's interesting. But I still think we should add strict version comparison here for 1.10
738f424
to
dfd32c4
Compare
CHANGELOG.md
Outdated
- `tnt_net_requests_in_progress_current` | ||
- `tnt_net_requests_in_stream_total` | ||
- `tnt_net_requests_in_stream_current` | ||
- `replication_lsn` |
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.
No tnt_
suffix?
:header-rows: 0 | ||
|
||
* - ``tnt_net_requests_in_progress_total`` | ||
- Total count of requests processed by tx thread |
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.
requests_in_progress
count of requests processed
It seems like either a mistake or a bad naming
|
||
* - ``tnt_net_requests_in_stream_total`` | ||
- Total count of requests, which was placed in queues of streams | ||
for all time |
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.
for all time | |
for the whole time |
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.
Or for the instance lifetime
. We should have many metrics like this, choose something consistent
- Replication lag value in seconds, where | ||
``id`` is the instance's number in the replica set. | ||
* - ``tnt_replication_lsn`` | ||
- LSN of the tarantool instance. |
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.
- LSN of the tarantool instance. | |
- LSN of a tarantool instance. |
Damn, I forgot to submit my last review. If anything still seems relevant, please fix it in separate PR |
I didn't forget about
Close #337