Skip to main content

Module native_histogram

Module native_histogram 

Source
Expand description

Shared native histogram field contract.

Prom remote-write v2 stores these names as children of one Struct field, while metric-engine uses the same contract to recognize native histogram tables.

Constants§

COUNT_F64_FIELD
COUNT_U64_FIELD
CUSTOM_VALUES_FIELD
NATIVE_HISTOGRAM_FIELD
NATIVE_HISTOGRAM_FIELD_NAMES
NEGATIVE_BUCKETS_F64_FIELD
NEGATIVE_BUCKETS_I64_FIELD
NEGATIVE_SPAN_LENGTHS_FIELD
NEGATIVE_SPAN_OFFSETS_FIELD
POSITIVE_BUCKETS_F64_FIELD
POSITIVE_BUCKETS_I64_FIELD
POSITIVE_SPAN_LENGTHS_FIELD
POSITIVE_SPAN_OFFSETS_FIELD
RESET_HINT_FIELD
SCHEMA_FIELD
START_TIMESTAMP_FIELD
SUM_FIELD
ZERO_COUNT_F64_FIELD
ZERO_COUNT_U64_FIELD
ZERO_THRESHOLD_FIELD

Statics§

NATIVE_HISTOGRAM_VALUE_TYPE 🔒

Functions§

is_native_histogram_value_schema
native_histogram_field_type
Returns the exact Greptime type for a persisted native histogram field.
native_histogram_value_type