Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LinksCounter is a metric to count the number of crawled links. LinksCounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "crawler_links_count_total", Help: "Count of links returned", }) // LinksErrorCounter is a metric to count the number of error to craw links. LinksErrorCounter = prometheus.NewCounter(prometheus.CounterOpts{ Name: "crawler_links_error_count_total", Help: "Count of links returned in error", }) // DeltaTimeToProcessLinks is a metric used to measure the delta time to process the links. 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.
Click to show internal directories.
Click to hide internal directories.