dto

package
v0.0.0-...-ea148e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpanListElementDTO

type SpanListElementDTO struct {
	TraceID                 string    `json:"trace_id"`
	SpanID                  string    `json:"span_id"`
	ParentSpanID            string    `json:"parent_span_id"`
	SpanName                string    `json:"span_name"`
	StartTime               time.Time `json:"start_time"`
	EndTime                 time.Time `json:"end_time"`
	AnomalyDetected         bool      `json:"AnomalyDetected"`
	ExpectedAnomalySpanName string    `json:"ExpectedAnomalySpanName"`
	AnomalyPositionInTrace  int       `json:"AnomalyPositionInTrace"`
}

type TraceModelDTO

type TraceModelDTO struct {
	TraceID   string
	StartTime time.Time
	Anomaly   bool
	SpansList []SpanListElementDTO
}

type TracesListElement

type TracesListElement struct {
	TraceID   string       `ch:"trace_id"`
	StartTime time.Time    `ch:"start_time"`
	Anomaly   sql.NullBool `ch:"anomaly_detected"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL