From c6a4593f790bfcf6f8c00a4c04952c65c682fe05 Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Fri, 28 Apr 2017 14:41:22 +0800 Subject: [PATCH] update readme. --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 13928e5..5927cde 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,30 @@ Open your browser and then go to ### Add your own Java based application to be monitored. +* Modify the `pinpoint.config` + +``` +########################################################### +# Collector server # +########################################################### +profiler.collector.ip=127.0.0.1 + +# placeHolder support "${key}" +profiler.collector.span.ip=${profiler.collector.ip} +profiler.collector.span.port=9996 + +# placeHolder support "${key}" +profiler.collector.stat.ip=${profiler.collector.ip} +profiler.collector.stat.port=9995 + +# placeHolder support "${key}" +profiler.collector.tcp.ip=${profiler.collector.ip} +profiler.collector.tcp.port=9994 + +``` + +* The following script is a example for a spring boot application. + ```shell java -javaagent:/some-absolute-path/pinpoint-agent-1.6.1/pinpoint-bootstrap-1.6.1.jar -Dpinpoint.agentId=some-union-id -Dpinpoint.applicationName=some-name -jar build/libs/wise-log-1.0.0-SNAPSHOT.jar