zqr10159 opened a new pull request, #3918: URL: https://github.com/apache/hertzbeat/pull/3918
This pull request updates the memory and disk metric units for the xugu database integration, changing them from bytes (B) to megabytes (MB) for improved clarity and consistency. The changes apply to both the configuration YAML and the user documentation in English and Chinese. **Metric unit updates:** * Changed the unit of memory-related metrics (e.g., `G_MEM`, `CATA_MEM`, `TRAN_MEM`, etc.) from `B` to `MB` in `app-xugu.yml`, and added a `units` mapping to clarify the conversion for each metric. * Changed the unit of disk read/write byte metrics (`DISK_READ_BYTES`, `DISK_WRITE_BYTES`) from `B` to `MB` in `app-xugu.yml`, and added a `units` mapping for these as well. **Documentation updates:** * Updated both the English (`xugu.md`) and Chinese (`xugu.md`) documentation tables to reflect the new units (`MB` instead of `B`) for memory and disk byte metrics. [[1]](diffhunk://#diff-3701f14d90ffc4eb854552fd7354d0a20a69277b1fc69babbb1d53dbc841d1e1L49-R62) [[2]](diffhunk://#diff-ea83edea0605139b51e174f5a169a9ab44c8f83731b9546913a71dc376801afcL49-R63) * Removed redundant instructions about adding the xugu JDBC driver JAR from both the English and Chinese documentation, streamlining the help content. [[1]](diffhunk://#diff-3701f14d90ffc4eb854552fd7354d0a20a69277b1fc69babbb1d53dbc841d1e1L10-L15) [[2]](diffhunk://#diff-ea83edea0605139b51e174f5a169a9ab44c8f83731b9546913a71dc376801afcL10-L14) -- 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]
