metrictank: github.com/grafana/metrictank/mdata/chunk/archive Index | Files

package archive

import "github.com/grafana/metrictank/mdata/chunk/archive"

Index

Package Files

archive.go archive_gen.go

type Archive Uses

type Archive struct {
    RowKey          string
    SecondsPerPoint uint32
    Points          uint32
    Chunks          []chunk.IterGen
}

go:generate msgp

func (*Archive) DecodeMsg Uses

func (z *Archive) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*Archive) EncodeMsg Uses

func (z *Archive) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*Archive) MarshalMsg Uses

func (z *Archive) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*Archive) Msgsize Uses

func (z *Archive) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*Archive) UnmarshalMsg Uses

func (z *Archive) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

type Metric Uses

type Metric struct {
    MetricData        schema.MetricData
    AggregationMethod uint32
    Archives          []Archive
}

go:generate msgp

func (*Metric) DecodeMsg Uses

func (z *Metric) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*Metric) EncodeMsg Uses

func (z *Metric) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*Metric) MarshalCompressed Uses

func (m *Metric) MarshalCompressed() (*bytes.Buffer, error)

func (*Metric) MarshalMsg Uses

func (z *Metric) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*Metric) Msgsize Uses

func (z *Metric) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*Metric) UnmarshalCompressed Uses

func (m *Metric) UnmarshalCompressed(b io.Reader) error

func (*Metric) UnmarshalMsg Uses

func (z *Metric) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

Package archive imports 9 packages (graph). Updated 2019-08-24. Refresh now. Tools for package owners.