# 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: correlation-autotag-scenario
    segmentSize: 12
    segments:
      - segmentId: not null
        spans:
          - operationName: HEAD:/correlation-autotag-scenario/case/healthCheck
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: gt 0
            endTime: gt 0
            componentId: 1
            isError: false
            spanType: Entry
            peer: ''
            skipAnalysis: false
            tags:
              - {key: url, value: 'http://localhost:8080/correlation-autotag-scenario/case/healthCheck'}
              - {key: http.method, value: HEAD}
              - {key: http.status_code, value: '200'}
      - segmentId: 78a0cdef42a74b4ba80b48bf72b8558d.37.16042096947740000
        spans:
          - operationName: Greeter.sayHello
            parentSpanId: 0
            spanId: 1
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Exit
            peer: '127.0.0.1:18080'
            skipAnalysis: false
          - operationName: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: gt 0
            endTime: gt 0
            componentId: 1
            isError: false
            spanType: Entry
            peer: ''
            skipAnalysis: false
            tags:
              - {key: url, value: 'http://localhost:8080/correlation-autotag-scenario/case/correlation-autotag-scenario'}
              - {key: http.method, value: GET}
              - {key: autotag1, value: '1'}
              - {key: autotag2, value: '1'}
              - {key: http.status_code, value: '200'}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Entry
            peer: ''
            skipAnalysis: false
            tags:
              - {key: autotag1, value: '1'}
              - {key: autotag2, value: '1'}
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '127.0.0.1:18080', refType: CrossProcess, parentSpanId: 1,
                 parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/client/Request/onComplete
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '', refType: CrossThread, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/client/Request/onMessage
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '', refType: CrossThread, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/client/Request/onMessage
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '', refType: CrossThread, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/server/Response/onMessage
            parentSpanId: 0
            spanId: 1
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
          - operationName: Greeter.sayHello/server/Request/onMessage
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: Greeter.sayHello, networkAddress: '', refType: CrossThread,
                 parentSpanId: 0, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/server/Response/onMessage
            parentSpanId: 0
            spanId: 1
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
          - operationName: Greeter.sayHello/server/Request/onMessage
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: Greeter.sayHello, networkAddress: '', refType: CrossThread,
                 parentSpanId: 0, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/server/Response/onClose
            parentSpanId: 0
            spanId: 1
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            tags:
              - {key: rpc.status_code, value: OK}
          - operationName: Greeter.sayHello/server/Request/onHalfClose
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: Greeter.sayHello, networkAddress: '', refType: CrossThread,
                 parentSpanId: 0, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/client/Response/onMessage
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '', refType: CrossThread, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/client/Response/onClose
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '', refType: CrossThread, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
      - segmentId: not null
        spans:
          - operationName: Greeter.sayHello/client/Response/onMessage
            parentSpanId: -1
            spanId: 0
            spanLayer: RPCFramework
            startTime: gt 0
            endTime: gt 0
            componentId: 23
            isError: false
            spanType: Local
            peer: ''
            skipAnalysis: false
            refs:
              - {parentEndpoint: GET:/correlation-autotag-scenario/case/correlation-autotag-scenario,
                 networkAddress: '', refType: CrossThread, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstance: not null, parentService: correlation-autotag-scenario,
                 traceId: not null}
meterItems: []
