metrics

package
v0.2.2-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Counter for total number of redirects
	RedirectsTotal = metrics.NewCounter(`lil_redirects_total`)

	// Counter for total number of URLs shortened
	URLsShortenedTotal = metrics.NewCounter(`lil_urls_shortened_total`)

	// Counter for total number of URLs deleted
	URLsDeletedTotal = metrics.NewCounter(`lil_urls_deleted_total`)

	// Counter for failed redirects (404s, expired URLs)
	RedirectFailuresTotal = metrics.NewCounter(`lil_redirect_failures_total`)

	// Gauge for number of URLs in store
	URLsStoredGauge = metrics.NewGauge(`lil_urls_stored_total`, nil)
)

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