Documentation
¶
Index ¶
Constants ¶
View Source
const ( AttrRequestTypeHTTP = "http" AttrRequestTypeMessage = "message" )
Attribute values:
View Source
const (
MeterName = "kubeai.org"
)
Variables ¶
View Source
var ( InferenceRequestsActiveMetricName = "kubeai.inference.requests.active" InferenceRequestsActive metric.Int64UpDownCounter InferenceRequestsHashLookupIterationsMetricName = "kubeai.inference.requests.hash.lookup.iterations" InferenceRequestsHashLookupIterations metric.Int64Histogram InferenceRequestsHashLookupInitialMetricName = "kubeai.inference.requests.hash.lookup.initial" InferenceRequestsHashLookupInitial metric.Int64Counter InferenceRequestsHashLookupFinalMetricName = "kubeai.inference.requests.hash.lookup.final" InferenceRequestsHashLookupFinal metric.Int64Counter InferenceRequestsHashLookupDefaultMetricName = "kubeai.inference.requests.hash.lookup.default" InferenceRequestsHashLookupDefault metric.Int64Counter )
Metrics used to autoscale models:
View Source
var ( AttrRequestModel = attribute.Key("request.model") AttrRequestType = attribute.Key("request.type") AttrEndpoint = attribute.Key("endpoint") )
Attributes:
Functions ¶
func OtelAttrToPromLabel ¶
func OtelNameToPromName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.