metrics

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IndexRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_index_ops_total",
		Help: "The total number of processed index requests",
	})
	SearchRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_search_ops_total",
		Help: "The total number of processed search requests",
	})
	CreateRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_create_ops_total",
		Help: "The total number of processed create feed requests",
	})
	CreateRequestsAPI = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_create_api_ops_total",
		Help: "The total number of processed create feed requests via API",
	})
	WellKnownRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_wellknown_ops_total",
		Help: "The total number of processed well-known requests",
	})
	RelayInfoRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_relay_info_ops_total",
		Help: "The total number of processed relay info requests",
	})
	QueryEventsRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_query_events_ops_total",
		Help: "The total number of processed query events requests",
	})
	InvalidEventsRequests = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_invalid_events_ops_total",
		Help: "The total number of processed invalid events requests",
	})
	ListeningFiltersOps = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_listening_filters_ops_total",
		Help: "The total number of updated listening filters",
	})
	CacheHits = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_cache_hits_ops_total",
		Help: "The total number of cache hits",
	})
	CacheMiss = promauto.NewCounter(prometheus.CounterOpts{
		Name: "rsslay_processed_cache_miss_ops_total",
		Help: "The total number of cache misses",
	})
	AppErrors = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "rsslay_errors_total",
		Help: "Number of errors for the app.",
	}, []string{"type"})
	ReplayRoutineQueueLength = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "rsslay_replay_routines_queue_length",
		Help: "Current number of subroutines to replay events to other relays",
	})
	ReplayEvents = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "rsslay_replay_events_total",
		Help: "Number of correct replayed events by relay.",
	}, []string{"relay"})
	ReplayErrorEvents = prometheus.NewCounterVec(prometheus.CounterOpts{
		Name: "rsslay_replay_events_error_total",
		Help: "Number of error replayed events by relay.",
	}, []string{"relay"})
)

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