| # |
| # 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: 2 |
| segments: |
| - segmentId: not null |
| spans: |
| - operationName: redis/info |
| operationId: 0 |
| parentSpanId: -1 |
| spanId: 0 |
| spanLayer: Cache |
| startTime: gt 0 |
| endTime: gt 0 |
| componentId: 7 |
| spanType: Exit |
| peer: redis:6379 |
| skipAnalysis: false |
| tags: |
| - { key: coldStart, value: "true" } |
| - { key: db.type, value: Redis } |
| - { key: db.instance, value: "0" } |
| - segmentId: not null |
| spans: |
| - operationName: redis/set |
| operationId: 0 |
| parentSpanId: 0 |
| spanId: 1 |
| spanLayer: Cache |
| startTime: gt 0 |
| endTime: gt 0 |
| componentId: 7 |
| spanType: Exit |
| peer: redis:6379 |
| skipAnalysis: false |
| tags: |
| - { key: db.type, value: Redis } |
| - { key: db.instance, value: "0" } |
| - operationName: redis/get |
| operationId: 0 |
| parentSpanId: 0 |
| spanId: 2 |
| spanLayer: Cache |
| startTime: gt 0 |
| endTime: gt 0 |
| componentId: 7 |
| spanType: Exit |
| peer: redis:6379 |
| skipAnalysis: false |
| tags: |
| - { key: db.type, value: Redis } |
| - { key: db.instance, value: "0" } |
| - operationName: GET:/ioredis |
| 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: http.url, value: "http://server:5000/ioredis" } |
| - { 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:/ioredis |
| 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/ioredis" } |
| - { key: http.method, value: GET } |
| - { key: http.status_code, value: "200" } |
| - { key: http.status.msg, value: OK } |
| - operationName: /ioredis |
| 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/ioredis" } |
| - { key: http.method, value: GET } |
| - { key: http.status_code, value: "200" } |
| - { key: http.status.msg, value: OK } |