Skip to content

Commit 524082f

Browse files
committed
Align otel_logs_and_spans schema with monoscope
- severity: Utf8 → Variant (JSONB in monoscope) - body: Utf8 → Variant (JSONB in monoscope) - links: Variant → Utf8 (TEXT in monoscope) - errors: Utf8 → Variant (JSONB in monoscope) - attributes___http___request___body___size: Int32 → Int64 (BIGINT) - Add summary_pattern column (from migration 0015)
1 parent f141491 commit 524082f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

schemas/otel_logs_and_spans.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fields:
4040
data_type: Utf8
4141
nullable: true
4242
- name: severity
43-
data_type: Utf8
43+
data_type: Variant
4444
nullable: true
4545
- name: severity___severity_text
4646
data_type: Utf8
@@ -49,7 +49,7 @@ fields:
4949
data_type: Int32
5050
nullable: true
5151
- name: body
52-
data_type: Utf8
52+
data_type: Variant
5353
nullable: true
5454
- name: duration
5555
data_type: Int64
@@ -82,7 +82,7 @@ fields:
8282
data_type: Variant
8383
nullable: true
8484
- name: links
85-
data_type: Variant
85+
data_type: Utf8
8686
nullable: true
8787
- name: attributes
8888
data_type: Variant
@@ -187,7 +187,7 @@ fields:
187187
data_type: Int32
188188
nullable: true
189189
- name: attributes___http___request___body___size
190-
data_type: Int32
190+
data_type: Int64
191191
nullable: true
192192
- name: attributes___session___id
193193
data_type: Utf8
@@ -268,8 +268,11 @@ fields:
268268
data_type: "List(Utf8)"
269269
nullable: false
270270
- name: errors
271-
data_type: Utf8
271+
data_type: Variant
272272
nullable: true
273273
- name: log_pattern
274274
data_type: Utf8
275275
nullable: true
276+
- name: summary_pattern
277+
data_type: Utf8
278+
nullable: true

0 commit comments

Comments
 (0)