inlong
inlong copied to clipboard
[INLONG-6194][Agent] Support parsing metrics for different components
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.