You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/01/09 06:27:17 UTC
[incubator-servicecomb-java-chassis] 06/13: SCB-85 clean bmi
example because metrics sample had added in samples
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
commit ee92a719b68376a1605871dbb684d83685e60ca1
Author: zhengyangyong <ya...@huawei.com>
AuthorDate: Thu Dec 28 17:05:13 2017 +0800
SCB-85 clean bmi example because metrics sample had added in samples
Signed-off-by: zhengyangyong <ya...@huawei.com>
---
samples/bmi/calculator/pom.xml | 30 ----------------------
.../src/main/resources/microservice.yaml | 25 +-----------------
2 files changed, 1 insertion(+), 54 deletions(-)
diff --git a/samples/bmi/calculator/pom.xml b/samples/bmi/calculator/pom.xml
index 4378d46..3a1d715 100644
--- a/samples/bmi/calculator/pom.xml
+++ b/samples/bmi/calculator/pom.xml
@@ -32,16 +32,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
<dependency>
@@ -61,26 +51,6 @@
<groupId>io.servicecomb</groupId>
<artifactId>handler-tracing-zipkin</artifactId>
</dependency>
-
- <dependency>
- <groupId>io.servicecomb</groupId>
- <artifactId>metrics-write-file-config</artifactId>
- <version>0.6.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>io.servicecomb</groupId>
- <artifactId>metrics-write-file-config-log4j2</artifactId>
- <version>0.6.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>io.servicecomb</groupId>
- <artifactId>metrics-core</artifactId>
- </dependency>
- <dependency>
- <groupId>io.servicecomb</groupId>
- <artifactId>metrics-write-file</artifactId>
- <version>0.6.0-SNAPSHOT</version>
- </dependency>
</dependencies>
<build>
diff --git a/samples/bmi/calculator/src/main/resources/microservice.yaml b/samples/bmi/calculator/src/main/resources/microservice.yaml
index e568b3d..a7a7a6b 100644
--- a/samples/bmi/calculator/src/main/resources/microservice.yaml
+++ b/samples/bmi/calculator/src/main/resources/microservice.yaml
@@ -31,27 +31,4 @@ cse:
handler:
chain:
Provider:
- default: bizkeeper-provider
-
-servicecomb:
- metrics:
- #polltime,unit is second
- polltime: 5
- #metrics double value round places,default value is 1
- round_places: 1
- file:
- enabled: false
- #metrics file name prefix setting,default value is "metrics"
- name_prefix: bmi.calculator
-
- root_path: ./samples/bmi/calculator/target/metric/
- rolling:
- max_file_count: 10
- max_file_size : 10MB
-
- #Version 0.5.0+ config
- #Support Muti-WindowTime (MILLISECONDS) like 10000,60000 (10s and 60s), Use WindowTimeIndex make selection,start from 0
- #Default value is single WindowTime : 5000 (5 second)
- #Will direct set value of "servo.pollers"
- #More info can be found here : https://github.com/Netflix/servo/wiki/Getting-Started -> Polling Intervals Chapter
- window_time: 5000
\ No newline at end of file
+ default: bizkeeper-provider
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.