You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/05/07 03:07:23 UTC

[dubbo-go-samples] branch master updated: Fix: Applicaiton not match samples (#326)

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

alexstocks 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 9e087bc3 Fix: Applicaiton not match samples (#326)
9e087bc3 is described below

commit 9e087bc3a0260a61f93c27c323d0aeebe4970bec
Author: Laurence <45...@users.noreply.github.com>
AuthorDate: Sat May 7 11:07:18 2022 +0800

    Fix: Applicaiton not match samples (#326)
    
    * fix: metrics samples version not match
    
    * fix: applicaiton not match bugs
---
 registry/nacos/go-client/conf/dubbogo.yml    | 8 ++++++++
 registry/polaris/go-client/conf/dubbogo.yaml | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/registry/nacos/go-client/conf/dubbogo.yml b/registry/nacos/go-client/conf/dubbogo.yml
index 707f559d..b0a5d5a5 100644
--- a/registry/nacos/go-client/conf/dubbogo.yml
+++ b/registry/nacos/go-client/conf/dubbogo.yml
@@ -1,4 +1,12 @@
 dubbo:
+  application:
+    name: myApp # metadata: application=myApp; name=myApp
+    module: opensource #metadata: module=opensource
+    group: myAppGroup # no metadata record
+    organization: dubbo # metadata: organization=dubbo
+    owner: laurence # metadata: owner=laurence
+    version: myversion # metadata: app.version=myversion
+    environment: pro # metadata: environment=pro
   registries:
     nacosWithCustomGroup:
       protocol: nacos
diff --git a/registry/polaris/go-client/conf/dubbogo.yaml b/registry/polaris/go-client/conf/dubbogo.yaml
index d7fd85a6..53eb4143 100644
--- a/registry/polaris/go-client/conf/dubbogo.yaml
+++ b/registry/polaris/go-client/conf/dubbogo.yaml
@@ -1,4 +1,12 @@
 dubbo:
+  application:
+    name: myApp # metadata: application=myApp; name=myApp
+    module: opensource #metadata: module=opensource
+    group: myAppGroup # no metadata record
+    organization: dubbo # metadata: organization=dubbo
+    owner: laurence # metadata: owner=laurence
+    version: myversion # metadata: app.version=myversion
+    environment: pro # metadata: environment=pro
   registries:
     polarisMesh:
       protocol: polaris