Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BackgroundFeedRefreshDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: "miniflux", Name: "background_feed_refresh_duration", Help: "Processing time to refresh feeds from the background workers", Buckets: prometheus.LinearBuckets(1, 2, 15), }, []string{"status"}, ) ScraperRequestDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: "miniflux", Name: "scraper_request_duration", Help: "Web scraper request duration", Buckets: prometheus.LinearBuckets(1, 2, 25), }, []string{"status"}, ) ArchiveEntriesDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: "miniflux", Name: "archive_entries_duration", Help: "Archive entries duration", Buckets: prometheus.LinearBuckets(1, 2, 30), }, []string{"status"}, ) )
Prometheus Metrics.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector represents a metric collector.
func NewCollector ¶
NewCollector initializes a new metric collector.
func (*Collector) GatherStorageMetrics ¶
func (c *Collector) GatherStorageMetrics()
GatherStorageMetrics polls the database to fetch metrics.
Click to show internal directories.
Click to hide internal directories.