inlong icon indicating copy to clipboard operation
inlong copied to clipboard

[Feature][Agent] Support parsing metrics for different components

Open Keylchen opened this issue 3 years ago • 0 comments

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

Keylchen avatar Oct 17 '22 12:10 Keylchen