otlp-embedded 0.0.2

In-memory OpenTelemetry trace collector and Web UI visualizer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
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
259
260
261
262
263
264
265
266
267
268
269
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
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
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
{
    "data": [
        {
            "processes": {
                "Bugens-MacBook-Pro.local-83588": {
                    "key": "Bugens-MacBook-Pro.local-83588",
                    "serviceName": "meta-Bugens-MacBook-Pro.local-83588",
                    "tags": [
                        {
                            "key": "service.instance.id",
                            "type": "string",
                            "value": "Bugens-MacBook-Pro.local-83588"
                        },
                        {
                            "key": "service.version",
                            "type": "string",
                            "value": "1.5.0-alpha"
                        },
                        {
                            "key": "process.pid",
                            "type": "string",
                            "value": "83588"
                        },
                        {
                            "key": "service.name",
                            "type": "string",
                            "value": "meta-Bugens-MacBook-Pro.local-83588"
                        }
                    ]
                },
                "Bugens-MacBook-Pro.local-83918": {
                    "key": "Bugens-MacBook-Pro.local-83918",
                    "serviceName": "compute-Bugens-MacBook-Pro.local-83918",
                    "tags": [
                        {
                            "key": "service.version",
                            "type": "string",
                            "value": "1.5.0-alpha"
                        },
                        {
                            "key": "service.name",
                            "type": "string",
                            "value": "compute-Bugens-MacBook-Pro.local-83918"
                        },
                        {
                            "key": "process.pid",
                            "type": "string",
                            "value": "83918"
                        },
                        {
                            "key": "service.instance.id",
                            "type": "string",
                            "value": "Bugens-MacBook-Pro.local-83918"
                        }
                    ]
                },
                "Bugens-MacBook-Pro.local-83931": {
                    "key": "Bugens-MacBook-Pro.local-83931",
                    "serviceName": "frontend-Bugens-MacBook-Pro.local-83931",
                    "tags": [
                        {
                            "key": "service.version",
                            "type": "string",
                            "value": "1.5.0-alpha"
                        },
                        {
                            "key": "service.name",
                            "type": "string",
                            "value": "frontend-Bugens-MacBook-Pro.local-83931"
                        },
                        {
                            "key": "service.instance.id",
                            "type": "string",
                            "value": "Bugens-MacBook-Pro.local-83931"
                        },
                        {
                            "key": "process.pid",
                            "type": "string",
                            "value": "83931"
                        }
                    ]
                }
            },
            "spans": [
                {
                    "duration": 917,
                    "logs": [],
                    "operationName": "/stream_service.StreamService/InjectBarrier",
                    "processID": "Bugens-MacBook-Pro.local-83918",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "spanID": "41ac30ae5c217f44",
                            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
                        }
                    ],
                    "spanID": "18d8d1d1acb5d59e",
                    "startTime": 1703158086360115,
                    "tags": [
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 9
                        },
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 76
                        },
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/common/common_service/src/tracing.rs"
                        },
                        {
                            "key": "uri",
                            "type": "string",
                            "value": "http://127.0.0.1:5688/stream_service.StreamService/InjectBarrier"
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 124125
                        },
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "risingwave_common_service::tracing"
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 770834
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                },
                {
                    "duration": 505,
                    "logs": [
                        {
                            "fields": [
                                {
                                    "key": "level",
                                    "type": "string",
                                    "value": "DEBUG"
                                },
                                {
                                    "key": "target",
                                    "type": "string",
                                    "value": "risingwave_stream::task::stream_manager"
                                },
                                {
                                    "key": "actors",
                                    "type": "string",
                                    "value": "[9, 10, 11, 12, 13, 14, 15, 16]"
                                },
                                {
                                    "key": "code.filepath",
                                    "type": "string",
                                    "value": "src/stream/src/task/stream_manager.rs"
                                },
                                {
                                    "key": "code.namespace",
                                    "type": "string",
                                    "value": "risingwave_stream::task::stream_manager"
                                },
                                {
                                    "key": "code.lineno",
                                    "type": "int64",
                                    "value": 340
                                },
                                {
                                    "key": "message",
                                    "type": "string",
                                    "value": "drop actors"
                                }
                            ],
                            "timestamp": 1703158086367634
                        }
                    ],
                    "operationName": "/stream_service.StreamService/DropActors",
                    "processID": "Bugens-MacBook-Pro.local-83918",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "spanID": "41ac30ae5c217f44",
                            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
                        }
                    ],
                    "spanID": "133b06232a6ea6fe",
                    "startTime": 1703158086367240,
                    "tags": [
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "risingwave_common_service::tracing"
                        },
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "uri",
                            "type": "string",
                            "value": "http://127.0.0.1:5688/stream_service.StreamService/DropActors"
                        },
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 76
                        },
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 10
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 395958
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 94875
                        },
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/common/common_service/src/tracing.rs"
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                },
                {
                    "duration": 227,
                    "logs": [],
                    "operationName": "meta_store_commit",
                    "processID": "Bugens-MacBook-Pro.local-83588",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "spanID": "b4f82082dd0aa406",
                            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
                        }
                    ],
                    "spanID": "18f68579026d61de",
                    "startTime": 1703158086356250,
                    "tags": [
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 1585
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 164792
                        },
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 12
                        },
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 46875
                        },
                        {
                            "key": "manager",
                            "type": "string",
                            "value": "risingwave_meta::manager::catalog::CatalogManager"
                        },
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/meta/src/manager/catalog/mod.rs"
                        },
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "risingwave_meta::manager::catalog"
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                },
                {
                    "duration": 12479,
                    "logs": [],
                    "operationName": "barrier",
                    "processID": "Bugens-MacBook-Pro.local-83588",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "spanID": "b4f82082dd0aa406",
                            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
                        }
                    ],
                    "spanID": "41ac30ae5c217f44",
                    "startTime": 1703158086357177,
                    "tags": [
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "risingwave_meta::barrier::schedule"
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 8890918
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 3514207
                        },
                        {
                            "key": "checkpoint",
                            "type": "bool",
                            "value": true
                        },
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 12
                        },
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/meta/src/barrier/schedule.rs"
                        },
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 116
                        },
                        {
                            "key": "epoch",
                            "type": "string",
                            "value": "5631042280292352"
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                },
                {
                    "duration": 15515,
                    "logs": [],
                    "operationName": "/ddl_service.DdlService/DropTable",
                    "processID": "Bugens-MacBook-Pro.local-83588",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "spanID": "132162644d88a3fa",
                            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
                        }
                    ],
                    "spanID": "b4f82082dd0aa406",
                    "startTime": 1703158086354862,
                    "tags": [
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/common/common_service/src/tracing.rs"
                        },
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 12
                        },
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "uri",
                            "type": "string",
                            "value": "http://127.0.0.1:5690/ddl_service.DdlService/DropTable"
                        },
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "risingwave_common_service::tracing"
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 3004208
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 12482167
                        },
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 76
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                },
                {
                    "duration": 233,
                    "logs": [],
                    "operationName": "meta_store_commit",
                    "processID": "Bugens-MacBook-Pro.local-83588",
                    "references": [
                        {
                            "refType": "CHILD_OF",
                            "spanID": "41ac30ae5c217f44",
                            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
                        }
                    ],
                    "spanID": "3d2f4612fd3dd255",
                    "startTime": 1703158086368916,
                    "tags": [
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 161625
                        },
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 671
                        },
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "risingwave_meta::manager::catalog::fragment"
                        },
                        {
                            "key": "manager",
                            "type": "string",
                            "value": "risingwave_meta::manager::catalog::fragment::FragmentManager"
                        },
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/meta/src/manager/catalog/fragment.rs"
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 51250
                        },
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 6
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                },
                {
                    "duration": 19890,
                    "logs": [
                        {
                            "fields": [
                                {
                                    "key": "level",
                                    "type": "string",
                                    "value": "INFO"
                                },
                                {
                                    "key": "target",
                                    "type": "string",
                                    "value": "pgwire_query_log"
                                },
                                {
                                    "key": "status",
                                    "type": "string",
                                    "value": "ok"
                                },
                                {
                                    "key": "time",
                                    "type": "string",
                                    "value": "19ms"
                                },
                                {
                                    "key": "code.filepath",
                                    "type": "string",
                                    "value": "src/utils/pgwire/src/pg_protocol.rs"
                                },
                                {
                                    "key": "code.namespace",
                                    "type": "string",
                                    "value": "pgwire::pg_protocol"
                                },
                                {
                                    "key": "code.lineno",
                                    "type": "int64",
                                    "value": 304
                                },
                                {
                                    "key": "message",
                                    "type": "string",
                                    "value": ""
                                }
                            ],
                            "timestamp": 1703158086371459
                        }
                    ],
                    "operationName": "handle_query",
                    "processID": "Bugens-MacBook-Pro.local-83931",
                    "references": null,
                    "spanID": "132162644d88a3fa",
                    "startTime": 1703158086351605,
                    "tags": [
                        {
                            "key": "sql",
                            "type": "string",
                            "value": "drop table t;"
                        },
                        {
                            "key": "idle_ns",
                            "type": "int64",
                            "value": 18243791
                        },
                        {
                            "key": "code.filepath",
                            "type": "string",
                            "value": "src/utils/pgwire/src/pg_protocol.rs"
                        },
                        {
                            "key": "thread.id",
                            "type": "int64",
                            "value": 12
                        },
                        {
                            "key": "session_id",
                            "type": "int64",
                            "value": 0
                        },
                        {
                            "key": "code.namespace",
                            "type": "string",
                            "value": "pgwire::pg_protocol"
                        },
                        {
                            "key": "thread.name",
                            "type": "string",
                            "value": "rw-main"
                        },
                        {
                            "key": "code.lineno",
                            "type": "int64",
                            "value": 222
                        },
                        {
                            "key": "mode",
                            "type": "string",
                            "value": "simple query"
                        },
                        {
                            "key": "busy_ns",
                            "type": "int64",
                            "value": 1651876
                        }
                    ],
                    "traceID": "95f3e68af60a5ed3a587831795c1a69d",
                    "warnings": null
                }
            ],
            "traceID": "95f3e68af60a5ed3a587831795c1a69d"
        }
    ]
}