inlong
inlong copied to clipboard
[Feature][Agent] Support parsing metrics for different components
Description
Now all the agent components share a set of metrics. When a component adds a dimension, all components will have this dimension even if the value is empty.
This feature is to support different components to parse their related metric.
Use case
MemoryChannel_total{dimension="pluginReadSuccessCount",inlongGroupId="default_inlong_group_id",pluginId="MemoryChannel",} 20000.0
MemoryChannel_total{dimension="pluginSendSuccessCount",inlongGroupId="default_inlong_group_id",pluginId="MemoryChannel",} 20000.0
JobManager_total{dimension="jobRunningCount",componentName="JobManager",} 1.0
Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct