Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
3403d48c
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3403d48c
编写于
11月 06, 2017
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Finish all documents. Close #575
上级
d6a6fe10
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
51 addition
and
19 deletion
+51
-19
docs/README_ZH.md
docs/README_ZH.md
+1
-2
docs/cn/Deploy-skywalking-agent-CN.md
docs/cn/Deploy-skywalking-agent-CN.md
+50
-17
docs/cn/Quick-start-CN.md
docs/cn/Quick-start-CN.md
+0
-0
未找到文件。
docs/README_ZH.md
浏览文件 @
3403d48c
...
...
@@ -10,7 +10,6 @@
*
[
中间件,框架与类库支持列表
](
Supported-list.md
)
*
[
如何关闭特定插件
](
cn/How-to-disable-plugin-CN.md
)
*
APM相关介绍资料
*
[
APM简介(百度百科)
](
http://baike.baidu.com/link?url=HizLjnUrwvXqPQ4fZH_MA81MA7R_sE-kpdEIfuUHf-yNHhPiEkA97_7FshVR6raiZL6pvbChTZSIgrC1lY6lhq.md
)
*
[
OpenTracing中文版
](
https://github.com/opentracing-contrib/opentracing-specification-zh.md
)
*
Application Toolkit,应用程序工具包
*
[
概述
](
cn/Application-toolkit-CN.md
)
...
...
@@ -22,7 +21,7 @@
*
[
Trace
](
cn/Application-toolkit-trace-CN.md
)
*
测试用例
*
[
插件测试
](
https://github.com/SkywalkingTest/agent-integration-test-report
)
*
[
Java 探针性能测试
](
https://skywalkingtest.github.io/Agent-Benchmarks/
)
*
[
Java 探针性能测试
](
https://skywalkingtest.github.io/Agent-Benchmarks/
README_zh.html
)
*
开发指南
*
[
工程编译指南
](
cn/How-to-build-CN.md
)
*
[
插件开发指南
](
cn/Plugin-Development-Guide-CN.md
)
...
...
docs/cn/Deploy-skywalking-agent-CN.md
浏览文件 @
3403d48c
##
Download skywalking agent release version
-
Go to
[
release page
](
https://github.com/OpenSkway
lking/skywalking/releases
)
##
下载skywalking探针发布版本
-
前向
[
发布页面
](
https://github.com/OpenSkywa
lking/skywalking/releases
)
##
Deploy skywalking javaagent
1.
Copy the agent package to anywhere you like. The logs, plugins and config are all included in the package.
2.
Add -javaagent:/path/to/skywalking-agent/skywalking-agent.jar to VM argument.
##
部署探针
1.
拷贝skywalking-agent目录到所需位置,探针包含整个目录,请不要改变目录结构
1.
增加JVM启动参数,
`-javaagent:/path/to/skywalking-agent/skywalking-agent.jar`
。参数值为skywalking-agent.jar的绝对路径。
New agent package looks like this
:
新目录结构如下
:
```
+-- skywalking-agent
+-- activations
...
...
@@ -23,24 +23,57 @@ New agent package looks like this:
skywalking-agent.jar
```
-
Start your application
。
-
`/config/agent.config`
包含探针所需配置,中文说明如下
。
# Advanced features
-
All plugins are in
`/plugin`
folder. The plugin jar is active when it is in there. Remove the plugin jar, it disabled.
-
Besides set config through
`/config/agent.config`
, you can use System.Env and System.Properties(-D) to set config.
-
Key of env and properties =
`skywalking.`
+ key in
`agent.config`
file
-
Priority: System.Env > System.Properties(-D) >
`/config/agent.config`
-
The default logging output folder is
`/log`
.
```
properties
# 当前的应用编码,最终会显示在webui上。
# 建议一个应用的多个实例,使用有相同的application_code。请使用英文
agent.application_code
=
Your_ApplicationName
# Deploy agent in Tomcat FAQ
# 每三秒采样的Trace数量
# 默认为负数,代表在保证不超过内存Buffer区的前提下,采集所有的Trace
# agent.sample_n_per_3_secs=-1
# 设置需要忽略的请求地址
# 默认配置如下
# agent.ignore_suffix=.jpg,.jpeg,.js,.css,.png,.bmp,.gif,.ico,.mp3,.mp4,.html,.svg
# 对应Collector的config/application.yml配置文件中 agent_server/jetty/port 配置内容
# 例如:
# 单节点配置:SERVERS="127.0.0.1:8080"
# 集群配置:SERVERS="10.2.45.126:8080,10.2.45.127:7600"
collector.servers
=
127.0.0.1:10800
# 日志文件名称前缀
logging.file_name
=
skywalking-agent.log
# 日志文件最大大小
# 如果超过此大小,则会生成新文件。
# 默认为300M
logging.max_file_size
=
314572800
# 日志级别,默认为DEBUG。
logging.level
=
DEBUG
```
-
启动被监控应用。
# 高级特性
-
插件会被统一放置在
`plugins`
目录中,新的插件,也只需要在启动阶段,放在目录中,就自动生效。删除则失效。
-
配置除了通过
`/config/agent.config`
文件外,可以通过环境变量和VM参数(-D)来进行设置
-
参数的key =
`skywalking.`
+
`agent.config`
文件中的key
-
优先级:系统环境变量 > VM参数(-D) >
`/config/agent.config`
中的配置
-
Log默认使用文件输出,输出到
`/log`
目录中
# Tomcat配置探针FAQ
-
Tomcat 7
Change the first line of
`tomcat/bin/catalina.sh`
.
修改
`tomcat/bin/catalina.sh`
,在首行加入如下信息
```
shell
CATALINA_OPTS
=
"
$CATALINA_OPTS
-javaagent:/path/to/skywalking-agent/skywalking-agent.jar"
;
export
CATALINA_OPTS
```
-
Tomcat 8
Change the first line of
`tomcat/bin/catalina.sh`
.
修改
`tomcat/bin/catalina.sh`
,在首行加入如下信息
```
shell
set
"CATALINA_OPTS=... -javaagent:E:
\a
pache-tomcat-8.5.20
\s
kywalking-agent
\s
kywalking-agent.jar
-Dconfig=
\s
kywalking
\c
onfig
\d
ir
"
set
"CATALINA_OPTS=... -javaagent:E:
\a
pache-tomcat-8.5.20
\s
kywalking-agent
\s
kywalking-agent.jar"
```
\ No newline at end of file
docs/cn/Quick-start-
chn
.md
→
docs/cn/Quick-start-
CN
.md
浏览文件 @
3403d48c
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录