Skip to content

[Bug]: Hazelcast metric descriptor reports too long values #350

@s4heid

Description

@s4heid

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hazelcast complains that the names of the shared map entries, which are created as part of the EntityVerticle registration exceed the limit of 255 chars.

Due to a bug in hazelcast (hazelcast/hazelcast#17901), the name of the CP subsystem is concatenated which makes this even worse.

We should try to come up with shorter names of the keys.

Expected Behavior

Metric limit is not exceeded.

Steps To Reproduce

No response

Environment

- OS: Linux Ubuntu 22.04.1
- Java: 11
- NeonBee: 0.25.0

Relevant log output

14:10:30.391 [hz.sad_proskuriakova.cached.thread-9] DEBUG com.hazelcast.internal.metrics.managementcenter.ManagementCenterPublisher -- [10.130.94.71]:50000 [dev] [4.2.8] Too long value in the metric descriptor found, maximum is 255: __vertx.NeonBee-io.neonbee.internal.helper.SharedDataHelper#EntityVerticleRegistry-entityVerticles[frontend.Service.CountryCodes][###]10c24af8-667a-466e-a699-f599b57dddf1@__vertx.NeonBee-io.neonbee.internal.helper.SharedDataHelper#EntityVerticleRegistry-entityVerticles[frontend.Service.CountryCodes][###]10c24af8-667a-466e-a699-f599b57dddf1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageThis issue needs to be investigated and confirmed as a valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions