Skip to content

Commit

Permalink
Deprecate scope from entity (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
wankai123 authored Feb 21, 2023
1 parent a795269 commit 450328c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions metrics-v2.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ enum MetricsType {
}

input Entity {
# 1. scope=All, no name is required.
# 2. scope=Service, ServiceInstance and Endpoint, set necessary serviceName/serviceInstanceName/endpointName
# 3. Scope=ServiceRelation, ServiceInstanceRelation, EndpointRelation and ProcessRelation
# Deprecated from 9.4.0
# Scope could be sensed automatically through given metric name.
scope: Scope
# 1. metrics Scope=Service, ServiceInstance and Endpoint, set necessary serviceName/serviceInstanceName/endpointName
# 2. metrics Scope=ServiceRelation, ServiceInstanceRelation, EndpointRelation and ProcessRelation
# serviceName/serviceInstanceName/endpointName/processName is/are the source(s)
# destServiceName/destServiceInstanceName/destEndpointName/destProcessName is/are destination(s)
# set necessary names of sources and destinations.
scope: Scope!
serviceName: String
# Normal service is the service having installed agent or metrics reported directly.
# Unnormal service is conjectural service, usually detected by the agent.
Expand Down

0 comments on commit 450328c

Please sign in to comment.