metrics

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LinksCounter = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "crawler_links_count_total",
		Help: "Count of links returned",
	})
	LinksErrorCounter = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "crawler_links_error_count_total",
		Help: "Count of links returned in error",
	})
	DeltaTimeToProcessLinks = prometheus.NewHistogram(prometheus.HistogramOpts{
		Name:    "crawler_delta_time_to_process_links",
		Help:    "Delta time to process links",
		Buckets: prometheus.LinearBuckets(linearBucketStart, linearBucketWidth, linearBucketCount),
	})
)

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