mirror of
https://github.com/apache/skywalking.git
synced 2026-11-06 10:07:51 +00:00
Page:
3.2 Deploy skywalking 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
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.
Download skywalking agent release version
- Go to release page
Deploy skywalking javaagent
-
Add -javaagent:/path/to/javaagent/jar to VM argument.
-
Configure skywalking agent. There are two ways to configure java agent:
- Configure by VM argument. In this way, only need to set
applicationCodeandserversparameters. The applicationCode is the identification for the application(Not process, all the processes of the same application should use the same name). Theserverstargets one or several IP:port of collectors, several collectors should be seperated by,. The address(IP:port) matches theagent_server/jetty/portconfig item in Collector'sconfig/application.yml.
-DapplicationCode=test-service -Dservers=127.0.0.1:10800
- Configure by sky-walking.conf file. The file absolute path should be set by
-Dconfig=/path/to/sky-walking/config, default file name issky-walking.config; or it is in the same directory as skywalking-agent.jar.
# Application name, show in UI.
# All the processes of the same application should use the same name
agent.application_code=Your_ApplicationName
# How many traces should sample in 3 seconds bucket.
# Negative value means off. Collect as many traces as possible, if the buffer is still available.
# agent.sample_n_per_3_secs=-1
# The suffix of entry operation name, mostly uri, should be ignored. Never sampled
# Default configurations
# agent.ignore_suffix=.jpg,.jpeg,.js,.css,.png,.bmp,.gif,.ico,.mp3,.mp4,.html,.svg
# Match `agent_server/jetty/port` config item in collector's `config\application.yml`
# e.g.
# Single Node Mode:SERVERS="127.0.0.1:8080"
# Cluster Mode:SERVERS="10.2.45.126:8080,10.2.45.127:7600"
collector.servers=127.0.0.1:10800
# The prefix of log file name.
logging.file_name=skywalking-agent.log
# The path of log file
# Default is empty, agent outputs the log into the system console.
logging.dir=
# The size of each log file.
# Default is 300M
logging.max_file_size=314572800
# Log level. Default is DEBUG。
logging.level=DEBUG
- Start your application。
Deploy agent in Tomcat FAQ
- Tomcat 7
Change the first line of
tomcat/bin/catalina.sh.
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent.jar -Dconfig=\skywalking\config\dir"; export CATALINA_OPTS
- Tomcat 8
Change the first line of
tomcat/bin/catalina.sh.
set "CATALINA_OPTS=... -javaagent:E:\apache-tomcat-8.5.20\skywalking-agent.jar -Dconfig=\skywalking\config\dir"
WIKI documents are maintained by @OpenSkywalking