package
2.4.3
Repository: https://github.com/frelon/loki.git
Documentation: pkg.go.dev

# Functions

Efficiently copies labels input slice.
FromLabelAdaptersToLabels casts []LabelAdapter to labels.Labels.
FromLabelAdaptersToLabelsWithCopy converts []LabelAdapter to labels.Labels.
FromLabelAdaptersToMetric converts []LabelAdapter to a model.Metric.
FromLabelsToLabelAdapters casts labels.Labels to []LabelAdapter.
FromMetricsToLabelAdapters converts model.Metric to []LabelAdapter.
No description provided by the author
No description provided by the author
No description provided by the author
PreallocTimeseriesSliceFromPool retrieves a slice of PreallocTimeseries from a sync.Pool.
No description provided by the author
No description provided by the author
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
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 and Metadata 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

# 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
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Entry
Entry is a log entry with a timestamp.
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
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
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
Stream contains a unique labels set as a string and a set of entries for it.
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
UnimplementedIngesterServer can be embedded to have forward compatible implementations.
UnimplementedPusherServer can be embedded to have forward compatible implementations.
UnimplementedQuerierServer can be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
IngesterClient is the client API for Ingester service.
IngesterServer is the server API for Ingester service.
PusherClient is the client API for Pusher service.
PusherServer is the server API for Pusher service.
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
QuerierClient is the client API for Querier service.
QuerierServer is the server API for Querier service.

# 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
Note, this is not very efficient and use should be minimized as it requires label construction on each comparison.
No description provided by the author
No description provided by the author