mirror of
https://github.com/apache/skywalking.git
synced 2026-11-06 10:07:51 +00:00
Page:
3.0 部署探针Agent
Pages
1.0 Develop Guide of Plugin
2.0 Demo Application Cluster chn
2.0 Demo Application Cluster
2.0 Deploy Cluster chn
2.0 Deploy Cluster
2.0 How to build chn
2.0 How to build
2.0 Quick Start chn
2.0 Quick Start
2.0 Run Server Docker Images chn
2.0 Run Server Docker Images
2.x Documents
2.x Supported components
3.0 Collector TraceSegment in JSON format
3.0 Deploy cluster
3.0 Deploy docker image
3.0 Deploy skywalking agent
3.0 Trace a distributed services chain
3.0 supported list
3.0 部署Collector镜像
3.0 部署collector
3.0 部署探针Agent
3.1 supported list
3.2 Deploy cluster
3.2 Deploy skywalking agent
3.2 supported list
3.2 部署Collector镜像
3.2 部署collector
3.2 部署探针Agent
3.2.1 supported list
3.2.2 Plugin list and how to disable plugin zh
3.2.2 Plugin list and how to disable plugin
3.2.3 Deploy cluster
3.2.3 Deploy collector in standalone mode
3.2.3 Deploy skywalking agent
3.2.3 supported list
3.2.3 单机模式部署Collector
3.2.3 部署Collector
3.2.3 部署collector生产模式
3.2.3 部署探针Agent
3.2.3 集群模式部署Collector
3.2.4 supported list
FAQ_docker pull failure
Home
How to build
How to communicate with the collector?
Memory Usage and GC info
Plugin Development Guide
Quick start chn
Quick start
Sky Walking 2.x Architecture
Skywalking 3 Cross Process Propagation Headers Protocol CN
Skywalking 3 Cross Process Propagation Headers Protocol
Span tags and logging keys sample tables
Test Cases chn
Test Cases
Trace查询有数据,但是没有拓扑图和JVM数据
change project version
sky walking application toolkit chn
sky walking application toolkit log4j 1.x chn
sky walking application toolkit log4j 1.x
sky walking application toolkit log4j 2.x chn
sky walking application toolkit log4j 2.x
sky walking application toolkit logback 1.x chn
sky walking application toolkit logback 1.x
sky walking application toolkit trace chn
sky walking application toolkit trace context chn
sky walking application toolkit trace context
sky walking application toolkit trace
sky walking application toolkit
sky walking config file walkthrough
sky walking doc_Sidebar
sky walking documents zh contents
skywalking opentracing chn
skywalking opentracing
加载探针,Console被GRPC日志刷屏
No results
Table of contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
下载skywalking探针发布版本
- 前向发布页面
部署探针
- 增加JVM启动参数,
-javaagent:/path/to/skywalking-agent.jar。参数值为skywalking-agent.jar的绝对路径。
如你需要监控TOMCAT等中间件,则需要修改其启动脚本。如你在Linux下,你需要修改tomcat/bin/catalina.sh,在首行加入如下信息
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent.jar"; export CATALINA_OPTS
- 可以通过两种方式配置探针。
- 通过配置文件配置探针。配置文件路径可以通过
-DconfigPath=/path/to/sky-walking.config传入;或者将sky-walking.config配置文件放在skywalking-agent.jar相同目录下。配置文件说明如下:
# 当前的应用编码,最终会显示在webui上。
# 建议一个应用的多个实例,使用有相同的application_code。请使用英文
agent.application_code=Your_ApplicationName
# 默认为1,表示启动采样机制,即每条调用链都会被追踪并上报
# 大于一时,则表示每N次访问,上报一条。
# 小于等于0位非法。
agent.sampling_cycle=1
# Collector REST-Service 服务地址.
# e.g.
# 单节点配置:SERVERS="127.0.0.1:8080"
# 集群配置:SERVERS="10.2.45.126:8080,10.2.45.127:7600"
collector.servers=127.0.0.1:12800
# Collector 接受追踪信息REST-Service 服务名称.
# 默认不需要修改
collector.service_name=/segments
# 向collector发送数据时,单次调用的最大容量
collector.batch_size=50
# 内部缓冲池大小,此值必须是2的指数倍。
# 相关资料: https://github.com/LMAX-Exchange/disruptor
buffer.size=512
# 日志文件名称
logging.file_name=skywalking-api.log
# 日志文件路径
# 默认为空, 使用"system.out"输出日志,一般会输出到中间件或者应用的控制台日志中。
logging.dir=
# 日志文件最大大小
# 如果超过此大小,则会生成新文件。
# 默认为300M
logging.max_file_size=314572800
# 日志级别,默认为DEBUG。
logging.level=DEBUG
- 使用JVM参数配置探针。使用此方式,只可以指定collector地址以及applicationCode, 探针绝大部分参数将以默认值方式运行。
-DapplicationCode=test-service -Dservers=127.0.0.1:12800
- 启动被监控应用。
WIKI documents are maintained by @OpenSkywalking