stats

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 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"
	SearchAddDocumentTotalStatsName   = "search_add_document_total"
	QueueProcessedTasksTotalStatsName = "queue_processed_tasks_total"
	QueueFailedTasksTotalStatsName    = "queue_failed_tasks_total"
	QueueInProgressTasksStatsName     = "queue_in_progress_tasks"
	EventTotalStatsName               = "event_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 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 SearchAddDocumentTotalCounter added in v0.18.1

func SearchAddDocumentTotalCounter(index string) *metrics.Counter

func SearchTotalCounter added in v0.18.1

func SearchTotalCounter(index 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