You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wa...@apache.org on 2024/11/01 02:09:36 UTC

(skywalking-query-protocol) branch MQEValue-Owner created (now 1e061a9)

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

wankai pushed a change to branch MQEValue-Owner
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git


      at 1e061a9  Add owner for MQE values

This branch includes the following new commits:

     new 1e061a9  Add owner for MQE values

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(skywalking-query-protocol) 01/01: Add owner for MQE values

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 1e061a960174a9fd693731303f6b4670ae337ac1
Author: wankai123 <wa...@foxmail.com>
AuthorDate: Fri Nov 1 10:09:23 2024 +0800

    Add owner for MQE values
---
 metrics-v3.graphqls | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/metrics-v3.graphqls b/metrics-v3.graphqls
index c4fd56a..3daa5bb 100644
--- a/metrics-v3.graphqls
+++ b/metrics-v3.graphqls
@@ -57,9 +57,26 @@ enum ExpressionResultType {
     RECORD_LIST
 }
 
+type Owner {
+    # Scope=Service, return serviceID, serviceName
+    # Scope=ServiceInstance, return serviceID, serviceName, serviceInstanceID, serviceInstanceName
+    # Scope=Endpoint, return serviceID, serviceName, endpointID, endpointName
+    scope: Scope
+    serviceID: ID
+    serviceName: String
+    # Normal service is the service having installed agent or metrics reported directly.
+    # Unnormal service is conjectural service, usually detected by the agent.
+    normal: Boolean
+    serviceInstanceID: ID
+    serviceInstanceName: String
+    endpointID: ID
+    endpointName: String
+}
+
 type MQEValue {
     # Timestamp or name of the entity or record. It could be NULL if it is the result of an aggregate calculation.
     id: ID
+    owner: Owner
     # Value is formatted double/int or NULL if the value is absent.
     value: String
     # Sampled record could associate with a trace.