Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStoreMetrics ¶
type EventStoreMetrics struct { TransmittedTotalCounter *prom.CounterVec StoredTotalCounter *prom.CounterVec RetrievedTotalCounter *prom.CounterVec StoredHistogram *prom.HistogramVec RetrievedHistogram *prom.HistogramVec }
EventStoreMetrics represents a collection of metrics to be registered on a Prometheus metrics registry for EventStore metrics.
func NewEventStoreMetrics ¶
func NewEventStoreMetrics() *EventStoreMetrics
NewEventStoreMetrics returns a ServerMetrics object. Use a new instance of ServerMetrics when not using the default Prometheus metrics registry, for example when wanting to control which metrics are added to a registry as opposed to automatically adding metrics via init functions.
Click to show internal directories.
Click to hide internal directories.