notifierstore

package
v0.3.0-docs.0...-f96dd80 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QedStoreInstancesCount = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name: "qed_store_instances_count",
			Help: "Number of store services running.",
		},
	)

	QedStoreBatchesStoredTotal = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "qed_store_batches_stored_total",
			Help: "Number of batches received (POST from publishers).",
		},
	)

	QedStoreSnapshotsRetrievedTotal = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "qed_store_snapshots_retrieved_total",
			Help: "Number of snapshots retrieved (GET from auditors).",
		},
	)

	QedStoreAlertsGeneratedTotal = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "qed_store_alerts_generated_total",
			Help: "Number of alerts generated.",
		},
	)

	QedStoreEventsStoredTotal = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "qed_store_events_stored_total",
			Help: "Number of events stored.",
		},
	)
)

Functions

func Register

func Register(r *prometheus.Registry)

Register all metrics.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService() *Service

func (*Service) Shutdown

func (s *Service) Shutdown()

func (*Service) Start

func (s *Service) Start(foreground bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL