Duansg opened a new pull request, #3662: URL: https://github.com/apache/hertzbeat/pull/3662
## What's changed? Improve the parsing logic of prometheus label For details: 1. Improve multi-value fields: Supports both value and metric_value aliases. 2. Improve logical structure: First check the label value, then check whether it is a value field. 3. Improve constant handling. 4. Add test cases and pass historical test cases. ## Checklist - [x] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [ ] I have written the necessary doc or comment. - [x] I have added the necessary unit tests and all cases have passed. ## Add or update API - [ ] I have added the necessary [e2e tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
