The Logic Endpoint
In default, all the RPC server-side names as entry spans, such as RESTFul API path and gRPC service name, would be endpoints with metrics. At the same time, SkyWalking introduces the logic endpoint concept, which allows plugins and users to add new endpoints without adding new spans. The following logic endpoints are added automatically by plugins.
- GraphQL Query and Mutation are logic endpoints by using the names of them.
- Spring’s ScheduledMethodRunnable jobs are logic endpoints. The name format is
SpringScheduled
/${className}
/${methodName}
. - Apache ShardingSphere ElasticJob’s jobs are logic endpoints. The name format is
ElasticJob
/${jobName}
. - XXLJob’s jobs are logic endpoints. The name formats include
xxl-job
/MethodJob
/${className}
.${methodName}
,xxl-job
/ScriptJob
/${GlueType}
/id
/${jobId}
, andxxl-job
/SimpleJob
/${className}
. - Quartz(optional plugin)’s jobs are logic endpoints. the name format is
quartz-scheduler
/${className}
.
User could use the SkyWalking’s application toolkits to add the tag into the local span to label the span as a logic endpoint in the analysis stage.
The tag is, key=x-le
and value = {"logic-span":true}
.