# 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: cassandra-java-driver-3.x-scenario
  segmentSize: ge 1
  segments:
  - segmentId: not null
    spans:
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 1
      spanId: 2
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 1
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: 'CREATE KEYSPACE IF NOT EXISTS demo WITH replication
          = {''class'': ''SimpleStrategy'', ''replication_factor'': 1}'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 3
      spanId: 4
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 3
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: 'CREATE TABLE IF NOT EXISTS demo.test(id TEXT PRIMARY
          KEY, value TEXT)'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 5
      spanId: 6
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 5
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: demo}
      - {key: db.statement, value: 'INSERT INTO demo.test(id, value) VALUES(?,?)'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 7
      spanId: 8
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 7
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: demo}
      - {key: db.statement, value: 'SELECT * FROM demo.test WHERE id = ?'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 9
      spanId: 10
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 9
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: demo}
      - {key: db.statement, value: 'DELETE FROM demo.test WHERE id = ?'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 11
      spanId: 12
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 11
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: DROP TABLE IF EXISTS demo.test}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 13
      spanId: 14
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/execute
      parentSpanId: 0
      spanId: 13
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: DROP KEYSPACE IF EXISTS demo}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 15
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: 'CREATE KEYSPACE IF NOT EXISTS demo WITH replication
          = {''class'': ''SimpleStrategy'', ''replication_factor'': 1}'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 16
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 17
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: 'CREATE TABLE IF NOT EXISTS demo.test(id TEXT PRIMARY
          KEY, value TEXT)'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 18
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 19
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: demo}
      - {key: db.statement, value: 'INSERT INTO demo.test(id, value) VALUES(?,?)'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 20
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 21
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: demo}
      - {key: db.statement, value: 'SELECT * FROM demo.test WHERE id = ?'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 22
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 23
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: demo}
      - {key: db.statement, value: 'DELETE FROM demo.test WHERE id = ?'}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 24
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 25
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: DROP TABLE IF EXISTS demo.test}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 26
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: Cassandra/executeAsync
      parentSpanId: 0
      spanId: 27
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Exit
      peer: cassandra-server:9042
      tags:
      - {key: db.type, value: cassandra}
      - {key: db.instance, value: ''}
      - {key: db.statement, value: DROP KEYSPACE IF EXISTS demo}
      skipAnalysis: 'false'
    - operationName: Cassandra/getUninterruptibly
      parentSpanId: 0
      spanId: 28
      spanLayer: Database
      startTime: nq 0
      endTime: nq 0
      componentId: 69
      isError: false
      spanType: Local
      peer: ''
      tags:
      - {key: db.type, value: cassandra}
      skipAnalysis: 'false'
    - operationName: GET:/cassandra-java-driver-3.x-scenario/case/cassandra
      parentSpanId: -1
      spanId: 0
      spanLayer: Http
      startTime: nq 0
      endTime: nq 0
      componentId: 1
      isError: false
      spanType: Entry
      peer: ''
      tags:
      - {key: url, value: 'http://localhost:8080/cassandra-java-driver-3.x-scenario/case/cassandra'}
      - {key: http.method, value: GET}
      - {key: http.status_code, value: '200'}
      skipAnalysis: 'false'
