metrics

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ShardCounter = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kittybot_shard_count",
		Help: "The total number of shards kittybot has",
	})

	ShardStatus = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kittybot_shard_status",
		Help: "The total number of shards kittybot has",
	})

	GuildCounter = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kittybot_guild_count",
		Help: "The total number of guilds kittybot is in",
	})

	UserCounter = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kittybot_user_count",
		Help: "The total number of users kittybot serves",
	})

	AudioPlayerCounter = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kittybot_audio_player_count",
		Help: "The total number of active audio players kittybot has",
	})

	CommandsHandledCounter = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kittybot_commands_handled",
		Help: "The total number of commands handled by the dbot",
	})

	ComponentsHandledCounter = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kittybot_components_handled",
		Help: "The total number of components handled by the dbot",
	})
)

Functions

func Setup

func Setup(logger log.Logger, config dbot.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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