Documentation ¶
Index ¶
- Variables
- func GetEnovaAlgoClient() *enovaAlgoClient
- func GetPromClient() *promClient
- type AnomalyDetectRequest
- type AnomalyDetectResponse
- type AnomalyRecoverRequest
- type ConfigRecommendRequest
- type ConfigRecommendResult
- type Configurations
- type EmptyHeaderBuilder
- type EnvoaResponse
- type Gpu
- type HeaderBuilderInterface
- type HttpApi
- type HttpResponse
- type Llm
- type Metric
- type MetricValue
- type Metrics
- type PromData
- type PromResponse
- type Series
- type ValueSet
Constants ¶
This section is empty.
Variables ¶
View Source
var EnovaAlgoClient *enovaAlgoClient
View Source
var PromClient *promClient
Functions ¶
func GetEnovaAlgoClient ¶
func GetEnovaAlgoClient() *enovaAlgoClient
func GetPromClient ¶
func GetPromClient() *promClient
Types ¶
type AnomalyDetectRequest ¶
type AnomalyDetectRequest struct { Metrics []Metrics `json:"metrics"` Configurations Configurations `json:"configurations"` }
type AnomalyDetectResponse ¶
type AnomalyDetectResponse struct {
IsAnomaly int `json:"is_anomaly"`
}
type AnomalyRecoverRequest ¶
type AnomalyRecoverRequest struct { Metrics []Metrics `json:"metrics"` Configurations Configurations `json:"configurations"` Llm Llm `json:"llm"` Gpu Gpu `json:"gpu"` }
type ConfigRecommendRequest ¶
type ConfigRecommendResult ¶
type Configurations ¶
type EmptyHeaderBuilder ¶
type EmptyHeaderBuilder struct { }
type EnvoaResponse ¶
type HeaderBuilderInterface ¶
type HttpApi ¶
type HttpApi[T HttpResponse] struct { Method string Url string HeaderBuilder HeaderBuilderInterface }
type HttpResponse ¶
type HttpResponse interface{}
type MetricValue ¶
type MetricValue [2]float64
type Metrics ¶
type Metrics struct { ActiveRequests []MetricValue `json:"active_requests"` RunningRequests []MetricValue `json:"running_requests"` PendingRequests []MetricValue `json:"pending_requests"` GPUKVCacheUsage []MetricValue `json:"gpu_kv_cache_usage"` ServerNewRequests []MetricValue `json:"server_new_requests"` ServerSuccessRequests []MetricValue `json:"server_success_requests"` }
type PromResponse ¶
Click to show internal directories.
Click to hide internal directories.