imbajin commented on code in PR #528: URL: https://github.com/apache/hugegraph-doc/pull/528#discussion_r4303891287
########## content/en/docs/clients/restful-api/other.md: ########## @@ -273,29 +273,130 @@ PUT http://localhost:8080/whiteiplist?status=true #### 11.1.6 Start the Arthas agent -Attaches the [Arthas](https://arthas.aliyun.com/en/) agent to the running server process for diagnosis. The ports, the bind IP and the disabled commands are taken from the `arthas.telnetPort`, `arthas.httpPort`, `arthas.ip` and `arthas.disabledCommands` options, see [Config Options](/docs/config/config-option/). +Starting with HugeGraph 1.8.0, Server and Store bundle Arthas 4.1.5 (PD does not embed an Arthas agent). +You can attach it to a running JVM for live troubleshooting via the local script or the administrator HTTP endpoint. + +> [!IMPORTANT] +> **Diagnostic Access** +> - **Local by Default**: Arthas defaults to `127.0.0.1`. Administrators may explicitly bind another valid address, including `0.0.0.0`. +> - **Native Authentication Recommended**: Enable Arthas native authentication, especially before exposing diagnostic ports beyond loopback. +> HugeGraph administrator authentication protects activation only. For API credentials, set native `-Darthas.username=...` and `-Darthas.password=...` Review Comment: Clarified the English and Chinese access callouts, helper credential paragraphs and configuration pointers, plus the runtime guide and template. JVM-level native credentials also apply to helper-started agents; omitted flags do not clear them. Authenticated commands and cleanup need matching CLI credentials when local bypass is disabled. Username-only use generates a password only when none is already configured; otherwise the agent inherits it. Native checks with bundled Arthas confirmed all three cases, including explicit credentials successfully closing the agent. This is a documentation correction; native configuration and helper behavior are unchanged. Link, bilingual and whitespace checks 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]
