Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalReady = false
View Source
var MetricTypeStrings = []string{
"mute_deafen_official",
"message_create_delete",
"message_edit",
"mute_deafen_capture",
"mute_deafen_worker",
"invalid_request",
"official_request",
}
Functions ¶
func PrometheusMetricsServer ¶
func RecordDiscordRequests ¶
func StartHealthCheckServer ¶
func StartHealthCheckServer(port string)
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.