Documentation
¶
Index ¶
- func ResolveAnnotations(refs []int64, table *queryv1.AttributeTable) []*typesv1.ProfileAnnotation
- func ResolveExemplars(exemplars []*queryv1.Exemplar, table *queryv1.AttributeTable) []*typesv1.Exemplar
- func ResolveHeatmapExemplar(point *queryv1.HeatmapPoint, table *queryv1.AttributeTable) *typesv1.Exemplar
- func ResolveLabelPairs(refs []int64, table *queryv1.AttributeTable) []*typesv1.LabelPair
- func SpanIDToHex(spanID uint64) string
- type Key
- type Merger
- type Remapper
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveAnnotations ¶
func ResolveAnnotations(refs []int64, table *queryv1.AttributeTable) []*typesv1.ProfileAnnotation
ResolveAnnotations converts attribute references to profile annotations.
func ResolveExemplars ¶
func ResolveExemplars(exemplars []*queryv1.Exemplar, table *queryv1.AttributeTable) []*typesv1.Exemplar
ResolveExemplars converts compact exemplars to public exemplars by resolving attribute refs.
func ResolveHeatmapExemplar ¶
func ResolveHeatmapExemplar(point *queryv1.HeatmapPoint, table *queryv1.AttributeTable) *typesv1.Exemplar
ResolveHeatmapExemplar converts a HeatmapPoint to a public Exemplar by resolving attribute refs, profile ID (table lookup), and span ID (hex encoding).
func ResolveLabelPairs ¶
func ResolveLabelPairs(refs []int64, table *queryv1.AttributeTable) []*typesv1.LabelPair
ResolveLabelPairs converts attribute references to label pairs.
func SpanIDToHex ¶
SpanIDToHex converts a uint64 span ID to a hex string
Types ¶
type Merger ¶
type Merger struct {
// contains filtered or unexported fields
}
Merger provides generic merging functionality for series with attribute tables.
func (*Merger) BuildAttributeTable ¶
func (m *Merger) BuildAttributeTable(res *queryv1.AttributeTable) *queryv1.AttributeTable
BuildAttributeTable builds the protobuf AttributeTable from the merger's table.
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table is used to store attribute key-value pairs for efficient lookup and deduplication. It maps attribute keys to integer references, allowing compact representation of labels.
func (*Table) AnnotationRefs ¶
func (*Table) Build ¶
func (t *Table) Build(res *queryv1.AttributeTable) *queryv1.AttributeTable