agent.config 2.5 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.

17 18 19
# The agent namespace
# agent.namespace=default-namespace

wu-sheng's avatar
wu-sheng 已提交
20 21 22 23 24 25 26
# 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

27 28 29
# Authentication active is based on backend setting, see application.yml for more details.
# agent.authentication = xxxx

30 31 32 33
# 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 已提交
34 35 36
# 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 已提交
37 38
# 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.
39 40
# agent.is_open_debugging_class = true

wu-sheng's avatar
wu-sheng 已提交
41
# Server addresses.
42 43
# Primary address setting.
#
44
# Mapping to `naming/jetty/ip:port` in `config/application.yml` of Collector.
wu-sheng's avatar
wu-sheng 已提交
45 46 47
# 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 已提交
48
collector.servers=127.0.0.1:10800
wu-sheng's avatar
wu-sheng 已提交
49

50 51 52 53 54 55 56 57
# 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 已提交
58 59
# Logging level
logging.level=DEBUG