Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstrumentedClientOther ¶
type InstrumentedClientOther struct{}
InstrumentedClientOther instrumented postgres client
func NewInstrumentedClientOther ¶
func NewInstrumentedClientOther() *InstrumentedClientOther
NewInstrumentedClientOther initialises a new fake postgres client
func (*InstrumentedClientOther) Delete ¶
func (c *InstrumentedClientOther) Delete(o string) error
Delete fake delete
func (*InstrumentedClientOther) Insert ¶
func (c *InstrumentedClientOther) Insert(o string) error
Insert fake insert
type InstrumentedClientPrometheus ¶
type InstrumentedClientPrometheus struct {
// contains filtered or unexported fields
}
InstrumentedClientPrometheus instrumented postgres client
func NewInstrumentedClientPrometheus ¶
func NewInstrumentedClientPrometheus(insertRange, deleteRange string) *InstrumentedClientPrometheus
NewInstrumentedClientPrometheus initialises a new fake postgres client
func (*InstrumentedClientPrometheus) Delete ¶
func (c *InstrumentedClientPrometheus) Delete(o string) error
Delete fake delete
func (*InstrumentedClientPrometheus) Insert ¶
func (c *InstrumentedClientPrometheus) Insert(o string) error
Insert fake insert
type Metrics ¶
type Metrics struct { TimerHistogram prometheus.Histogram TimeSummary prometheus.Summary TimerGauge prometheus.Gauge RangeMinSec, RangeMaxSec int }
Click to show internal directories.
Click to hide internal directories.