|
8 | 8 | { key = "src"; value = Some(String_value("application")); }; |
9 | 9 | { key = "my_reporter_attr"; value = Some(String_value("foo")); } |
10 | 10 | ]; |
11 | | - dropped_attributes_count = 0;(* absent *) |
| 11 | + dropped_attributes_count = 0 (* absent *); |
12 | 12 | entity_refs = []; |
13 | 13 | }); |
14 | 14 | scope_logs = |
|
17 | 17 | { name = "ocaml-otel"; |
18 | 18 | version = "%%VERSION_NUM%%"; |
19 | 19 | attributes = []; |
20 | | - dropped_attributes_count = 0;(* absent *) |
| 20 | + dropped_attributes_count = 0 (* absent *); |
21 | 21 | }); |
22 | 22 | log_records = |
23 | 23 | [{ time_unix_nano = 0; |
|
26 | 26 | severity_text = "debug"; |
27 | 27 | body = Some(String_value("emit_logs: starting")); |
28 | 28 | attributes = []; |
29 | | - dropped_attributes_count = 0;(* absent *) |
30 | | - flags = 0;(* absent *) |
31 | | - trace_id = <bytes len=0>;(* absent *) |
32 | | - span_id = <bytes len=0>;(* absent *) |
33 | | - event_name = "";(* absent *) |
| 29 | + dropped_attributes_count = 0 (* absent *); |
| 30 | + flags = 0 (* absent *); |
| 31 | + trace_id = <bytes len=0> (* absent *); |
| 32 | + span_id = <bytes len=0> (* absent *); |
| 33 | + event_name = "" (* absent *); |
34 | 34 | } |
35 | 35 | ]; |
36 | | - schema_url = "";(* absent *) |
| 36 | + schema_url = "" (* absent *); |
37 | 37 | } |
38 | 38 | ]; |
39 | | - schema_url = "";(* absent *) |
| 39 | + schema_url = "" (* absent *); |
40 | 40 | } |
41 | 41 | { resource = |
42 | 42 | Some( |
|
48 | 48 | { key = "src"; value = Some(String_value("application")); }; |
49 | 49 | { key = "my_reporter_attr"; value = Some(String_value("foo")); } |
50 | 50 | ]; |
51 | | - dropped_attributes_count = 0;(* absent *) |
| 51 | + dropped_attributes_count = 0 (* absent *); |
52 | 52 | entity_refs = []; |
53 | 53 | }); |
54 | 54 | scope_logs = |
|
57 | 57 | { name = "ocaml-otel"; |
58 | 58 | version = "%%VERSION_NUM%%"; |
59 | 59 | attributes = []; |
60 | | - dropped_attributes_count = 0;(* absent *) |
| 60 | + dropped_attributes_count = 0 (* absent *); |
61 | 61 | }); |
62 | 62 | log_records = |
63 | 63 | [{ time_unix_nano = 0; |
|
66 | 66 | severity_text = "info"; |
67 | 67 | body = Some(String_value("emit_logs: info log")); |
68 | 68 | attributes = []; |
69 | | - dropped_attributes_count = 0;(* absent *) |
70 | | - flags = 0;(* absent *) |
71 | | - trace_id = <bytes len=0>;(* absent *) |
72 | | - span_id = <bytes len=0>;(* absent *) |
73 | | - event_name = "";(* absent *) |
| 69 | + dropped_attributes_count = 0 (* absent *); |
| 70 | + flags = 0 (* absent *); |
| 71 | + trace_id = <bytes len=0> (* absent *); |
| 72 | + span_id = <bytes len=0> (* absent *); |
| 73 | + event_name = "" (* absent *); |
74 | 74 | } |
75 | 75 | ]; |
76 | | - schema_url = "";(* absent *) |
| 76 | + schema_url = "" (* absent *); |
77 | 77 | } |
78 | 78 | ]; |
79 | | - schema_url = "";(* absent *) |
| 79 | + schema_url = "" (* absent *); |
80 | 80 | } |
81 | 81 | { resource = |
82 | 82 | Some( |
|
90 | 90 | { key = "src"; value = Some(String_value("application")); }; |
91 | 91 | { key = "my_reporter_attr"; value = Some(String_value("foo")); } |
92 | 92 | ]; |
93 | | - dropped_attributes_count = 0;(* absent *) |
| 93 | + dropped_attributes_count = 0 (* absent *); |
94 | 94 | entity_refs = []; |
95 | 95 | }); |
96 | 96 | scope_logs = |
|
99 | 99 | { name = "ocaml-otel"; |
100 | 100 | version = "%%VERSION_NUM%%"; |
101 | 101 | attributes = []; |
102 | | - dropped_attributes_count = 0;(* absent *) |
| 102 | + dropped_attributes_count = 0 (* absent *); |
103 | 103 | }); |
104 | 104 | log_records = |
105 | 105 | [{ time_unix_nano = 0; |
|
108 | 108 | severity_text = "warning"; |
109 | 109 | body = Some(String_value("emit_logs: warn log")); |
110 | 110 | attributes = []; |
111 | | - dropped_attributes_count = 0;(* absent *) |
112 | | - flags = 0;(* absent *) |
113 | | - trace_id = <bytes len=0>;(* absent *) |
114 | | - span_id = <bytes len=0>;(* absent *) |
115 | | - event_name = "";(* absent *) |
| 111 | + dropped_attributes_count = 0 (* absent *); |
| 112 | + flags = 0 (* absent *); |
| 113 | + trace_id = <bytes len=0> (* absent *); |
| 114 | + span_id = <bytes len=0> (* absent *); |
| 115 | + event_name = "" (* absent *); |
116 | 116 | } |
117 | 117 | ]; |
118 | | - schema_url = "";(* absent *) |
| 118 | + schema_url = "" (* absent *); |
119 | 119 | } |
120 | 120 | ]; |
121 | | - schema_url = "";(* absent *) |
| 121 | + schema_url = "" (* absent *); |
122 | 122 | } |
123 | 123 | { resource = |
124 | 124 | Some( |
|
134 | 134 | value = Some(String_value("foo")); |
135 | 135 | } |
136 | 136 | ]; |
137 | | - dropped_attributes_count = 0;(* absent *) |
| 137 | + dropped_attributes_count = 0 (* absent *); |
138 | 138 | entity_refs = []; |
139 | 139 | }); |
140 | 140 | scope_logs = |
|
143 | 143 | { name = "ocaml-otel"; |
144 | 144 | version = "%%VERSION_NUM%%"; |
145 | 145 | attributes = []; |
146 | | - dropped_attributes_count = 0;(* absent *) |
| 146 | + dropped_attributes_count = 0 (* absent *); |
147 | 147 | }); |
148 | 148 | log_records = |
149 | 149 | [{ time_unix_nano = 0; |
|
152 | 152 | severity_text = "error"; |
153 | 153 | body = Some(String_value("emit_logs: error log")); |
154 | 154 | attributes = []; |
155 | | - dropped_attributes_count = 0;(* absent *) |
156 | | - flags = 0;(* absent *) |
157 | | - trace_id = <bytes len=0>;(* absent *) |
158 | | - span_id = <bytes len=0>;(* absent *) |
159 | | - event_name = "";(* absent *) |
| 155 | + dropped_attributes_count = 0 (* absent *); |
| 156 | + flags = 0 (* absent *); |
| 157 | + trace_id = <bytes len=0> (* absent *); |
| 158 | + span_id = <bytes len=0> (* absent *); |
| 159 | + event_name = "" (* absent *); |
160 | 160 | } |
161 | 161 | ]; |
162 | | - schema_url = "";(* absent *) |
| 162 | + schema_url = "" (* absent *); |
163 | 163 | } |
164 | 164 | ]; |
165 | | - schema_url = "";(* absent *) |
| 165 | + schema_url = "" (* absent *); |
166 | 166 | } |
167 | 167 | { resource = |
168 | 168 | Some( |
|
178 | 178 | value = Some(String_value("foo")); |
179 | 179 | } |
180 | 180 | ]; |
181 | | - dropped_attributes_count = 0;(* absent *) |
| 181 | + dropped_attributes_count = 0 (* absent *); |
182 | 182 | entity_refs = []; |
183 | 183 | }); |
184 | 184 | scope_logs = |
|
187 | 187 | { name = "ocaml-otel"; |
188 | 188 | version = "%%VERSION_NUM%%"; |
189 | 189 | attributes = []; |
190 | | - dropped_attributes_count = 0;(* absent *) |
| 190 | + dropped_attributes_count = 0 (* absent *); |
191 | 191 | }); |
192 | 192 | log_records = |
193 | 193 | [{ time_unix_nano = 0; |
|
196 | 196 | severity_text = "app"; |
197 | 197 | body = Some(String_value("emit_logs: app log")); |
198 | 198 | attributes = []; |
199 | | - dropped_attributes_count = 0;(* absent *) |
200 | | - flags = 0;(* absent *) |
201 | | - trace_id = <bytes len=0>;(* absent *) |
202 | | - span_id = <bytes len=0>;(* absent *) |
203 | | - event_name = "";(* absent *) |
| 199 | + dropped_attributes_count = 0 (* absent *); |
| 200 | + flags = 0 (* absent *); |
| 201 | + trace_id = <bytes len=0> (* absent *); |
| 202 | + span_id = <bytes len=0> (* absent *); |
| 203 | + event_name = "" (* absent *); |
204 | 204 | } |
205 | 205 | ]; |
206 | | - schema_url = "";(* absent *) |
| 206 | + schema_url = "" (* absent *); |
207 | 207 | } |
208 | 208 | ]; |
209 | | - schema_url = "";(* absent *) |
| 209 | + schema_url = "" (* absent *); |
210 | 210 | } |
211 | 211 | { resource = |
212 | 212 | Some( |
|
231 | 231 | value = Some(String_value("foo")); |
232 | 232 | } |
233 | 233 | ]; |
234 | | - dropped_attributes_count = 0;(* absent *) |
| 234 | + dropped_attributes_count = 0 (* absent *); |
235 | 235 | entity_refs = []; |
236 | 236 | }); |
237 | 237 | scope_logs = |
|
240 | 240 | { name = "ocaml-otel"; |
241 | 241 | version = "%%VERSION_NUM%%"; |
242 | 242 | attributes = []; |
243 | | - dropped_attributes_count = 0;(* absent *) |
| 243 | + dropped_attributes_count = 0 (* absent *); |
244 | 244 | }); |
245 | 245 | log_records = |
246 | 246 | [{ time_unix_nano = 0; |
|
252 | 252 | String_value( |
253 | 253 | "emit_logs: this log is emitted with varied tags from a span")); |
254 | 254 | attributes = []; |
255 | | - dropped_attributes_count = 0;(* absent *) |
256 | | - flags = 0;(* absent *) |
| 255 | + dropped_attributes_count = 0 (* absent *); |
| 256 | + flags = 0 (* absent *); |
257 | 257 | trace_id = <bytes len=16>; |
258 | 258 | span_id = <bytes len=8>; |
259 | | - event_name = "";(* absent *) |
| 259 | + event_name = "" (* absent *); |
260 | 260 | } |
261 | 261 | ]; |
262 | | - schema_url = "";(* absent *) |
| 262 | + schema_url = "" (* absent *); |
263 | 263 | } |
264 | 264 | ]; |
265 | | - schema_url = "";(* absent *) |
| 265 | + schema_url = "" (* absent *); |
266 | 266 | } |
267 | 267 | { resource = |
268 | 268 | Some( |
|
287 | 287 | value = Some(String_value("foo")); |
288 | 288 | } |
289 | 289 | ]; |
290 | | - dropped_attributes_count = 0;(* absent *) |
| 290 | + dropped_attributes_count = 0 (* absent *); |
291 | 291 | entity_refs = []; |
292 | 292 | }); |
293 | 293 | scope_logs = |
|
296 | 296 | { name = "ocaml-otel"; |
297 | 297 | version = "%%VERSION_NUM%%"; |
298 | 298 | attributes = []; |
299 | | - dropped_attributes_count = 0;(* absent *) |
| 299 | + dropped_attributes_count = 0 (* absent *); |
300 | 300 | }); |
301 | 301 | log_records = |
302 | 302 | [{ time_unix_nano = 0; |
|
308 | 308 | String_value( |
309 | 309 | "emit_logs: this log will be emitted with varied tags")); |
310 | 310 | attributes = []; |
311 | | - dropped_attributes_count = 0;(* absent *) |
312 | | - flags = 0;(* absent *) |
313 | | - trace_id = <bytes len=0>;(* absent *) |
314 | | - span_id = <bytes len=0>;(* absent *) |
315 | | - event_name = "";(* absent *) |
| 311 | + dropped_attributes_count = 0 (* absent *); |
| 312 | + flags = 0 (* absent *); |
| 313 | + trace_id = <bytes len=0> (* absent *); |
| 314 | + span_id = <bytes len=0> (* absent *); |
| 315 | + event_name = "" (* absent *); |
316 | 316 | } |
317 | 317 | ]; |
318 | | - schema_url = "";(* absent *) |
| 318 | + schema_url = "" (* absent *); |
319 | 319 | } |
320 | 320 | ]; |
321 | | - schema_url = "";(* absent *) |
| 321 | + schema_url = "" (* absent *); |
322 | 322 | } |
323 | 323 | { resource = |
324 | 324 | Some( |
|
336 | 336 | value = Some(String_value("bar")); |
337 | 337 | } |
338 | 338 | ]; |
339 | | - dropped_attributes_count = 0;(* absent *) |
| 339 | + dropped_attributes_count = 0 (* absent *); |
340 | 340 | entity_refs = []; |
341 | 341 | }); |
342 | 342 | scope_logs = |
|
345 | 345 | { name = "ocaml-otel"; |
346 | 346 | version = "%%VERSION_NUM%%"; |
347 | 347 | attributes = []; |
348 | | - dropped_attributes_count = 0;(* absent *) |
| 348 | + dropped_attributes_count = 0 (* absent *); |
349 | 349 | }); |
350 | 350 | log_records = |
351 | 351 | [{ time_unix_nano = 0; |
|
357 | 357 | String_value( |
358 | 358 | "emit_logs: this log will be emitted from otel and fmt reporter")); |
359 | 359 | attributes = []; |
360 | | - dropped_attributes_count = 0;(* absent *) |
361 | | - flags = 0;(* absent *) |
362 | | - trace_id = <bytes len=0>;(* absent *) |
363 | | - span_id = <bytes len=0>;(* absent *) |
364 | | - event_name = "";(* absent *) |
| 360 | + dropped_attributes_count = 0 (* absent *); |
| 361 | + flags = 0 (* absent *); |
| 362 | + trace_id = <bytes len=0> (* absent *); |
| 363 | + span_id = <bytes len=0> (* absent *); |
| 364 | + event_name = "" (* absent *); |
365 | 365 | } |
366 | 366 | ]; |
367 | | - schema_url = "";(* absent *) |
| 367 | + schema_url = "" (* absent *); |
368 | 368 | } |
369 | 369 | ]; |
370 | | - schema_url = "";(* absent *) |
| 370 | + schema_url = "" (* absent *); |
371 | 371 | } |
0 commit comments