Skip to content

Add eventexecutor.workers metrics for Netty #6375

@divijvaidya

Description

@divijvaidya

Please describe the feature request.
We added a few Netty event executor related metrics at #522. This is a request to add another metrics eventexecutor.workers to the list of Netty metrics. This new metric represents the total number of Netty's event loops.

Rationale
A similar metric was added to Armeria with line/armeria#4675. This is a useful metric while debugging to determine the number of workers without having to explicitly look at the configuration.

Additional context
We could choose to use the reference implementation (Apache v2 license) at https://github.com/line/armeria/blob/024f86dedccc7897a6206770dd95852ca2ed66cc/core/src/main/java/com/linecorp/armeria/common/metric/EventLoopMetrics.java#L88

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA general enhancementhelp wantedAn issue that a contributor can help us withmodule: micrometer-coreAn issue that is related to our core module

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions