# Functions
Efficiently copies labels input slice.
FloatHistogramProtoToFloatHistogram extracts a float Histogram from the provided proto message.
FloatHistogramToHistogramProto converts a float Histogram to a normal Histogram's protobuf message type.
No description provided by the author
No description provided by the author
FromLabelAdaptersToLabels casts []LabelAdapter to labels.Labels.
FromLabelAdaptersToLabelsWithCopy converts []LabelAdapter to labels.Labels.
FromLabelAdaptersToMetric converts []LabelAdapter to a model.Metric.
FromLabelAdaptersToMetric converts []LabelAdapter to a model.Metric with copy.
FromLabelsToLabelAdapters casts labels.Labels to []LabelAdapter.
FromMetricsToLabelAdapters converts model.Metric to []LabelAdapter.
HistogramPromProtoToHistogramProto converts a prometheus protobuf Histogram to cortex protobuf Histogram.
HistogramProtoToHistogram extracts a (normal integer) Histogram from the provided proto message.
HistogramToHistogramProto converts a (normal integer) Histogram to its protobuf message type.
MetricMetadataMetricTypeToMetricType converts a metric type from our internal client to a Prometheus one.
PreallocTimeseriesSliceFromPool retrieves a slice of PreallocTimeseries from a sync.Pool.
No description provided by the author
ReuseSlice puts the slice back into a sync.Pool for reuse.
ReuseTimeseries puts the timeseries back into a sync.Pool for reuse.
No description provided by the author
No description provided by the author
No description provided by the author
TimeseriesFromPool retrieves a pointer to a TimeSeries from a sync.Pool.
ToWriteRequest converts matched slices of Labels, Samples, Metadata and Histograms into a WriteRequest proto.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
A BucketSpan defines a number of consecutive buckets with their offset.
No description provided by the author
A native histogram, also known as a sparse histogram.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PreallocConfig configures how structures will be preallocated to optimise proto unmarshalling.
PreallocTimeseries is a TimeSeries which preallocs slices on Unmarshal.
PreallocWriteRequest is a WriteRequest which preallocs slices on Unmarshal.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
LabelAdapter is a labels.Label that can be marshalled to/from protos.
No description provided by the author
No description provided by the author