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

[API-926] Send TCP metrics for bytes sent and received to server #496

Merged
merged 2 commits into from
Oct 12, 2021

Conversation

mdumandag
Copy link
Contributor

It would be good to send tcp.bytesReceived and tcp.bytesSend
metrics in the metrics blob to the server, so that, someone can
track how much traffic is passing between the server and the client.

I have manually tested the stats exported to Prometheus and verified
that these two new stats are displayed there correctly.

It would be good to send `tcp.bytesReceived` and `tcp.bytesSend`
metrics in the metrics blob to the server, so that, someone can
track how much traffic is passing between the server and the client.

I have manually tested the stats exported to Prometheus and verified
that these two new stats are displayed there correctly.

Also, bumped the client version to 5.1.
@codecov-commenter
Copy link

codecov-commenter commented Oct 12, 2021

Codecov Report

Merging #496 (fd52d26) into master (760f681) will decrease coverage by 0.30%.
The diff coverage is 82.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #496      +/-   ##
==========================================
- Coverage   95.22%   94.92%   -0.31%     
==========================================
  Files         346      346              
  Lines       17680    17696      +16     
==========================================
- Hits        16836    16798      -38     
- Misses        844      898      +54     
Impacted Files Coverage Δ
hazelcast/statistics.py 90.44% <69.23%> (-0.57%) ⬇️
hazelcast/__init__.py 60.00% <100.00%> (ø)
hazelcast/reactor.py 82.01% <100.00%> (-8.04%) ⬇️
...otocol/codec/client_authentication_custom_codec.py 50.00% <0.00%> (-23.81%) ⬇️
hazelcast/connection.py 91.88% <0.00%> (-1.42%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 760f681...fd52d26. Read the comment docs.

Copy link
Member

@srknzl srknzl left a comment

Choose a reason for hiding this comment

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

LGTM with one minor typo spotted

tests/integration/backward_compatible/client_test.py Outdated Show resolved Hide resolved
Co-authored-by: Serkan Özel <serkanozel380@gmail.com>
@mdumandag mdumandag merged commit 8561fd3 into hazelcast:master Oct 12, 2021
@mdumandag mdumandag deleted the tcp-metrics branch October 12, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants