Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathArrayElement ¶
type Predictions ¶
type Predictions struct {
TraceID string `ch:"trace_id"`
AnomalyDetected sql.NullBool `ch:"anomaly_detected"`
SpanName string `ch:"span_name"`
SpanID string `ch:"span_id"`
ExpectedSpanName string `ch:"expected_span_name"`
AnomalyPositionInTrace *int32 `ch:"span_position"`
}
func (Predictions) FitToSpans ¶
func (p Predictions) FitToSpans(spanList []dto.SpanListElementDTO)
type Span ¶
type Span struct {
TraceID string `ch:"trace_id"`
SpanID string `ch:"span_id"`
ParentSpanID string `ch:"parent_span_id"`
SpanName string `ch:"span_name"`
StartTime time.Time `ch:"start_time"`
EndTime time.Time `ch:"end_time"`
Attributes map[string]any
}
func (*Span) MakeDTO ¶
func (s *Span) MakeDTO() dto.SpanListElementDTO
func (*Span) SetAttribute ¶
Click to show internal directories.
Click to hide internal directories.