Documentation ¶
Index ¶
- Constants
- func BookmarkTotalCounter() *metrics.Counter
- func BotRunTotalCounter(rulesetLabel RulesetLabel) *metrics.Counter
- func BotTotalCounter() *metrics.Counter
- func EventTotalCounter() *metrics.Counter
- func QueueFailedTasksTotalCounter(taskType string) *metrics.Counter
- func QueueInProgressTasksCounter(taskType string) *metrics.Counter
- func QueueProcessedTasksTotalCounter(taskType string) *metrics.Counter
- func SearchAddDocumentTotalCounter(index string) *metrics.Counter
- func SearchTotalCounter(index string) *metrics.Counter
- type RulesetLabel
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 BotRunTotalCounter ¶ added in v0.18.1
func BotRunTotalCounter(rulesetLabel RulesetLabel) *metrics.Counter
func BotTotalCounter ¶ added in v0.18.1
func EventTotalCounter ¶ added in v0.18.1
func QueueFailedTasksTotalCounter ¶ added in v0.18.1
func QueueInProgressTasksCounter ¶ added in v0.18.1
func QueueProcessedTasksTotalCounter ¶ added in v0.18.1
func SearchAddDocumentTotalCounter ¶ added in v0.18.1
func SearchTotalCounter ¶ added in v0.18.1
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" )
Click to show internal directories.
Click to hide internal directories.