# Licensed to 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. Apache Software Foundation (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.

traces:
  - spans:
    - span: zipkin_trace_001_span_001
      spanId: span_001
      tags:
      - key: operation_name
        value:
          str:
            value: /api/users
      - key: query
        value:
          strArray:
            value:
            - user_id=123
            - limit=10
            - offset=0
      - key: trace_id
        value:
          str:
            value: zipkin_trace_001
      - key: span_id
        value:
          str:
            value: span_001
    - span: zipkin_trace_001_span_002
      spanId: span_002
      tags:
      - key: operation_name
        value:
          str:
            value: /db/query
      - key: query
        value:
          strArray:
            value:
            - SELECT * FROM users
            - WHERE id=123
      - key: trace_id
        value:
          str:
            value: zipkin_trace_001
      - key: span_id
        value:
          str:
            value: span_002
    traceId: zipkin_trace_001