Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TotalCommands is the tracking key to get the number of all processed commands TotalCommands = "command_total" UnauthorizedCommands = "command_unauthorized" // UnknownCommands is the tracking key to get the number of all unknown commands (when the fallback-command is fired) UnknownCommands = "command_unknown" // Interactions is the tracking key to get the number of all processed interactions aka buttons Interactions = "interactions" )
Variables ¶
This section is empty.
Functions ¶
func Increase ¶
func Increase[T constraints.Signed](key string, count T)
Increase is increasing the stats counter
func IncreaseOne ¶
func IncreaseOne(key string)
IncreaseOne is increasing the stats counter of the given type by 1
func InitMetrics ¶ added in v2.2.10
func InitMetrics(cfg config.Config, ctx *util.ServerContext)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.