Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/dataset/buffer/buffer.go

15 lines
505 B

// Package buffer describes contigous regions of dataset memory. Each buffer
// holds arbitrary data, which is interpreted contextually depending on where
// the buffer is stored.
package buffer
// Invalid refers to an invalid buffer ID.
const Invalid ID = 0
// ID is an opaque identifier for where underlying [Data] is stored. The zero
// value is reserved for an [Invalid] ID.
type ID uint64
// Data holds the raw bytes for a [Buffer]. Data is read-only and must not be
// modified.
type Data []byte