package
2.2.1+incompatible
Repository: https://github.com/metrico/loki-apache.git
Documentation: pkg.go.dev
# Packages
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
# Functions
IsConnCanceled returns true, if error is from a closed gRPC connection.
LabelsToMetric converts a Labels to Metric Don't do this on any performance sensitive paths.
LogConfig takes a pointer to a config object, marshalls it to YAML and prints each line in REVERSE order The reverse order makes display in Grafana in easier which typically sorts newest entries at the top.
MapToModelLabelSet converts a map into a model.LabelSet.
No description provided by the author
No description provided by the author
ModelLabelSetToMap convert a model.LabelSet to a map[string]string.
No description provided by the author
No description provided by the author
NewSizeReader returns an io.Reader that will have the number of bytes read from r available.
PrintConfig will takes a pointer to a config object, marshalls it to YAML and prints the result to the provided writer unlike LogConfig, PrintConfig prints the object in naturally ocurring order.
RoundToMilliseconds returns milliseconds precision time from nanoseconds.
SnakeCase converts given string `s` into `snake_case`.
No description provided by the author
No description provided by the author
TokenFor generates a token used for finding ingesters from ring.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
The MultiError type implements the error interface, and contains the Errors used to construct it.