agent.config 2.3 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

wu-sheng's avatar
wu-sheng 已提交
17 18 19 20 21 22 23
# The application name in UI
agent.application_code=Your_ApplicationName

# The number of sampled traces per 3 seconds
# Negative number means sample traces as many as possible, most likely 100%
# agent.sample_n_per_3_secs=-1

24 25 26 27
# The max amount of spans in a single segment.
# Through this config item, skywalking keep your application memory cost estimated.
# agent.span_limit_per_segment=300

wu-sheng's avatar
wu-sheng 已提交
28 29 30
# Ignore the segments if their operation names start with these suffix.
# agent.ignore_suffix=.jpg,.jpeg,.js,.css,.png,.bmp,.gif,.ico,.mp3,.mp4,.html,.svg

wu-sheng's avatar
wu-sheng 已提交
31 32
# If true, skywalking agent will save all instrumented classes files in `/debugging` folder.
# Skywalking team may ask for these files in order to resolve compatible problem.
33 34
# agent.is_open_debugging_class = true

wu-sheng's avatar
wu-sheng 已提交
35
# Server addresses.
36 37
# Primary address setting.
#
38
# Mapping to `naming/jetty/ip:port` in `config/application.yml` of Collector.
wu-sheng's avatar
wu-sheng 已提交
39 40 41
# Examples:
# Single collector:SERVERS="127.0.0.1:8080"
# Collector cluster:SERVERS="10.2.45.126:8080,10.2.45.127:7600"
wu-sheng's avatar
wu-sheng 已提交
42
collector.servers=127.0.0.1:10800
wu-sheng's avatar
wu-sheng 已提交
43

44 45 46 47 48 49 50 51
# Collector agent_gRPC/grpc service addresses.
# Secondary address setting, only effect when "collector.servers" is empty.
# By using this, no discovery mechanism provided. The agent only uses these addresses to uplink data.
# Recommend to use this only when collector cluster IPs are unreachable from agent side. Such as:
#   1. Agent and collector cluster are in different VPC in Cloud.
#   2. Agent uplinks data to collector cluster through Internet.
# collector.direct_servers=www.skywalking.service.io

wu-sheng's avatar
wu-sheng 已提交
52 53
# Logging level
logging.level=DEBUG