#
# 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: server
    segmentSize: 1
    segments:
      - segmentId: not null
        spans:
          - operationName: pg/query
            operationId: 0
            parentSpanId: 0
            spanId: 1
            spanLayer: Database
            startTime: gt 0
            endTime: gt 0
            componentId: 22
            spanType: Exit
            peer: postgres:5432
            skipAnalysis: false
            tags:
              - { key: db.type, value: PostgreSQL }
              - { key: db.instance, value: test }
              - { key: db.statement, value: SELECT * FROM "user" where name = 'u1' }
          - operationName: GET:/postgres
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: gt 0
            endTime: gt 0
            componentId: 49
            spanType: Entry
            peer: not null
            skipAnalysis: false
            tags:
              - { key: coldStart, value: 'true' }
              - { key: http.url, value: 'http://server:5000/postgres' }
              - { key: http.method, value: GET }
              - { key: http.status_code, value: '200' }
              - { key: http.status.msg, value: OK }
            refs:
              - parentEndpoint: ""
                networkAddress: server:5000
                refType: CrossProcess
                parentSpanId: 1
                parentTraceSegmentId: not null
                parentServiceInstance: not null
                parentService: client
                traceId: not null
  - serviceName: client
    segmentSize: 1
    segments:
      - segmentId: not null
        spans:
          - operationName: GET:/postgres
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: gt 0
            endTime: gt 0
            componentId: 49
            spanType: Entry
            peer: not null
            skipAnalysis: false
            tags:
              - { key: coldStart, value: 'true' }
              - { key: http.url, value: 'http://localhost:5001/postgres' }
              - { key: http.method, value: GET }
              - { key: http.status_code, value: '200' }
              - { key: http.status.msg, value: OK }
          - operationName: /postgres
            operationId: 0
            parentSpanId: 0
            spanId: 1
            spanLayer: Http
            startTime: gt 0
            endTime: gt 0
            componentId: 2
            spanType: Exit
            peer: server:5000
            skipAnalysis: false
            tags:
              - { key: http.url, value: 'http://server:5000/postgres' }
              - { key: http.method, value: GET }
              - { key: http.status_code, value: '200' }
              - { key: http.status.msg, value: OK }
