monitorkit

package
v0.0.0-...-e37d8fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL