Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GPTRequestCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "chatgw_gtp_requests_total", Help: "Total number of HTTP requests by skey.", }, []string{"skey"}, )
View Source
var GTPCompletionTokens = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "chatgw_gtp_completion_tokens_total", Help: "Total number of gpt requests by skey.", }, []string{"skey"}, )
View Source
var GTPPromptTokens = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "chatgw_gtp_prompt_tokens_total", Help: "Total number of gpt requests by skey.", }, []string{"skey"}, )
View Source
var GTPTokenCont = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "chatgw_gtp_token_total", Help: "Total number of gpt requests by skey.", }, []string{"skey"}, )
Total Tokens = Prompt Tokens + Completion Tokens.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.