wkk

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// _cardinalhq.* keys (sorted alphabetically)
	RowKeyCCollectorID   = NewRowKey("_cardinalhq.collector_id")
	RowKeyCCustomerID    = NewRowKey("_cardinalhq.customer_id")
	RowKeyCFingerprint   = NewRowKey("_cardinalhq.fingerprint")
	RowKeyCID            = NewRowKey("_cardinalhq.id")
	RowKeyCMessage       = NewRowKey("_cardinalhq.message")
	RowKeyCMetricType    = NewRowKey("_cardinalhq.metric_type")
	RowKeyCName          = NewRowKey("_cardinalhq.name")
	RowKeyCSpanEvents    = NewRowKey("_cardinalhq.span_events")
	RowKeyCTelemetryType = NewRowKey("_cardinalhq.telemetry_type")
	RowKeyCTID           = NewRowKey("_cardinalhq.tid")
	RowKeyCTimestamp     = NewRowKey("_cardinalhq.timestamp")
	RowKeyCTsns          = NewRowKey("_cardinalhq.tsns")
	RowKeyCValue         = NewRowKey("_cardinalhq.value") // Deprecated

	// histogram handling (TODO: just make histograms)
	RowKeyCBucketBounds   = NewRowKey("_cardinalhq.bucket_bounds")
	RowKeyCNegativeCounts = NewRowKey("_cardinalhq.negative_counts")
	RowKeyCPositiveCounts = NewRowKey("_cardinalhq.positive_counts")
	RowKeyCCounts         = NewRowKey("_cardinalhq.counts")    // Deprecated
	RowKeyCSumValue       = NewRowKey("_cardinalhq.sum_value") // Deprecated

	// rollup_* keys (sorted alphabetically)
	RowKeyRollupAvg   = NewRowKey("rollup_avg")
	RowKeyRollupCount = NewRowKey("rollup_count")
	RowKeyRollupMax   = NewRowKey("rollup_max")
	RowKeyRollupMin   = NewRowKey("rollup_min")
	RowKeyRollupP25   = NewRowKey("rollup_p25")
	RowKeyRollupP50   = NewRowKey("rollup_p50")
	RowKeyRollupP75   = NewRowKey("rollup_p75")
	RowKeyRollupP90   = NewRowKey("rollup_p90")
	RowKeyRollupP95   = NewRowKey("rollup_p95")
	RowKeyRollupP99   = NewRowKey("rollup_p99")
	RowKeyRollupSum   = NewRowKey("rollup_sum")

	// sketch key
	RowKeySketch = NewRowKey("sketch")
)

Functions

func RowKeyValue

func RowKeyValue(rk RowKey) string

Types

type RowKey

type RowKey = unique.Handle[rowkey]

func NewRowKey

func NewRowKey(s string) RowKey

func NewRowKeyFromBytes

func NewRowKeyFromBytes(keyBytes []byte) RowKey

NewRowKeyFromBytes creates a RowKey from bytes without string allocation for common keys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL