package
2.3.1+incompatible
Repository: https://github.com/cloudfoundry/log-cache.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewLogCache creates a new LogCache.
NewMemoryAnalyzer creates and returns a new MemoryAnalyzer.
WithAddr configures the address to listen for gRPC requests.
WithClustered enables the LogCache to route data to peer nodes.
WithExternalAddr returns a LogCacheOption that sets address the scheduler will refer to the given node as.
WithLogger returns a LogCacheOption that configures the logger used for the LogCache.
WithMaxPerSource returns a LogCacheOption that configures the store's memory size as number of envelopes for a specific sourceID.
WithMemoryLimit sets the percentage of total system memory to use for the cache.
WithMetrics returns a LogCacheOption that configures the metrics for the LogCache.
WithQueryTimeout sets the maximum allowed runtime of a single PromQL query.
WithServerOpts configures the gRPC server options.
# Structs
LogCache is a in memory cache for Loggregator envelopes.
MemoryAnalyzer reports the available and total memory.
# Type aliases
LogCacheOption configures a LogCache.