Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusRecorder ¶
type PrometheusRecorder struct { }
PrometheusRecorder struct used to record metrics to be consumed by Prometheus
func (PrometheusRecorder) Initialize ¶
func (pr PrometheusRecorder) Initialize()
Initialize all metrics
func (PrometheusRecorder) RecordReqByTypeTotal ¶
func (pr PrometheusRecorder) RecordReqByTypeTotal(requestType string)
RecordReqByTypeTotal records a request type
Click to show internal directories.
Click to hide internal directories.