Module: Metricshelp wanted
描述
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
- I'm reporting the issue to the correct repository
Current Behavior
Metrics are returned in turn from each worker in the cluster and include data about one current worker.
Expected Behavior
It is necessary to transfer the registration of metrics to the cluster master and the workers inform the master about their metrics via IPC or AggregatorRegistry
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- enable prometheus metrics
- moleculer-runner -i 2
- check metrics
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Moleculer version: v0.14.10
- NodeJS version: LTS
- Operating System: linux