You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by qi...@apache.org on 2021/12/24 01:25:21 UTC

[skywalking-query-protocol] branch master updated: Add a short name field for service. (#67)

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

qiuxiafan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new aa4e504  Add a short name field for service. (#67)
aa4e504 is described below

commit aa4e5044f2e7af5b52d0b3e15fc5135a8cd23b5a
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Dec 24 09:25:18 2021 +0800

    Add a short name field for service. (#67)
---
 metadata-v2.graphqls | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/metadata-v2.graphqls b/metadata-v2.graphqls
index a1d19d4..2bf55b4 100644
--- a/metadata-v2.graphqls
+++ b/metadata-v2.graphqls
@@ -30,9 +30,13 @@ type Service {
     # Service ID = BASE64(name) + '.' + Layer ID
     # -------------------
     id: ID!
+    # The unqiue name gloablly. 
+    # Typically, name could be formated as `group::name` which would be recognized as a group and a short name.
     name: String!
-    # The custom/logi group of the service
+    # The custom/logic group of the service
     group: String!
+    # The unique name in the group. Mostly for visualization.
+    shortName: String!
     # Layer represents an abstract framework in the computer science, such as operation system(VM layer), Kubernetes(k8s layer),
     # Service Mesh(typical Istio+Envoy layer).
     # The name of layer is a string, but we would reserve the following for visualization(UI)