Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdaptiveScaler ¶
type AdaptiveScaler struct {
// contains filtered or unexported fields
}
func NewAdaptiveScaler ¶
func NewAdaptiveScaler() *AdaptiveScaler
func (*AdaptiveScaler) GetMode ¶
func (a *AdaptiveScaler) GetMode(input string) string
type AdaptiveScalingConfig ¶
type HTTPProxy ¶
type HTTPProxy struct {
// contains filtered or unexported fields
}
func NewHTTPProxy ¶
func NewHTTPProxy(config *ProxyConfig) *HTTPProxy
type ModelFallbackManager ¶
type ModelFallbackManager struct {
// contains filtered or unexported fields
}
func NewModelFallbackManager ¶
func NewModelFallbackManager(primary string, fallbacks ...string) *ModelFallbackManager
func (*ModelFallbackManager) GetAll ¶
func (m *ModelFallbackManager) GetAll() []string
func (*ModelFallbackManager) GetModel ¶
func (m *ModelFallbackManager) GetModel(statusCode int) string
type OpenTelemetryCollector ¶
type OpenTelemetryCollector struct {
// contains filtered or unexported fields
}
func NewOpenTelemetryCollector ¶
func NewOpenTelemetryCollector(config *OpenTelemetryConfig) *OpenTelemetryCollector
func (*OpenTelemetryCollector) ExportMetrics ¶
func (o *OpenTelemetryCollector) ExportMetrics() string
func (*OpenTelemetryCollector) RecordMetric ¶
func (o *OpenTelemetryCollector) RecordMetric(name string, value float64, labels map[string]string)
type OpenTelemetryConfig ¶
Click to show internal directories.
Click to hide internal directories.