mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 04:09:02 +08:00
severity_number type changed to int8
This commit is contained in:
parent
594bfc256c
commit
9dcf913a74
@ -104,6 +104,7 @@ const (
|
|||||||
UINT32 = "UInt32"
|
UINT32 = "UInt32"
|
||||||
LOWCARDINALITY_STRING = "LowCardinality(String)"
|
LOWCARDINALITY_STRING = "LowCardinality(String)"
|
||||||
INT32 = "Int32"
|
INT32 = "Int32"
|
||||||
|
UINT8 = "Uint8"
|
||||||
)
|
)
|
||||||
|
|
||||||
var StaticInterestingLogFields = []model.LogField{
|
var StaticInterestingLogFields = []model.LogField{
|
||||||
@ -129,7 +130,7 @@ var StaticInterestingLogFields = []model.LogField{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "severity_number",
|
Name: "severity_number",
|
||||||
DataType: INT32,
|
DataType: UINT8,
|
||||||
Type: Static,
|
Type: Static,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -427,7 +427,7 @@ type GetLogsResponse struct {
|
|||||||
SpanID string `json:"spanId" ch:"span_id"`
|
SpanID string `json:"spanId" ch:"span_id"`
|
||||||
TraceFlags uint32 `json:"traceFlags" ch:"trace_flags"`
|
TraceFlags uint32 `json:"traceFlags" ch:"trace_flags"`
|
||||||
SeverityText string `json:"severityText" ch:"severity_text"`
|
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"`
|
Body string `json:"body" ch:"body"`
|
||||||
Resources_string map[string]string `json:"resourcesString" ch:"resources_string"`
|
Resources_string map[string]string `json:"resourcesString" ch:"resources_string"`
|
||||||
Attributes_string map[string]string `json:"attributesString" ch:"attributes_string"`
|
Attributes_string map[string]string `json:"attributesString" ch:"attributes_string"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user