You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/10/28 13:21:42 UTC
[servicecomb-pack] branch master updated: SCB-1533 Remove the Kamon
configuration (#581)
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
The following commit(s) were added to refs/heads/master by this push:
new cc5b236 SCB-1533 Remove the Kamon configuration (#581)
cc5b236 is described below
commit cc5b236ff1412605742a1158faa7ffc4b80fa6a1
Author: Lei Zhang <co...@gmail.com>
AuthorDate: Mon Oct 28 21:21:32 2019 +0800
SCB-1533 Remove the Kamon configuration (#581)
---
.../src/main/resources/application.conf | 91 ----------------------
1 file changed, 91 deletions(-)
diff --git a/alpha/alpha-server/src/main/resources/application.conf b/alpha/alpha-server/src/main/resources/application.conf
deleted file mode 100644
index c741472..0000000
--- a/alpha/alpha-server/src/main/resources/application.conf
+++ /dev/null
@@ -1,91 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.
-## ---------------------------------------------------------------------------
-
-## To fix the issue that Spring Boot 2.1 disable the bean definition override by default
-spring.main.allow-bean-definition-overriding=true
-
-###############################
-# Kamon related configuration #
-###############################
-
-kamon {
-
- metric {
- filters {
- trace.includes = ["**"]
- trace-segment.includes = ["**"]
- trace-segment.excludes = []
- akka-actor.includes = []
- akka-actor.excludes = ["**"]
- akka-dispatcher.includes = []
- akka-dispatcher.excludes = ["**"]
- }
- }
-
- show-aspectj-missing-warning = no
-
- modules {
- kamon-annotation {
- auto-start = no
- requires-aspectj = yes
- }
-
- kamon-log-reporter {
- auto-start = no
- requires-aspectj = no
- }
-
- kamon-statsd {
- auto-start = no
- requires-aspectj = no
- }
- }
-
- statsd {
- # Hostname and port in which your StatsD is running. Remember that StatsD packets are sent using UDP and
- # setting unreachable hosts and/or not open ports wont be warned by the Kamon, your data wont go anywhere.
- hostname = "localhost"
- port = 8125
-
- # Interval between metrics data flushes to StatsD. It's value must be equal or greater than the
- # kamon.metrics.tick-interval setting.
- flush-interval = 10 second
-
- # Subscription patterns used to select which metrics will be pushed to StatsD. Note that first, metrics
- # collection for your desired entities must be activated under the kamon.metrics.filters settings.
- includes {
- actor = []
- trace = ["*"]
- trace-segment = ["*"]
- dispatcher = []
- }
-
- subscriptions {
- histogram = ["**"]
- min-max-counter = ["**"]
- gauge = ["**"]
- counter = ["**"]
- trace = ["**"]
- trace-segment = ["**"]
- akka-actor = []
- akka-dispatcher = []
- akka-router = []
- system-metric = ["**"]
- http-server = []
- }
- }
-}