Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParsingQueueDepth = "parsing_queue_depth" DroppedEventsCounter = "dropped_events_count" EventCounter = "event_count" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventTypeMetrics ¶ added in v0.14.2
type Measures ¶
type Measures struct { ParsingQueue metrics.Gauge DroppedEventsCount metrics.Counter EventsCount metrics.Counter }
func NewMeasures ¶
NewMeasures constructs a Measures given a go-kit metrics Provider
type RecordConfig ¶ added in v0.14.3
type RecordConfig struct {
// contains filtered or unexported fields
}
type RequestParser ¶
type RequestParser struct {
// contains filtered or unexported fields
}
func NewRequestParser ¶
func NewRequestParser(config Config, logger log.Logger, metricsRegistry provider.Provider, inserter inserter, blacklist blacklist.List, encrypter voynicrypto.Encrypt, timeTracker TimeTracker) (*RequestParser, error)
func (*RequestParser) Parse ¶
func (r *RequestParser) Parse(wrpWithTime WrpWithTime) (err error)
func (*RequestParser) Start ¶
func (r *RequestParser) Start()
func (*RequestParser) Stop ¶
func (r *RequestParser) Stop()
type TimeTracker ¶ added in v0.14.1
type WrpWithTime ¶ added in v0.14.1
Click to show internal directories.
Click to hide internal directories.