@@ -60,7 +60,7 @@ With `verbosity: basic`, the exporter outputs a single-line summary of received
60
60
Here's an example output :
61
61
62
62
` ` ` console
63
- 2023-11-10T22:49:03.510-0600 info TracesExporter {"kind ": "exporter ", "data_type ": "traces ", "name ": "debug ", "resource spans": 1, "spans": 2}
63
+ 2025-04-17T10:40:44.559+0200 info Traces {"otelcol.component.id ": "debug/basic ", "otelcol.component.kind ": "Exporter ", "otelcol.signal ": "traces ", "resource spans": 1, "spans": 2}
64
64
` ` `
65
65
66
66
# ## Normal verbosity
@@ -72,10 +72,10 @@ For example, logs with multiline body will be output as multiple lines.
72
72
Here's an example output :
73
73
74
74
` ` ` console
75
- 2024-06-24T15:18:58.559 +0200 info TracesExporter {"kind ": "exporter ", "data_type ": "traces ", "name ": "debug ", "resource spans": 1, "spans": 2}
76
- 2024-06-24T15:18:58.559 +0200 info okey-dokey-0 4bdc558f0f0650e3ccaac8f3ae133954 8b69459f015c164b net.peer.ip =1.2.3.4 peer.service=telemetrygen-client
77
- lets-go 4bdc558f0f0650e3ccaac8f3ae133954 8820ee5366817639 net.peer.ip =1.2.3.4 peer.service=telemetrygen-server
78
- {"kind ": "exporter ", "data_type ": "traces ", "name ": "debug "}
75
+ 2025-04-17T10:40:44.560 +0200 info Traces {"otelcol.component.id ": "debug/normal ", "otelcol.component.kind ": "Exporter ", "otelcol.signal ": "traces ", "resource spans": 1, "spans": 2}
76
+ 2025-04-17T10:40:44.560 +0200 info okey-dokey-0 fafdac970271dd2ce89de2442c0518c7 3875f436d989d0e5 net.sock. peer.addr =1.2.3.4 peer.service=telemetrygen-client
77
+ lets-go fafdac970271dd2ce89de2442c0518c7 d98de4cb8e2a0ad6 net.sock. peer.addr =1.2.3.4 peer.service=telemetrygen-server
78
+ {"otelcol.component.id ": "debug/normal ", "otelcol.component.kind ": "Exporter ", "otelcol.signal ": "traces "}
79
79
` ` `
80
80
81
81
# ## Detailed verbosity
@@ -85,41 +85,41 @@ With `verbosity: detailed`, the exporter outputs all details of every telemetry
85
85
Here's an example output :
86
86
87
87
` ` ` console
88
- 2023-11-10T22:49:03.510-0600 info TracesExporter {"kind ": "exporter ", "data_type ": "traces ", "name ": "debug ", "resource spans": 1, "spans": 2}
89
- 2023-11-10T22:49:03.510-0600 info ResourceSpans #0
90
- Resource SchemaURL: https://opentelemetry.io/schemas/1.4 .0
88
+ 2025-04-17T10:40:44.560+0200 info Traces {"otelcol.component.id ": "debug/detailed ", "otelcol.component.kind ": "Exporter ", "otelcol.signal ": "traces ", "resource spans": 1, "spans": 2}
89
+ 2025-04-17T10:40:44.560+0200 info ResourceSpans #0
90
+ Resource SchemaURL: https://opentelemetry.io/schemas/1.25 .0
91
91
Resource attributes:
92
92
-> service.name: Str(telemetrygen)
93
93
ScopeSpans #0
94
- ScopeSpans SchemaURL:
95
- InstrumentationScope telemetrygen
94
+ ScopeSpans SchemaURL:
95
+ InstrumentationScope telemetrygen
96
96
Span #0
97
- Trace ID : 3bde5d3ee82303571bba6e1136781fe4
98
- Parent ID : 5e9dcf9bac4acc1f
99
- ID : 2cf3ef2899aba35c
100
- Name : okey-dokey
97
+ Trace ID : fafdac970271dd2ce89de2442c0518c7
98
+ Parent ID : d98de4cb8e2a0ad6
99
+ ID : 3875f436d989d0e5
100
+ Name : okey-dokey-0
101
101
Kind : Server
102
- Start time : 2023-11-11 04:49:03.509369393 +0000 UTC
103
- End time : 2023-11-11 04:49:03.50949377 +0000 UTC
102
+ Start time : 2025-04-17 08:40:44.555461596 +0000 UTC
103
+ End time : 2025-04-17 08:40:44.555584596 +0000 UTC
104
104
Status code : Unset
105
- Status message :
105
+ Status message :
106
106
Attributes:
107
- -> net.peer.ip : Str(1.2.3.4)
107
+ -> net.sock. peer.addr : Str(1.2.3.4)
108
108
-> peer.service: Str(telemetrygen-client)
109
109
Span #1
110
- Trace ID : 3bde5d3ee82303571bba6e1136781fe4
111
- Parent ID :
112
- ID : 5e9dcf9bac4acc1f
110
+ Trace ID : fafdac970271dd2ce89de2442c0518c7
111
+ Parent ID :
112
+ ID : d98de4cb8e2a0ad6
113
113
Name : lets-go
114
114
Kind : Client
115
- Start time : 2023-11-11 04:49:03.50935117 +0000 UTC
116
- End time : 2023-11-11 04:49:03.50949377 +0000 UTC
115
+ Start time : 2025-04-17 08:40:44.555461596 +0000 UTC
116
+ End time : 2025-04-17 08:40:44.555584596 +0000 UTC
117
117
Status code : Unset
118
- Status message :
118
+ Status message :
119
119
Attributes:
120
- -> net.peer.ip : Str(1.2.3.4)
120
+ -> net.sock. peer.addr : Str(1.2.3.4)
121
121
-> peer.service: Str(telemetrygen-server)
122
- {"kind ": "exporter ", "data_type ": "traces ", "name ": "debug "}
122
+ {"otelcol.component.id ": "debug/detailed ", "otelcol.component.kind ": "Exporter ", "otelcol.signal ": "traces "}
123
123
` ` `
124
124
125
125
# # Using the collector's internal logger
0 commit comments