metric

package
v0.0.0-...-5f5d79f Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TrackerAnnounce = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "tracker",
		Name:      "announce",
		Help:      "The total number of announces",
	})
	TrackerAnnounceReply = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "tracker",
		Name:      "announce_reply",
		Help:      "The total number of announce replies",
	})
	TrackerTorrents = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "tracker",
		Name:      "torrents",
		Help:      "The total number of tracked torrents over time",
	})
)
View Source
var (
	TrackerScrape = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "tracker",
		Name:      "scrape",
		Help:      "The total number of scrapes",
	})
	TrackerScrapeReply = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "tracker",
		Name:      "scrape_reply",
		Help:      "The total number of scrape replies",
	})
)
View Source
var (
	// The total number of health checks.
	TrackerHealth = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "tracker",
		Name:      "health",
		Help:      "The total number of health checks",
	})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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