collector

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordCollector

type DiscordCollector struct {
	// contains filtered or unexported fields
}

func New

func New() *DiscordCollector

func (*DiscordCollector) Collect

func (d *DiscordCollector) Collect(ch chan<- prometheus.Metric)

func (*DiscordCollector) Describe

func (d *DiscordCollector) Describe(descs chan<- *prometheus.Desc)

func (*DiscordCollector) TrackBotUsage

func (d *DiscordCollector) TrackBotUsage(channel, userHandle string)

func (*DiscordCollector) TrackMessage

func (d *DiscordCollector) TrackMessage(channel, userHandle string)

Jump to

Keyboard shortcuts

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