You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/09 10:19:51 UTC

[GitHub] [shardingsphere] RaigorJiang commented on a diff in pull request #21418: Add simple methods for use in container environments in the observability section

RaigorJiang commented on code in PR #21418:
URL: https://github.com/apache/shardingsphere/pull/21418#discussion_r990768802


##########
docs/document/content/user-manual/shardingsphere-proxy/observability/_index.cn.md:
##########
@@ -112,6 +114,28 @@ bin/start.sh
 ```
 正常启动后,可以在 ShardingSphere-Proxy 日志中找到 plugin 的加载信息,访问 Proxy 后,可以通过配置的监控地址查看到 `Metric` 和 `Tracing` 的数据。
 
+### 通过容器环境使用
+
+- 假设本地已存在包含 shardingsphere-agent.jar 和对应 Agent 配置文件的路径为 `./custom/agent`,
+  可通过环境变量 `JVM_OPT` 来配置 ShardingSphere Agent 的使用。
+  以 Docker Compose 的启动环境为例,假设已存在包含 ShardingSphere Proxy 配置文件的文件夹为 `./custom/conf`,

Review Comment:
   Shoule `ShardingSphere Proxy` be `ShardingSphere-Proxy`?



-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org