severity_number type changed to int8

This commit is contained in:
nityanandagohain 2022-08-03 12:23:00 +05:30
parent 594bfc256c
commit 9dcf913a74
2 changed files with 3 additions and 2 deletions

View File

@ -104,6 +104,7 @@ const (
UINT32 = "UInt32"
LOWCARDINALITY_STRING = "LowCardinality(String)"
INT32 = "Int32"
UINT8 = "Uint8"
)
var StaticInterestingLogFields = []model.LogField{
@ -129,7 +130,7 @@ var StaticInterestingLogFields = []model.LogField{
},
{
Name: "severity_number",
DataType: INT32,
DataType: UINT8,
Type: Static,
},
}

View File

@ -427,7 +427,7 @@ type GetLogsResponse struct {
SpanID string `json:"spanId" ch:"span_id"`
TraceFlags uint32 `json:"traceFlags" ch:"trace_flags"`
SeverityText string `json:"severityText" ch:"severity_text"`
SeverityNumber int32 `json:"severityNumber" ch:"severity_number"`
SeverityNumber uint8 `json:"severityNumber" ch:"severity_number"`
Body string `json:"body" ch:"body"`
Resources_string map[string]string `json:"resourcesString" ch:"resources_string"`
Attributes_string map[string]string `json:"attributesString" ch:"attributes_string"`