@@ -11,6 +11,7 @@ type OurLogCustomFieldKey = string; // We could brand this for nominal types.
11
11
12
12
// This enum is used to represent known fields or attributes in the logs response.
13
13
// Should always map to the public alias from the backend (.../search/eap/ourlogs/attributes.py)
14
+ // This is not an exhaustive list, it's only the fields which have special handling in the frontend
14
15
export enum OurLogKnownFieldKey {
15
16
TRACE_ID = 'trace' ,
16
17
MESSAGE = 'message' ,
@@ -25,13 +26,14 @@ export enum OurLogKnownFieldKey {
25
26
CODE_LINE_NUMBER = 'tags[code.line.number,number]' ,
26
27
CODE_FUNCTION_NAME = 'code.function.name' ,
27
28
29
+ RELEASE = 'release' ,
30
+ TEMPLATE = 'message.template' ,
31
+ PARENT_SPAN_ID = 'trace.parent_span_id' ,
32
+ SDK_NAME = 'sdk.name' ,
33
+ SDK_VERSION = 'sdk.version' ,
34
+
28
35
// From the EAP dataset directly not using a column alias.
29
36
ID = 'sentry.item_id' ,
30
- RELEASE = 'sentry.release' ,
31
- TEMPLATE = 'sentry.message.template' ,
32
- PARENT_SPAN_ID = 'sentry.trace.parent_span_id' ,
33
- SDK_NAME = 'sentry.sdk.name' ,
34
- SDK_VERSION = 'sentry.sdk.version' ,
35
37
36
38
// From the EAP dataset directly not using a column alias, should be hidden.
37
39
ITEM_TYPE = 'sentry.item_type' ,
0 commit comments