mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-28 16:02:03 +08:00

### Summary - Added the trace search endpoint back - Enabled the `smart` algorithm for all users - Added `"algo":"smart"` for telemetry events in the old endpoint
18 lines
760 B
Go
18 lines
760 B
Go
package smart
|
|
|
|
type SpanForTraceDetails struct {
|
|
TimeUnixNano uint64 `json:"timestamp"`
|
|
SpanID string `json:"spanID"`
|
|
TraceID string `json:"traceID"`
|
|
ParentID string `json:"parentID"`
|
|
ParentSpan *SpanForTraceDetails `json:"parentSpan"`
|
|
ServiceName string `json:"serviceName"`
|
|
Name string `json:"name"`
|
|
Kind int32 `json:"kind"`
|
|
DurationNano int64 `json:"durationNano"`
|
|
TagMap map[string]string `json:"tagMap"`
|
|
Events []string `json:"event"`
|
|
HasError bool `json:"hasError"`
|
|
Children []*SpanForTraceDetails `json:"children"`
|
|
}
|