# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewConfigWatcher creates a new ConfigWatcher.
No description provided by the author
Utils for initializing.
No description provided by the author
No description provided by the author
NewLimiter creates a new *Limiter given a configuration and prometheus registerer.
newMultiHashring creates a multi-tenant hashring for a given slice of groups.
NewMultiTSDB creates new MultiTSDB.
NewNopConfig creates a no-op config content (no configuration).
No description provided by the author
No description provided by the author
No description provided by the author
ParseConfig parses the raw configuration content and returns a HashringConfig.
ParseLimitConfigContent parses the limit configuration from the path or content.
ParseRootLimitConfig parses the root limit configuration.
WithMetricNameFilterEnabled enables metric name filtering on TSDB clients.
# Constants
No description provided by the author
No description provided by the author
AllTenantsQueryParam is the query parameter for getting TSDB stats for all tenants.
No description provided by the author
No description provided by the author
DefaultReplicaHeader is the default header used to designate the replica count of a write request.
DefaultStatsLimit is the default value used for limiting tenant stats.
No description provided by the author
LimitStatsQueryParam is the query parameter for limiting the amount of returned TSDB stats.
No description provided by the author
No description provided by the author
No description provided by the author
SectionsPerNode is the number of sections in the ring assigned to each node in the ketama hashring.
TenantMatcherGlob matches tenants using glob patterns.
TenantMatcherTypeExact matches tenants exactly.
# Variables
ErrNotReady is returned if the underlying storage is not ready yet.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigWatcher is able to watch a file containing a hashring configuration for updates.
No description provided by the author
No description provided by the author
No description provided by the author
Handler serves a Prometheus remote write receiving HTTP endpoint.
HashringConfig represents the configuration for a hashring a receive node knows about.
Limiter is responsible for managing the configuration and initialization of different types that apply limits to the Receive instance.
No description provided by the author
Options for the web Handler.
ReadyStorage implements the Storage interface while allowing to set the actual storage at a later point in time.
Wraps storage.Appender to add validation and logging.
RootLimitsConfig is the root configuration for limits.
UnRegisterer is a Prometheus registerer that ensures that collectors can be registered by unregistering already-registered collectors.
A tenant might not always have limits configured, so things here must use pointers.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Appendable returns an Appender.
Hashring finds the correct node to handle a given time series for a specified tenant.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
HashringAlgorithm is the algorithm used to distribute series in the ring.
MultiTSDBOption is a functional option for MultiTSDB.
No description provided by the author
No description provided by the author
SingleNodeHashring always returns the same node.
TenantsWriteLimitsConfig is a map of tenant IDs to their *WriteLimitConfig.