mirror of
https://github.com/apache/skywalking.git
synced 2026-11-06 10:07:51 +00:00
Page:
sky walking config file walkthrough
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
5
sky walking config file walkthrough
吴晟 Wu Sheng edited this page 2017-08-14 16:53:41 +08:00
What is sky-walking.config file?
sky-walking.config file is an important config file for sky-walking agent. The agent locates the file in following order:
- Path from SystemProperty. Using
-DconfigPathin your JVM args. - Classpath. Loading by
Class.getResourceAsStream("/sky-walking.config"). - Path, where agent.jar is.
If no found in any path, agent is still going to run in default config. You must set -DapplicationCode=test-service -Dservers=127.0.0.1:7001 through JVM args, otherwise, your application will stop with an ExceptionInInitializerError.
Example all config items in "sky-walking.config"
# Application code is showed in sky-walking-ui.
# Suggestion: set a unique name for each application, one application's nodes share the same code.
agent.application_code=Your_ApplicationName
# One, means sampling OFF.
# Greater than one, select one trace in every N traces.
# Zero and negative number are illegal.
agent.sampling_cycle=1
# Collector REST-Service address.
# e.g.
# SERVERS="127.0.0.1:8080" for single collector node.
# SERVERS="10.2.45.126:8080,10.2.45.127:7600" for multi collector nodes.
collector.servers=10.2.45.126:8080,10.2.45.127:7600
# Collector receive segments REST-Service name.
# If you use sky-walking-ui in default mode, no need to change this.
collector.service_name=/segments
# The max size to send traces per rest-service call.
collector.batch_size=50
# The in-memory buffer size. Based on Disruptor, this value must be 2^n.
# More info about this, see https://github.com/LMAX-Exchange/disruptor
buffer.size=512
# log file name
logging.file_name=skywalking-api.log
# Log files directory.
# Default is blank string, means, use "system.out" to output logs.
logging.dir=
# The max size of log file.
# If the size is bigger than this, archive the current file, and write into a new file.
# Default 300M per file
logging.max_file_size=314572800
# The log level. Default is debug.
logging.level=DEBUG
# Name of disabled plugins.
# The value spilt by <code>,</code>, if you have multiple plugins need to disable.
# All plugin names are in the skywalking-plugin.def, which is in the root of agent.jar
plugin.disabled_plugins=****
WIKI documents are maintained by @OpenSkywalking