expectedData.yaml 13.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# 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.

registryItems:
D
Daming 已提交
18
  services:
19 20 21 22 23 24 25
    - {webflux-projectB-scenario: nq 0}
    - {webflux-projectA-scenario: nq 0}
  instances:
    - {webflux-projectB-scenario: 1}
    - {webflux-projectA-scenario: 1}
  heartbeat: []
segmentItems:
D
Daming 已提交
26
  - serviceName: webflux-projectB-scenario
27 28 29 30
    segmentSize: nq 0
    segments:
      - segmentId: not null
        spans:
31
          - operationName: /testcase/annotation/success
32 33 34 35 36 37 38 39 40 41 42 43 44
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: false
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
45 46 47
              - {key: url, value: 'http://localhost:18080/testcase/annotation/success'}
              - {key: http.method, value: GET}
              - {key: status_code, value: '200'}
48 49
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
50 51
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
52 53 54
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
55
          - operationName: /testcase/annotation/error
56 57 58 59 60 61 62 63 64 65 66 67 68
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: true
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
69 70
              - {key: url, value: 'http://localhost:18080/testcase/annotation/error'}
              - {key: http.method, value: GET}
71 72 73
              - {key: status_code, value: '500'}
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
74 75
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 2, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
76 77 78
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
79
          - operationName: /testcase/annotation/{test}
80 81 82 83 84 85 86 87 88 89 90 91 92
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: false
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
              - {key: url, value: 'http://localhost:18080/testcase/annotation/foo'}
              - {key: http.method, value: GET}
              - {key: status_code, value: '200'}
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 3, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
          - operationName: /testcase/annotation/{test}
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: false
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
              - {key: url, value: 'http://localhost:18080/testcase/annotation/loo'}
              - {key: http.method, value: GET}
              - {key: status_code, value: '200'}
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 4, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
          - operationName: /testcase/route/{test}
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: false
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
              - {key: url, value: 'http://localhost:18080/testcase/route/success'}
              - {key: http.method, value: GET}
              - {key: status_code, value: '200'}
144 145
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
146 147
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 5, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
148 149 150
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
151
          - operationName: /testcase/route/{test}
152 153 154 155 156 157 158 159 160 161 162 163 164
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: true
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
165 166
              - {key: url, value: 'http://localhost:18080/testcase/route/error'}
              - {key: http.method, value: GET}
167 168 169
              - {key: status_code, value: '500'}
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
170 171
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 6, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
172 173 174
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
175
          - operationName: /**
176 177 178 179 180 181 182 183 184 185 186 187 188
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: true
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
189 190
              - {key: url, value: 'http://localhost:18080/notFound'}
              - {key: http.method, value: GET}
191 192 193
              - {key: status_code, value: '404'}
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
194 195
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 7, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
196 197 198
                 entryServiceInstanceId: not null}
      - segmentId: not null
        spans:
199
          - operationName: /testcase/annotation/mono/hello
200 201 202 203 204 205 206 207 208 209 210 211 212
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 67
            componentName: ''
            isError: false
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
213 214 215
              - {key: url, value: 'http://localhost:18080/testcase/annotation/mono/hello'}
              - {key: http.method, value: GET}
              - {key: status_code, value: '200'}
216 217
            refs:
              - {parentEndpointId: 0, parentEndpoint: /projectA/testcase, networkAddressId: 0,
218 219
                 entryEndpointId: 0, refType: CrossProcess, parentSpanId: 8, parentTraceSegmentId: not null,
                 parentServiceInstanceId: not null, networkAddress: 'localhost:18080', entryEndpoint: /projectA/testcase,
220
                 entryServiceInstanceId: not null}
D
Daming 已提交
221
  - serviceName: webflux-projectA-scenario
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
    segmentSize: nq 0
    segments:
      - segmentId: not null
        spans:
          - operationName: /testcase/annotation/success
            operationId: 0
            parentSpanId: 0
            spanId: 1
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: false
            spanType: Exit
            peer: not null
            peerId: 0
            tags:
              - {key: url, value: not null}
              - {key: http.method, value: GET}
          - operationName: /testcase/annotation/error
            operationId: 0
            parentSpanId: 0
            spanId: 2
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: true
            spanType: Exit
            peer: not null
            peerId: 0
            tags:
              - {key: url, value: not null}
              - {key: http.method, value: GET}
              - {key: status_code, value: '500'}
259
          - operationName: /testcase/annotation/foo
260 261 262 263 264 265 266 267 268 269
            operationId: 0
            parentSpanId: 0
            spanId: 3
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: false
            spanType: Exit
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
            peer: localhost:18080
            peerId: 0
            tags:
              - {key: url, value: 'http://localhost:18080/testcase/annotation/foo'}
              - {key: http.method, value: GET}
          - operationName: /testcase/annotation/loo
            operationId: 0
            parentSpanId: 0
            spanId: 4
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: false
            spanType: Exit
            peer: localhost:18080
            peerId: 0
            tags:
              - {key: url, value: 'http://localhost:18080/testcase/annotation/loo'}
              - {key: http.method, value: GET}
          - operationName: /testcase/route/success
            operationId: 0
            parentSpanId: 0
            spanId: 5
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: false
            spanType: Exit
302 303 304 305 306 307 308 309
            peer: not null
            peerId: 0
            tags:
              - {key: url, value: not null}
              - {key: http.method, value: GET}
          - operationName: /testcase/route/error
            operationId: 0
            parentSpanId: 0
310
            spanId: 6
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: true
            spanType: Exit
            peer: not null
            peerId: 0
            tags:
              - {key: url, value: not null}
              - {key: http.method, value: GET}
              - {key: status_code, value: '500'}
          - operationName: /notFound
            operationId: 0
            parentSpanId: 0
327
            spanId: 7
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: true
            spanType: Exit
            peer: not null
            peerId: 0
            tags:
              - {key: url, value: not null}
              - {key: http.method, value: GET}
              - {key: status_code, value: '404'}
          - operationName: /testcase/annotation/mono/hello
            operationId: 0
            parentSpanId: 0
344
            spanId: 8
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 2
            componentName: ''
            isError: false
            spanType: Exit
            peer: not null
            peerId: 0
            tags:
              - {key: url, value: not null}
              - {key: http.method, value: GET}
          - operationName: /projectA/testcase
            operationId: 0
            parentSpanId: -1
            spanId: 0
            spanLayer: Http
            startTime: not null
            endTime: not null
            componentId: 1
            componentName: ''
            isError: false
            spanType: Entry
            peer: ''
            peerId: 0
            tags:
              - {key: url, value: not null}
372
              - {key: http.method, value: GET}