package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Packages

Package writes is a generated GoMock package.

# Functions

NewSegment will create a new segment and increment the refs to head and tail if they are non-nil.

# Constants

FinalizeHead specifies to finalize the head bytes.
FinalizeNone specifies to finalize neither of the bytes.
FinalizeTail specifies to finalize the tail bytes.
OptimizedAnnotationLen specifies the limit of length of annotations for which we avoid allocations by using fixed backing memory where possible.

# Structs

A Datapoint is a single data value reported at a given time.
Segment represents a binary blob consisting of two byte slices and declares whether they should be finalized when the segment is finalized.
Series describes a series.

# Type aliases

Annotation represents information used to annotate datapoints.
EncodedTags represents the encoded tags for the series.
SegmentFlags describes the option to finalize or not finalize bytes in a Segment.