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

Support new metrics binary format for client stats #751

Conversation

puzpuzpuz
Copy link
Contributor

@puzpuzpuz puzpuzpuz commented Jan 18, 2021

Closes #556

For backward-compatibility purposes, metrics are written into both client attributes and new metrics binary.

Binary generator core PR: hazelcast/hazelcast#18066

Related MC issues:

@puzpuzpuz puzpuzpuz added this to the 4.1 milestone Jan 18, 2021
@puzpuzpuz puzpuzpuz self-assigned this Jan 18, 2021
@puzpuzpuz puzpuzpuz changed the title [WIP] Support new metrics binary format for client stats Support new metrics binary format for client stats Jan 18, 2021
@puzpuzpuz puzpuzpuz force-pushed the v4.1/enhancement/new-metrics-binary-format branch 3 times, most recently from c54f023 to c6eeb94 Compare January 18, 2021 14:56
For backward-compatibility purposes, metrics are written into
both client attributes and new metrics binary.
@puzpuzpuz puzpuzpuz force-pushed the v4.1/enhancement/new-metrics-binary-format branch from c6eeb94 to 84e8641 Compare January 18, 2021 15:01
@puzpuzpuz puzpuzpuz force-pushed the v4.1/enhancement/new-metrics-binary-format branch from 709ca13 to e6fb1ab Compare January 20, 2021 08:48
src/statistics/MetricsCompressor.ts Show resolved Hide resolved
src/statistics/MetricsCompressor.ts Outdated Show resolved Hide resolved
src/statistics/MetricsCompressor.ts Show resolved Hide resolved
src/statistics/MetricsCompressor.ts Outdated Show resolved Hide resolved
src/statistics/MetricsCompressor.ts Outdated Show resolved Hide resolved
src/statistics/MetricsCompressor.ts Show resolved Hide resolved
src/statistics/Statistics.ts Show resolved Hide resolved
src/statistics/Statistics.ts Outdated Show resolved Hide resolved
@puzpuzpuz
Copy link
Contributor Author

@mdumandag could you take another look at the PR? All comments seem to be addressed.

Copy link
Contributor

@mdumandag mdumandag left a comment

Choose a reason for hiding this comment

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

Thanks for the changes, it looks good to me

@puzpuzpuz
Copy link
Contributor Author

@mdumandag thanks for the review!

@puzpuzpuz
Copy link
Contributor Author

@mdumandag I've pushed the workaround fix discussed in https://github.com/hazelcast/management-center/issues/4165 to include it into this PR. Please check e1786f3

@mdumandag
Copy link
Contributor

Looks good to me

@puzpuzpuz puzpuzpuz merged commit 4f953e9 into hazelcast:master Jan 20, 2021
@puzpuzpuz puzpuzpuz deleted the v4.1/enhancement/new-metrics-binary-format branch January 20, 2021 15:20
harunalpak pushed a commit to harunalpak/hazelcast-nodejs-client that referenced this pull request Dec 8, 2022
For backward-compatibility purposes, metrics are written into
both client attributes and new metrics binary.

Also includes the following:
* Fix client type value in statistics
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.

Integrate with 4.0 client statistics
2 participants