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

[skywalking-query-protocol] 01/01: Add a short name field for service.

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

wusheng pushed a commit to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git

commit 11e39f9a1736d7bb18bb79665f5f7d3838f1d62a
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Dec 24 09:20:19 2021 +0800

    Add a short name field for service.
---
 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)