Directories
¶
| Path | Synopsis |
|---|---|
|
clients
|
|
|
cmd/docker-driver
command
|
|
|
cmd/fluent-bit
command
|
|
|
cmd/promtail
command
|
|
|
pkg/promtail/server/ui
Package ui provides the assets via a virtual filesystem.
|
Package ui provides the assets via a virtual filesystem. |
|
pkg/promtail/targets/windows/win_eventlog
Package win_eventlog Input plugin to collect Windows Event Log messages
|
Package win_eventlog Input plugin to collect Windows Event Log messages |
|
cmd
|
|
|
logcli
command
|
|
|
logql-analyzer
command
|
|
|
loki
command
|
|
|
loki-canary
command
|
|
|
lokitool
command
|
|
|
migrate
command
|
|
|
querytee
command
|
|
|
integration
|
|
|
pkg
|
|
|
bloomgateway
The bloom gateway is a component that can be run as a standalone microserivce target and provides capabilities for filtering ChunkRefs based on a given list of line filter expressions.
|
The bloom gateway is a component that can be run as a standalone microserivce target and provides capabilities for filtering ChunkRefs based on a given list of line filter expressions. |
|
dataobj
Package dataobj holds utilities for working with data objects.
|
Package dataobj holds utilities for working with data objects. |
|
dataobj/consumer/logsobj
Package logsobj provides tooling for creating logs-oriented data objects.
|
Package logsobj provides tooling for creating logs-oriented data objects. |
|
dataobj/index/indexobj
Package indexobj provides tooling for creating index-oriented data objects.
|
Package indexobj provides tooling for creating index-oriented data objects. |
|
dataobj/internal/arrowconv
Package arrowconv provides helper utilities for converting between Arrow and dataset values.
|
Package arrowconv provides helper utilities for converting between Arrow and dataset values. |
|
dataobj/internal/dataset
Package dataset contains utilities for working with datasets.
|
Package dataset contains utilities for working with datasets. |
|
dataobj/internal/result
Package result provides utilities for dealing with iterators that can fail during iteration.
|
Package result provides utilities for dealing with iterators that can fail during iteration. |
|
dataobj/internal/streamio
Package streamio defines interfaces shared by other packages for streaming binary data.
|
Package streamio defines interfaces shared by other packages for streaming binary data. |
|
dataobj/internal/util/bitmask
Package bitmask provides an API for creating and manipulating bitmasks of arbitrary length.
|
Package bitmask provides an API for creating and manipulating bitmasks of arbitrary length. |
|
dataobj/internal/util/bufpool
Package bufpool offers a pool of *bytes.Buffer objects that are placed into exponentially sized buckets.
|
Package bufpool offers a pool of *bytes.Buffer objects that are placed into exponentially sized buckets. |
|
dataobj/internal/util/protocodec
Package protocodec provides utilities for encoding and decoding protobuf messages into files.
|
Package protocodec provides utilities for encoding and decoding protobuf messages into files. |
|
dataobj/internal/util/sliceclear
Package sliceclear provides a way to clear and truncate the length of a slice.
|
Package sliceclear provides a way to clear and truncate the length of a slice. |
|
dataobj/internal/util/symbolizer
Package symbolizer provides a string interning mechanism to reduce memory usage by reusing identical strings.
|
Package symbolizer provides a string interning mechanism to reduce memory usage by reusing identical strings. |
|
dataobj/sections/internal/columnar
Package columnar provides a base implementation for sections which store columnar data using github.com/grafana/loki/v3/pkg/dataobj/internal/dataset.
|
Package columnar provides a base implementation for sections which store columnar data using github.com/grafana/loki/v3/pkg/dataobj/internal/dataset. |
|
dataobj/sections/logs
Package logs defines types used for the data object logs section.
|
Package logs defines types used for the data object logs section. |
|
dataobj/sections/pointers
Package pointers defines types used for the data object pointers section.
|
Package pointers defines types used for the data object pointers section. |
|
dataobj/sections/streams
Package streams defines types used for the data object streams section.
|
Package streams defines types used for the data object streams section. |
|
dataobj/tools
TODO(grobinson): Find a way to move this file into the dataobj package.
|
TODO(grobinson): Find a way to move this file into the dataobj package. |
|
engine/internal/arrowagg
Package arrowagg provides utilities for aggregating Apache Arrow data structures.
|
Package arrowagg provides utilities for aggregating Apache Arrow data structures. |
|
engine/internal/planner/logical
Package logical provides a logical query plan representation for data processing operations.
|
Package logical provides a logical query plan representation for data processing operations. |
|
engine/internal/util/dag
Package dag provides utilities for working with directed acyclic graphs (DAGs).
|
Package dag provides utilities for working with directed acyclic graphs (DAGs). |
|
ingester/index
originally from https://github.com/cortexproject/cortex/blob/868898a2921c662dcd4f90683e8b95c927a8edd8/pkg/ingester/index/index.go but modified to support sharding queries.
|
originally from https://github.com/cortexproject/cortex/blob/868898a2921c662dcd4f90683e8b95c927a8edd8/pkg/ingester/index/index.go but modified to support sharding queries. |
|
kafka
Package kafka provides encoding and decoding functionality for Loki's Kafka integration.
|
Package kafka provides encoding and decoding functionality for Loki's Kafka integration. |
|
limits/client
Package client provides gRPC client implementation for limits service.
|
Package client provides gRPC client implementation for limits service. |
|
limits/frontend
Package frontend contains provides a frontend service for ingest limits.
|
Package frontend contains provides a frontend service for ingest limits. |
|
limits/frontend/client
Package client provides gRPC client implementation for limits-frontend.
|
Package client provides gRPC client implementation for limits-frontend. |
|
logql
Fork of https://raw.githubusercontent.com/cockroachdb/cockroach/065aa74206c9ec9bcd8b9ea2a6c62ddde8aab0a6/pkg/util/treeprinter/tree_printer.go
|
Fork of https://raw.githubusercontent.com/cockroachdb/cockroach/065aa74206c9ec9bcd8b9ea2a6c62ddde8aab0a6/pkg/util/treeprinter/tree_printer.go |
|
logql/bench/cmd/bench
command
|
|
|
logql/bench/cmd/generate
command
|
|
|
logql/bench/cmd/stream
command
|
|
|
logql/log/logfmt
Adapted from https://github.com/go-logfmt/logfmt/ but []byte as parameter instead Original license is MIT.
|
Adapted from https://github.com/go-logfmt/logfmt/ but []byte as parameter instead Original license is MIT. |
|
logql/syntax
This file is taken from the golang text/scanner package so `bufLen` can be set to `maxInputSize`.
|
This file is taken from the golang text/scanner package so `bufLen` can be set to `maxInputSize`. |
|
logqlmodel/metadata
Package metadata provides primitives for recording metadata across the query path.
|
Package metadata provides primitives for recording metadata across the query path. |
|
logqlmodel/stats
Package stats provides primitives for recording metrics across the query path.
|
Package stats provides primitives for recording metrics across the query path. |
|
querier/queryrange
Package contains methods to marshal logqmodel types to queryrange Protobuf types.
|
Package contains methods to marshal logqmodel types to queryrange Protobuf types. |
|
ruler/storage/cleaner
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics.
|
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics. |
|
ruler/storage/instance
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics.
|
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics. |
|
ruler/storage/util
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics.
|
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics. |
|
ruler/storage/wal
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics.
|
This directory was copied and adapted from https://github.com/grafana/agent/tree/main/pkg/metrics. |
|
scratch
Package scratch provides an abstraction for scratch space.
|
Package scratch provides an abstraction for scratch space. |
|
storage/hack
command
|
|
|
storage/stores/shipper/bloomshipper/config
package bloomshipperconfig resides in its own package to prevent circular imports with storage package
|
package bloomshipperconfig resides in its own package to prevent circular imports with storage package |
|
ui
Package ui provides HTTP handlers for the Loki UI and cluster management interface.
|
Package ui provides HTTP handlers for the Loki UI and cluster management interface. |
|
util/arrowtest
Package arrowtest provides utilities for testing Arrow records.
|
Package arrowtest provides utilities for testing Arrow records. |
|
util/fakeauth
Package fakeauth provides middlewares thats injects a fake userID, so the rest of the code can continue to be multitenant.
|
Package fakeauth provides middlewares thats injects a fake userID, so the rest of the code can continue to be multitenant. |
|
util/marshal
Package marshal converts internal objects to loghttp model objects.
|
Package marshal converts internal objects to loghttp model objects. |
|
util/marshal/legacy
Package marshal converts internal objects to loghttp model objects.
|
Package marshal converts internal objects to loghttp model objects. |
|
util/rangeio
Package rangeio provides basic interfaces and utilities for reading ranges of data.
|
Package rangeio provides basic interfaces and utilities for reading ranges of data. |
|
tools
|
|
|
bloom/inspector
command
|
|
|
dataobj-sort
command
|
|
|
deprecated-config-checker
command
|
|
|
doc-generator
command
|
|
|
stream-generator
command
|
|
|
stream-generator/distributor/client
Package client provides gRPC client implementation for distributor service.
|
Package client provides gRPC client implementation for distributor service. |
|
tsdb/index-analyzer
command
|
|
|
tsdb/migrate-versions
command
|
|
|
tsdb/tsdb-map
command
|
Click to show internal directories.
Click to hide internal directories.
