Commit 2fae2f7
Console exporter for OTAP/OTLP logs (#1849)
Part of #1771.
Part of #1736.
Uses the new internal logging support to format OTLP logs data. This
prints RESOURCE and SCOPE lines with ASCII or Unicode pipe structures to
identify the OTLP hierarchy:
```
2026-01-21T03:12:22.165Z RESOURCE v1.Resource: [fake_data_generator=v1]
2026-01-21T03:12:22.165Z │ SCOPE v1.InstrumentationScope:
2026-01-21T03:12:22.165Z │ ├─ INFO session.start: [session.id=00112233-4455-6677-8899-aabbccddeeff, session.previous_id=00112233-4455-6677-8899-aabbccddeeff]
2026-01-21T03:12:22.165Z │ ├─ INFO session.end: [session.id=00112233-4455-6677-8899-aabbccddeeff]
2026-01-21T03:12:22.165Z │ ├─ INFO device.app.lifecycle: [ios.app.state=active, android.app.state=created]
2026-01-21T03:12:22.165Z │ ├─ INFO rpc.message: [rpc.message.type=SENT, rpc.message.id=42, rpc.message.compressed_size=42, rpc.message.uncompressed_size=42]
```
---------
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>1 parent 9ef8217 commit 2fae2f7
File tree
11 files changed
+798
-103
lines changed- rust/otap-dataflow
- configs
- crates
- otap/src
- fake_data_generator
- pdata/src
- otlp
- testing
- views/otlp/bytes
- telemetry/src
- self_tracing
11 files changed
+798
-103
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments