Documentation ¶
Overview ¶
Package rec includes everything related to datapoint record.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecBytes ¶
RecBytes represents a single piece of data (a datapoint) that can be sent.
func ParseRec ¶
func ParseRec(s []byte, normalize bool, shouldLog bool, nowF func() time.Time, lg *zap.Logger) (*RecBytes, error)
ParseRec parses a single datapoint record from a string. Makes sure it's valid. Performs normalizations.
Click to show internal directories.
Click to hide internal directories.