Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnomalyDetectorController ¶
func (AnomalyDetectorController) HuntOutlines ¶
func (c AnomalyDetectorController) HuntOutlines(ctx *gin.Context)
func (AnomalyDetectorController) InitLearningModel ¶
func (c AnomalyDetectorController) InitLearningModel(ctx *gin.Context)
GetOne godoc @Summary Get specific Span @Schemes @Description Return specific span @Tags Span @Produce json @Param spanid path string true "Span ID" @Router /spans/{spanid} [get] @host localhost:9900
func (AnomalyDetectorController) StartRestartModelLearning ¶
func (c AnomalyDetectorController) StartRestartModelLearning(ctx *gin.Context)
type Controllers ¶
type Controllers struct {
SpanControllers SpanController
TraceControllers TraceController
AnomalyDetectorControllers AnomalyDetectorController
}
func NewControllers ¶
func NewControllers(s services.Services) Controllers
type SpanController ¶
func (SpanController) GetOne ¶
func (c SpanController) GetOne(ctx *gin.Context)
GetOne godoc @Summary Get specific Span @Schemes @Description Return specific span @Tags Span @Produce json @Param spanid path string true "Span ID" @Router /spans/{spanid} [get] @host localhost:9900
type TraceController ¶
func (TraceController) GetAll ¶
func (c TraceController) GetAll(ctx *gin.Context)
GetAll godoc @Summary ping example @Schemes @Description do ping @Tags Trace @Accept json @Produce json @Param page query int false "page" @Router /traces [get] @host localhost:9900
func (TraceController) GetOne ¶
func (c TraceController) GetOne(ctx *gin.Context)
GetOne godoc @Summary Get specific Trace @Schemes @Description Return specific Trace with spans tree and detected anomaly @Tags Trace @Produce json @Param traceid path string true "Trace ID" @Router /traces/{traceid} [get] @host localhost:9900