You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2021/11/01 02:48:24 UTC

[dubbo-go-samples] branch master updated: Update dubbo-go version and metrics samples (#287)

This is an automated email from the ASF dual-hosted git repository.

laurence pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a52be7  Update dubbo-go version and metrics samples (#287)
8a52be7 is described below

commit 8a52be74fd0d7a1bac291ccec0920223fa296e64
Author: Laurence <45...@users.noreply.github.com>
AuthorDate: Mon Nov 1 10:46:46 2021 +0800

    Update dubbo-go version and metrics samples (#287)
    
    * fix: update triple pb generator
    
    * liscence
    
    * fix: grpc samples
    
    * fix: update metrics samples
    
    * fix: update dubbogo version
    
    * fix: update go sum
---
 go.mod                             | 4 ++--
 go.sum                             | 8 ++++----
 metrics/go-client/conf/dubbogo.yml | 1 +
 metrics/go-server/conf/dubbogo.yml | 3 +++
 4 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/go.mod b/go.mod
index 669542b..0e5510a 100644
--- a/go.mod
+++ b/go.mod
@@ -1,11 +1,11 @@
 module github.com/apache/dubbo-go-samples
 
 require (
-	dubbo.apache.org/dubbo-go/v3 v3.0.0-rc2.0.20211029104429-bfc60c2496f9
+	dubbo.apache.org/dubbo-go/v3 v3.0.0-rc3
 	github.com/apache/dubbo-go-hessian2 v1.9.4-0.20210917102639-74a8ece5f3cb
 	github.com/dubbogo/gost v1.11.19
 	github.com/dubbogo/net v0.0.4
-	github.com/dubbogo/triple v1.0.9-0.20211029101533-26805fcfcf62
+	github.com/dubbogo/triple v1.0.9
 	github.com/golang/protobuf v1.5.2
 	github.com/opentracing/opentracing-go v1.2.0
 	github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5
diff --git a/go.sum b/go.sum
index fbdefbd..d851433 100644
--- a/go.sum
+++ b/go.sum
@@ -35,8 +35,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9
 contrib.go.opencensus.io/exporter/prometheus v0.4.0 h1:0QfIkj9z/iVZgK31D9H9ohjjIDApI2GOPScCKwxedbs=
 contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0=
 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-dubbo.apache.org/dubbo-go/v3 v3.0.0-rc2.0.20211029104429-bfc60c2496f9 h1:htha09ArXMUo7yo/Qgg8POcfRV7g9InaQHWfq7x47RY=
-dubbo.apache.org/dubbo-go/v3 v3.0.0-rc2.0.20211029104429-bfc60c2496f9/go.mod h1:oXQ3d7O7JrossmlB0IwAazOTPltuaVPyb0p1tCIcIPU=
+dubbo.apache.org/dubbo-go/v3 v3.0.0-rc3 h1:zVXnIyGJ8BnM8RuuZnKBSwm8adUMQuCnCBevPZuXz1w=
+dubbo.apache.org/dubbo-go/v3 v3.0.0-rc3/go.mod h1:gv0CLkauS1ODfNjKVH3eGTEPsRqwYgj8MS3mDnQP/JY=
 github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
 github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI=
 github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0=
@@ -199,8 +199,8 @@ github.com/dubbogo/gost v1.11.19/go.mod h1:vIcP9rqz2KsXHPjsAwIUtfJIJjppQLQDcYaZT
 github.com/dubbogo/jsonparser v1.0.1/go.mod h1:tYAtpctvSP/tWw4MeelsowSPgXQRVHHWbqL6ynps8jU=
 github.com/dubbogo/net v0.0.4 h1:Rn9aMPZwOiRE22YhtxmDEE3H0Q3cfVRNhuEjNMelJ/8=
 github.com/dubbogo/net v0.0.4/go.mod h1:1CGOnM7X3he+qgGNqjeADuE5vKZQx/eMSeUkpU3ujIc=
-github.com/dubbogo/triple v1.0.9-0.20211029101533-26805fcfcf62 h1:f06hq7IXtY6ViNznSuYCG1waws+1C3KOezPP+4C3+Jo=
-github.com/dubbogo/triple v1.0.9-0.20211029101533-26805fcfcf62/go.mod h1:1t9me4j4CTvNDcsMZy6/OGarbRyAUSY0tFXGXHCp7Iw=
+github.com/dubbogo/triple v1.0.9 h1:piScEoTxmowYYFtLqPuYa0SojdSqe/+WNeGbMNkIXn4=
+github.com/dubbogo/triple v1.0.9/go.mod h1:1t9me4j4CTvNDcsMZy6/OGarbRyAUSY0tFXGXHCp7Iw=
 github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
 github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
 github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
diff --git a/metrics/go-client/conf/dubbogo.yml b/metrics/go-client/conf/dubbogo.yml
index e5fbbaf..f79eb2e 100644
--- a/metrics/go-client/conf/dubbogo.yml
+++ b/metrics/go-client/conf/dubbogo.yml
@@ -9,5 +9,6 @@ dubbo:
       - demoZK
     references:
       GreeterClientImpl:
+        group: dubbo-go
         protocol: tri
         interface: com.apache.dubbo.HelloService # must be compatible with grpc or dubbo-java
diff --git a/metrics/go-server/conf/dubbogo.yml b/metrics/go-server/conf/dubbogo.yml
index ccd91c9..925dbf2 100644
--- a/metrics/go-server/conf/dubbogo.yml
+++ b/metrics/go-server/conf/dubbogo.yml
@@ -1,4 +1,6 @@
 dubbo:
+  application:
+    version: 3.0.0-rc3
   metrics:
     enable: true # default is true
     path: /custom-metrics-path # default is /metrics
@@ -15,5 +17,6 @@ dubbo:
     registry-ids: myzk
     services:
       GreeterProvider:
+        group: dubbo-go
         protocol-ids: triple
         interface: com.apache.dubbo.HelloService # must be compatible with grpc or dubbo-java