Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthCount = promauto.NewCounter( prometheus.CounterOpts{ Name: "spectrograph_auth_count_total", Help: "The total number of authentications", }, ) WorkerGuildCount = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "spectrograph_worker_guild_count", Help: "The number of guilds the worker is currently in", }, []string{"shard_id"}, ) WorkerEventCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "spectrograph_worker_event_count_total", Help: "The total number of worker events", }, []string{"shard_id", "event_type", "guild_id"}, ) WorkerSessionsRemainingCount = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "spectrograph_worker_sessions_remaining_count", Help: "The number of sessions remaining for a worker", }, []string{"shard_id"}, ) WorkerSessionsTotalCount = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "spectrograph_worker_sessions_total_count", Help: "The number of total sessions allowed for this shard ID", }, []string{"shard_id"}, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.