Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricsMap *QueueMetricsMap // Keep tracking of features used by clients to be able to deprecate them CodeUsage metric.Int64Counter // Housekeepermetric HousekeeperExceedingStorageRemoved metric.Int64Counter HousekeeperExceedingCacheRemoved metric.Int64Counter HousekeeperTTLStorageRemoved metric.Int64Counter HousekeeperTTLCacheRemoved metric.Int64Counter HousekeeperUnlock metric.Int64Counter HousekeeperTaskLatency metric.Int64Histogram HousekeeperOldestMessage metric.Int64ObservableGauge HousekeeperTotalElements metric.Int64ObservableGauge // Message Pool QueueTimeout metric.Int64Counter QueueAck metric.Int64Counter QueueNack metric.Int64Counter QueueEmptyQueue metric.Int64Counter QueueEmptyQueueStorage metric.Int64Counter QueueNotFoundInStorage metric.Int64Counter // Storage StorageLatency metric.Int64Histogram // Cache CacheLatency metric.Int64Histogram // Auditor AuditorAddToStoreLatency metric.Int64Histogram AuditorStoreLatency metric.Int64Histogram )
Functions ¶
func ListenAndServe ¶ added in v0.0.16
func ListenAndServe()
Types ¶
type QueueMetricsMap ¶ added in v0.0.17
Type to hold map of oldest queue elements
func NewQueueMetricsMap ¶ added in v0.0.17
func NewQueueMetricsMap() *QueueMetricsMap
func (*QueueMetricsMap) UpdateOldestElementMap ¶ added in v0.0.17
func (oldestMap *QueueMetricsMap) UpdateOldestElementMap(data map[string]int64)
func (*QueueMetricsMap) UpdateTotalElementsMap ¶ added in v0.0.17
func (oldestMap *QueueMetricsMap) UpdateTotalElementsMap(data map[string]int64)
type WrappedRegistry ¶
type WrappedRegistry struct {
// contains filtered or unexported fields
}
func NewWrappedRegistry ¶
func NewWrappedRegistry(promRegistry *prom.Registry, labels ...*dto.LabelPair) *WrappedRegistry
func (*WrappedRegistry) Gather ¶
func (wr *WrappedRegistry) Gather() ([]*dto.MetricFamily, error)
func (*WrappedRegistry) MustRegister ¶
func (wr *WrappedRegistry) MustRegister(collector ...prom.Collector)
func (*WrappedRegistry) Register ¶
func (wr *WrappedRegistry) Register(collector prom.Collector) error
func (*WrappedRegistry) Unregister ¶
func (wr *WrappedRegistry) Unregister(collector prom.Collector) bool
Click to show internal directories.
Click to hide internal directories.