Documentation
¶
Overview ¶
Package metricstorage defines storage structure for metric storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes struct {
Metric otelstorage.Hash `json:"metric_name"`
Hash otelstorage.Hash `json:"hash"`
Attrs otelstorage.Attrs `json:"attrs"`
}
Attributes is a data structure for attributes.
type Point ¶
type Point struct {
Metric otelstorage.Hash `json:"metric_name"`
ResourceHash otelstorage.Hash `json:"resource_hash"`
AttributeHash otelstorage.Hash `json:"attr_hash"`
Timestamp otelstorage.Timestamp `json:"timestamp"`
Point float64 `json:"point"`
}
Point is a data structure for metric points.
type Resource ¶
type Resource struct {
Hash otelstorage.Hash `json:"hash"`
Attrs otelstorage.Attrs `json:"attrs"`
}
Resource is a data structure for resource.
Click to show internal directories.
Click to hide internal directories.