Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add metrics integration #3598 #3643

Merged
merged 2 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions dubbo-common/src/main/java/org/apache/dubbo/common/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -840,4 +840,17 @@ public class Constants {

public static final int DEFAULT_GRPC_QUEUES = 300_0000;

/**
* metrics
*/
public static final String DUBBO_PROVIDER = "dubbo.provider";
public static final String DUBBO_CONSUMER = "dubbo.consumer";
public static final String DUBBO_PROVIDER_METHOD = "dubbo.provider.method";
public static final String DUBBO_CONSUMER_METHOD = "dubbo.consumer.method";
public static final String SERVICE = "service";
public static final String METHOD = "method";
public static final String DUBBO_GROUP = "dubbo";
public static final String METRICS_KEY = "metrics";


}
23 changes: 23 additions & 0 deletions dubbo-dependencies-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
<swagger_version>1.5.19</swagger_version>
<spring_test_version>4.3.16.RELEASE</spring_test_version>

<metrics_version>2.0.1</metrics_version>
<gson_version>2.8.5</gson_version>
</properties>

Expand Down Expand Up @@ -493,6 +494,28 @@
<version>${swagger_version}</version>
</dependency>

<dependency>
<groupId>com.alibaba.middleware</groupId>
<artifactId>metrics-core-api</artifactId>
<version>${metrics_version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.middleware</groupId>
<artifactId>metrics-core-impl</artifactId>
<version>${metrics_version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.middleware</groupId>
<artifactId>metrics-common</artifactId>
<version>${metrics_version}</version>
</dependency>

<dependency>
<groupId>com.alibaba.middleware</groupId>
<artifactId>metrics-rest</artifactId>
<version>${metrics_version}</version>
</dependency>

<!-- Test lib -->
<dependency>
<groupId>org.apache.curator</groupId>
Expand Down
28 changes: 0 additions & 28 deletions dubbo-metrics/dubbo-metrics-api/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading