metrics

package
v0.0.0-...-b986d7c Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DiscordMessagesProcessed = promauto.NewCounter(prometheus.CounterOpts{
		Name: "coflnet_bot_discord_messages_processed",
		Help: "Count of processed discord messages",
	})

	MessagesForwardedToRedisChatChannel = promauto.NewCounter(prometheus.CounterOpts{
		Name: "coflnet_bot_redis_chat_channel_messages_forwarded",
		Help: "Count of discord messages forwarded to the redis chat channel",
	})

	MessagesInsertedIntoDatabase = promauto.NewCounter(prometheus.CounterOpts{
		Name: "coflnet_bot_messages_inserted_into_database",
		Help: "Count of discord messages inserted into the database",
	})

	MessagesForwardedToCoflnetDiscordChatChannel = promauto.NewCounter(prometheus.CounterOpts{
		Name: "coflnet_bot_messages_forwarded_to_coflnet_discord_chat_channel",
		Help: "Count of discord messages forwarded to the coflnet discord chat channel",
	})
)

Functions

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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