controllers

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnomalyDetectorController

type AnomalyDetectorController struct {
	Services services.Services
}

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

type SpanController struct {
	Services services.Services
}

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

type TraceController struct {
	Services services.Services
}

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

Jump to

Keyboard shortcuts

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