Documentation ¶
Overview ¶
Package metrics provides prometheus metrics
Index ¶
- Constants
- func IncrementAPIRequests(uri, method string)
- func IncrementHealthzError(check string)
- func IncrementHealthzSuccess(check string)
- func IncrementLLMChannelReadTimeouts()
- func IncrementLLMChannelSendTimeouts()
- func IncrementLLMChannelsCreated()
- func IncrementLLMChannelsDeleted()
- func IncrementLLMChannelsStreams()
- func IncrementModels(model string)
- func IncrementWSAuthFailures()
- func IncrementWorkloads(wlType string)
- func NewMetrics()
- func SetVInfServerVersion(version, commit, date string)
Constants ¶
const ( // STATS_ARRAY_LEN size of array for statistical data STATS_ARRAY_LEN int = 100 //nolint )
Variables ¶
This section is empty.
Functions ¶
func IncrementAPIRequests ¶
func IncrementAPIRequests(uri, method string)
IncrementAPIRequests increments api endpoint request
func IncrementHealthzError ¶
func IncrementHealthzError(check string)
IncrementHealthzError increments check for healthz error check
func IncrementHealthzSuccess ¶
func IncrementHealthzSuccess(check string)
IncrementHealthzSuccess increments check for healthz success check
func IncrementLLMChannelReadTimeouts ¶
func IncrementLLMChannelReadTimeouts()
IncrementLLMChannelReadTimeouts increments read timeouts from channels
func IncrementLLMChannelSendTimeouts ¶
func IncrementLLMChannelSendTimeouts()
IncrementLLMChannelSendTimeouts increments send timeouts from channels
func IncrementLLMChannelsCreated ¶
func IncrementLLMChannelsCreated()
IncrementLLMChannelsCreated increments created llm channels
func IncrementLLMChannelsDeleted ¶
func IncrementLLMChannelsDeleted()
IncrementLLMChannelsDeleted increments deleted llm channels
func IncrementLLMChannelsStreams ¶
func IncrementLLMChannelsStreams()
IncrementLLMChannelsStreams increments llm channel streams
func IncrementModels ¶
func IncrementModels(model string)
IncrementModels increments model usage counter
func IncrementWSAuthFailures ¶
func IncrementWSAuthFailures()
IncrementWSAuthFailures increments counter for websocket auth failures
func IncrementWorkloads ¶
func IncrementWorkloads(wlType string)
IncrementWorkloads increments workload type
func SetVInfServerVersion ¶
func SetVInfServerVersion(version, commit, date string)
SetVCDNServerVersion sets label version
Types ¶
This section is empty.