stats

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BotTotalStatsName                     = "bot_total"
	BotRunTotalStatsName                  = "bot_run_total"
	BookmarkTotalStatsName                = "bookmark_total"
	SearchTotalStatsName                  = "search_total"
	SearchProcessedDocumentTotalStatsName = "search_processed_document_total"
	QueueProcessedTasksTotalStatsName     = "queue_processed_tasks_total"
	QueueFailedTasksTotalStatsName        = "queue_failed_tasks_total"
	QueueInProgressTasksStatsName         = "queue_in_progress_tasks"
	EventTotalStatsName                   = "event_total"
	TorrentDownloadTotalStatsName         = "torrent_download_total"
	TorrentStatusTotalStatsName           = "torrent_status_total"
	GiteaIssueTotalStatsName              = "gitea_issue_total"
	KanbanEventTotalStatsName             = "kanban_event_total"
	ReaderTotalStatsName                  = "reader_total"
	ReaderUnreadTotalStatsName            = "reader_unread_total"
)

Variables

This section is empty.

Functions

func BookmarkTotalCounter added in v0.18.1

func BookmarkTotalCounter() *metrics.Counter

func BotRunTotalCounter added in v0.18.1

func BotRunTotalCounter(rulesetLabel RulesetLabel) *metrics.Counter

func BotTotalCounter added in v0.18.1

func BotTotalCounter() *metrics.Counter

func EventTotalCounter added in v0.18.1

func EventTotalCounter() *metrics.Counter

func GiteaIssueTotalCounter added in v0.22.1

func GiteaIssueTotalCounter(status string) *metrics.Counter

func KanbanEventTotalCounter added in v0.23.1

func KanbanEventTotalCounter(name string) *metrics.Counter

func QueueFailedTasksTotalCounter added in v0.18.1

func QueueFailedTasksTotalCounter(taskType string) *metrics.Counter

func QueueInProgressTasksCounter added in v0.18.1

func QueueInProgressTasksCounter(taskType string) *metrics.Counter

func QueueProcessedTasksTotalCounter added in v0.18.1

func QueueProcessedTasksTotalCounter(taskType string) *metrics.Counter

func ReaderTotalCounter added in v0.24.1

func ReaderTotalCounter() *metrics.Counter

func ReaderUnreadTotalCounter added in v0.24.1

func ReaderUnreadTotalCounter() *metrics.Counter

func SearchProcessedDocumentTotalCounter added in v0.21.2

func SearchProcessedDocumentTotalCounter(index string) *metrics.Counter

func SearchTotalCounter added in v0.18.1

func SearchTotalCounter(index string) *metrics.Counter

func TorrentDownloadTotalCounter added in v0.21.2

func TorrentDownloadTotalCounter() *metrics.Counter

func TorrentStatusTotalCounter added in v0.21.2

func TorrentStatusTotalCounter(status string) *metrics.Counter

Types

type RulesetLabel added in v0.18.1

type RulesetLabel string
const (
	InputRuleset   RulesetLabel = "input"
	AgentRuleset   RulesetLabel = "agent"
	CommandRuleset RulesetLabel = "command"
	CronRuleset    RulesetLabel = "cron"
	FormRuleset    RulesetLabel = "form"
)

Jump to

Keyboard shortcuts

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