Skip to content

Document missing metrics [CTT-942]#2091

Merged
JamesHazelcast merged 5 commits intohazelcast:mainfrom
JamesHazelcast:fix/ctt-942
Feb 20, 2026
Merged

Document missing metrics [CTT-942]#2091
JamesHazelcast merged 5 commits intohazelcast:mainfrom
JamesHazelcast:fix/ctt-942

Conversation

@JamesHazelcast
Copy link
Contributor

Various metrics were identified as missing in our documentation - this PR adds those metrics for released functionality.

Fixes https://hazelcast.atlassian.net/browse/CTT-942

Various metrics were identified as missing in our documentation - this PR adds those metrics.

Fixes https://hazelcast.atlassian.net/browse/CTT-942
@JamesHazelcast JamesHazelcast self-assigned this Feb 3, 2026
@JamesHazelcast JamesHazelcast requested a review from a team as a code owner February 3, 2026 11:44
@netlify
Copy link

netlify bot commented Feb 3, 2026

Deploy Preview for hardcore-allen-f5257d ready!

Name Link
🔨 Latest commit 9847ead
🔍 Latest deploy log https://app.netlify.com/projects/hardcore-allen-f5257d/deploys/6998903c77da0d0008655b5f
😎 Deploy Preview https://deploy-preview-2091--hardcore-allen-f5257d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@Rob-Hazelcast Rob-Hazelcast left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@anatoly-hazelcast
Copy link
Contributor

I wonder whether this PR is intended to cover all the missing metrics. There are around 50 metrics in the initial list but less than 20 are covered here

@JamesHazelcast
Copy link
Contributor Author

I wonder whether this PR is intended to cover all the missing metrics. There are around 50 metrics in the initial list but less than 20 are covered here

The original list looks like it handles things like query cache somewhat oddly - perhaps an artifact of renaming for Prometheus? Those sort of metrics are already covered in docs, so I didn't duplicate them.

Are there any particular metrics missing that you can't find elsewhere @anatoly-hazelcast?

@anatoly-hazelcast
Copy link
Contributor

anatoly-hazelcast commented Feb 16, 2026

@JamesHazelcast I've dooublechecked and indeed some of the metrics from the original list seem to be coming from the latest Platform and ARE already documented, e.g. map_index_averageHitLatency. So, at least a subset of those shouldn't appear in this PR

However e.g. the metrics prefixed with hz_map_nearcache_ are coming from the com.hazelcast.internal.metrics.MetricDescriptorConstants#MAP_PREFIX_NEARCACHE and have nothing to do with any kind of renaming.
The stuff like hz_memorymanager_ is coming from com.hazelcast.internal.metrics.MetricDescriptorConstants#CLIENT_PREFIX_MEMORY_MANAGER
the hz_operation_operationTimeoutCount comes from com.hazelcast.internal.metrics.MetricDescriptorConstants#OPERATION_METRIC_OPERATION_SERVICE_TIMEOUT_COUNT
And I neither can't find these metrics in the existing docs https://docs.hazelcast.com/hazelcast/5.7-snapshot/list-of-metrics nor in this PR
There's more examples but I'm struggling to understand how these examples I've listed above could be the artifacts of the Prometheus-renaming if they are coming straight from the Platform.

@JamesHazelcast
Copy link
Contributor Author

@anatoly-hazelcast here's a list of all the metrics from your original Slack message, and their status: https://hazelcast.atlassian.net/browse/CTT-942?focusedCommentId=141420

As you can see, all of the metric values are now covered in documentation - the only open question is about some of the prefix differences; i.e. map.nearcache vs nearcache, and probably more important the memory vs memorymanager vs memorymanager.stats (which are all separate memory systems, but use the same value metrics). @Rob-Hazelcast how would you want these duplicate metric values handled in docs? If we had all unique keys listed, we'd be duplicating the metrics descriptors for memory at least 3x (and making 3x the maintenance ofc).

@Rob-Hazelcast
Copy link
Contributor

@anatoly-hazelcast here's a list of all the metrics from your original Slack message, and their status: https://hazelcast.atlassian.net/browse/CTT-942?focusedCommentId=141420

As you can see, all of the metric values are now covered in documentation - the only open question is about some of the prefix differences; i.e. map.nearcache vs nearcache, and probably more important the memory vs memorymanager vs memorymanager.stats (which are all separate memory systems, but use the same value metrics). @Rob-Hazelcast how would you want these duplicate metric values handled in docs? If we had all unique keys listed, we'd be duplicating the metrics descriptors for memory at least 3x (and making 3x the maintenance ofc).

Oof. Can we have an extra column for the variant prefixes?

@JamesHazelcast
Copy link
Contributor Author

JamesHazelcast commented Feb 19, 2026

Oof. Can we have an extra column for the variant prefixes?

@Rob-Hazelcast That works, but I think I may have spotted an even bigger gap (or I'm blind) - the list_of_metrics docs page is all about member side metrics. Where do we document client-side metrics? I can't find it - but I don't think we should mix client metrics into this page (so nearcache. would be listed under client metrics, map.nearcache would be under members - but again this might duplicate maintenance requirements).

edit: I think the page is intended to list all metrics (both client/member), but it's just not clear - I'll prepare some edits.

@anatoly-hazelcast
Copy link
Contributor

I still keep wondering why we're having these variants and more importantly why we're keeping them if they are effectively the same.. But at least now I got the idea of what prefixes we're talking about 😅
Thanks for the clarification in the ticket!

Copy link
Contributor

@Rob-Hazelcast Rob-Hazelcast left a comment

Choose a reason for hiding this comment

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

Thanks James. Clarifications around POV and prefixes look good.

Co-authored-by: Rob Swain <rob.swain@hazelcast.com>
@JamesHazelcast JamesHazelcast merged commit 7db9d7e into hazelcast:main Feb 20, 2026
5 of 6 checks passed
@JamesHazelcast JamesHazelcast deleted the fix/ctt-942 branch February 20, 2026 16:48
@github-actions
Copy link
Contributor

Failed to backport, change must be manually backported.

@github-actions
Copy link
Contributor

Failed to backport, change must be manually backported.

@github-actions
Copy link
Contributor

👍 Created #2110 to backport into v/5.6.

JamesHazelcast added a commit that referenced this pull request Feb 23, 2026
Backport of #2091

Various metrics were identified as missing in our documentation - this
PR adds those metrics for released functionality.

Fixes https://hazelcast.atlassian.net/browse/CTT-942

---------

Co-authored-by: James Holgate <130981049+JamesHazelcast@users.noreply.github.com>
JamesHazelcast added a commit that referenced this pull request Feb 23, 2026
Backport of #2091

Various metrics were identified as missing in our documentation - this
PR adds those metrics for released functionality.

Fixes https://hazelcast.atlassian.net/browse/CTT-942
anatoly-hazelcast added a commit to hazelcast/management-center-docs that referenced this pull request Feb 27, 2026
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.

3 participants