This is an automated email from the ASF dual-hosted git repository.
wusheng 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 d5a8b09 Support query endpoints in given duration (#140)
d5a8b09 is described below
commit d5a8b092d1ebbc5fe330c1c2a06fa688050a21c9
Author: mrproliu <[email protected]>
AuthorDate: Thu Oct 10 14:49:40 2024 +0800
Support query endpoints in given duration (#140)
---
metadata-v2.graphqls | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/metadata-v2.graphqls b/metadata-v2.graphqls
index adf3850..d22e734 100644
--- a/metadata-v2.graphqls
+++ b/metadata-v2.graphqls
@@ -129,7 +129,8 @@ extend type Query {
# Search and find matched endpoints according to given service and
keyword(optional)
# If no keyword, randomly choose endpoint based on `limit` value.
- findEndpoint(keyword: String, serviceId: ID!, limit: Int!): [Endpoint!]!
+ # If duration is nil mean get all endpoints, otherwise, get the endpoint
list in the given duration.
+ findEndpoint(keyword: String, serviceId: ID!, limit: Int!, duration:
Duration): [Endpoint!]!
getEndpointInfo(endpointId: ID!): EndpointInfo
# Read process list.