Documentation ¶
Index ¶
- func ExtractLocationIDs(locs []uuid.UUID) []byte
- func LabelColumn(name string) *schemav2pb.Node
- func NestedListDef(name string, layout *schemav2pb.StorageLayout) *schemav2pb.Node_Group
- func NewNestedSampleSchema(t testing.TB) proto.Message
- func PrehashedSampleDefinition() *schemapb.Schema
- func SampleDefinition() *schemapb.Schema
- func SampleDefinitionWithFloat() *schemapb.Schema
- type Sample
- type Samples
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractLocationIDs ¶
func LabelColumn ¶
func LabelColumn(name string) *schemav2pb.Node
func NestedListDef ¶
func NestedListDef(name string, layout *schemav2pb.StorageLayout) *schemav2pb.Node_Group
func SampleDefinition ¶
func SampleDefinitionWithFloat ¶
Adds a float column to the SampleDefinition to be able to test aggregations with float values.
Types ¶
type Sample ¶
type Sample struct { ExampleType string `frostdb:"example_type,rle_dict,asc(0)"` Labels map[string]string `frostdb:"labels,rle_dict,asc(1),null_first"` Stacktrace []uuid.UUID `frostdb:"stacktrace,rle_dict,asc(3),null_first"` Timestamp int64 `frostdb:"timestamp,asc(2)"` Value int64 `frostdb:"value"` }
func (Sample) ToParquetRow ¶
type Samples ¶
type Samples []Sample
func GenerateTestSamples ¶
func NewTestSamples ¶
func NewTestSamples() Samples
func (Samples) SampleLabelNames ¶
Click to show internal directories.
Click to hide internal directories.