application.yml 2.2 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.

P
peng-yongsheng 已提交
17 18 19 20
#cluster:
#  zookeeper:
#    hostPort: localhost:2181
#    sessionTimeout: 100000
21 22 23
naming:
  jetty:
    host: localhost
wu-sheng's avatar
wu-sheng 已提交
24
    port: 10800
25
    context_path: /
26 27 28
remote:
  gRPC:
    host: localhost
wu-sheng's avatar
wu-sheng 已提交
29
    port: 11800
30
agent_gRPC:
31 32 33
  gRPC:
    host: localhost
    port: 11800
34 35 36
    #Set these two setting to open ssl
    #ssl_cert_chain_file: $path
    #ssl_private_key_file: $path
37 38 39

    #Set your own token to active auth
    #authentication: xxxxxx
40
agent_jetty:
41 42 43 44
  jetty:
    host: localhost
    port: 12800
    context_path: /
P
peng-yongsheng 已提交
45 46 47 48 49
analysis_register:
  default:
analysis_jvm:
  default:
analysis_segment_parser:
50
  default:
51
    buffer_file_path: ../buffer/
52 53
    buffer_offset_max_file_size: 10M
    buffer_segment_max_file_size: 500M
54 55 56 57 58
ui:
  jetty:
    host: localhost
    port: 12800
    context_path: /
59
storage:
60 61 62 63 64 65 66 67 68 69 70
  elasticsearch:
    cluster_name: CollectorDBCluster
    cluster_transport_sniffer: true
    cluster_nodes: localhost:9300
    index_shards_number: 2
    index_replicas_number: 0
    ttl: 7
#storage:
#  h2:
#    url: jdbc:h2:tcp://localhost/~/test
#    user_name: sa
71 72
configuration:
  default:
73
    # namespace: xxxxx
74 75 76 77 78 79 80
    application_apdex_threshold: 2000
    service_error_rate_threshold: 10.00
    service_average_response_time_threshold: 2000
    instance_error_rate_threshold: 10.00
    instance_average_response_time_threshold: 2000
    application_error_rate_threshold: 10.00
    application_average_response_time_threshold: 2000