skywalking-java/test/plugin/scenarios/thrift-scenario/config/expectedData.yaml

96 lines
3.7 KiB
YAML

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
segmentItems:
- serviceName: thrift-server-scenario
segmentSize: 2
segments:
- segmentId: not null
spans:
- operationName: org.apache.skywalking.apm.testcase.thrift.protocol.GreeterService$AsyncProcessor$echo
operationId: 0
parentSpanId: -1
spanId: 0
spanLayer: RPCFramework
startTime: gt 0
endTime: gt 0
componentId: 100
isError: false
spanType: Entry
peer: ''
skipAnalysis: false
tags:
- {key: args, value: 'echo_args(message:null)'}
refs:
- {parentEndpoint: org.apache.skywalking.apm.testcase.thrift.protocol.GreeterService$AsyncClient$echo_call,
networkAddress: 'localhost:9091', refType: CrossProcess, parentSpanId: 0,
parentTraceSegmentId: not null,
parentServiceInstance: not null, parentService: thrift-client-scenario,
traceId: not null }
- segmentId: not null
spans:
- operationName: org.apache.skywalking.apm.testcase.thrift.protocol.GreeterService$Processor$echo
operationId: 0
parentSpanId: -1
spanId: 0
spanLayer: RPCFramework
startTime: gt 0
endTime: gt 0
componentId: 100
isError: false
spanType: Entry
peer: ''
skipAnalysis: false
tags:
- {key: args, value: 'echo_args(message:null)'}
refs:
- {parentEndpoint: org.apache.skywalking.apm.testcase.thrift.protocol.GreeterService$Client.echo,
networkAddress: 'localhost:9090', refType: CrossProcess, parentSpanId: 0,
parentTraceSegmentId: not null,
parentServiceInstance: not null, parentService: thrift-client-scenario,
traceId: not null }
- serviceName: thrift-client-scenario
segmentSize: ge 2
segments:
- segmentId: not null
spans:
- operationName: org.apache.skywalking.apm.testcase.thrift.protocol.GreeterService$Client.echo
operationId: 0
parentSpanId: -1
spanId: 0
spanLayer: RPCFramework
startTime: gt 0
endTime: gt 0
componentId: 101
isError: false
spanType: Exit
peer: localhost:9090
skipAnalysis: false
tags:
- {key: args, value: echo(message)}
- segmentId: not null
spans:
- operationName: org.apache.skywalking.apm.testcase.thrift.protocol.GreeterService$AsyncClient$echo_call
operationId: 0
parentSpanId: -1
spanId: 0
spanLayer: RPCFramework
startTime: gt 0
endTime: gt 0
componentId: 101
isError: false
spanType: Exit
peer: 'localhost:9091'
skipAnalysis: false