inlong icon indicating copy to clipboard operation
inlong copied to clipboard

[INLONG-6194][Agent] Support parsing metrics for different components

Open Keylchen opened this issue 3 years ago • 0 comments

Prepare a Pull Request

Support different components to parse their related metric.

  • Fixes #6194

Motivation

Because the metrics uploaded by different agent components may be different, I split the metric item id_counter of prometheus and use KEY_PLUGIN_ID or KEY_COMPONENT_NAME as the primary key.

It is convenient for the different metric operation behind, and then there will be no common empty data dimension in different component.

Keylchen avatar Oct 17 '22 12:10 Keylchen