package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.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

# Functions

AllUsers returns true to each call and should be used whenever the UsersScanner should not filter out any user due to sharding.
No description provided by the author
HashBlockID returns a 32-bit hash of the block ID useful for ring-based sharding.
ListUsers returns all user IDs found scanning the root of the bucket.
NewIndexCache creates a new index cache based on the input configuration.
No description provided by the author
No description provided by the author
ReadTenantDeletionMark returns tenant deletion mark for given user, if it exists.
TenantDeletionMarkExists checks for deletion mark for tenant.
WriteTenantDeletionMark uploads deletion mark to the tenant location in the bucket.

# Constants

BytesPerPostingInAPostingList is the number of bytes that each posting (series ID) takes in a posting list in the index.
CompactorShardIDExternalLabel is the external label used to store the ID of a sharded block generated by the split-and-merge compactor.
DefaultCloseIdleTSDBInterval is how often are open TSDBs checked for being idle and closed.
No description provided by the author
DefaultPartitionerMaxGapSize is the default max size - in bytes - of a gap for which the store-gateway partitioner aggregates together two bucket GET object requests.
DefaultPostingOffsetInMemorySampling represents default value for --store.index-header-posting-offsets-in-mem-sampling.
DefaultPostingsForMatchersCacheMaxBytes setting puts a limit cap on the per-TSDB head/block max PostingsForMatchers() cache size in bytes.
DeletionMarkCheckInterval is how often to check for tenant deletion mark.
DeprecatedIngesterIDExternalLabel is the external label containing the ingester ID, set when shipping blocks to the storage.
DeprecatedShardIDExternalLabel is deprecated.
DeprecatedTenantIDExternalLabel is the external label containing the tenant ID, set when shipping blocks to the storage.
EstimatedMaxChunkSize is average max of chunk size.
EstimatedSeriesP99Size is the size in bytes of a single series in the TSDB index.
IndexCacheBackendDefault is the value for the default index cache backend.
IndexCacheBackendInMemory is the value for the in-memory index cache backend.
IndexCacheBackendMemcached is the value for the Memcached index cache backend.
IndexCacheBackendRedis is the value for the Redis index cache backend.
MaxSeriesSize is an estimated worst case for a series size in the index.
NewBlockDiscoveryDelayMultiplier is the factor used (multiplied with BucketStoreConfig.SyncInterval) to determine when querying a newly uploaded block is required.
OutOfOrderExternalLabel is the external label used to mark blocks containing out-of-order data.
OutOfOrderExternalLabelValue is the value to be used for the OutOfOrderExternalLabel label.
Relative to user-specific prefix.

# Structs

BlocksStorageConfig holds the config information for the blocks storage.
No description provided by the author
BucketStoreConfig holds the config information for Bucket Stores used by the querier and store-gateway.
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
TSDBConfig holds the config for TSDB opened in the ingesters.
No description provided by the author

# Type aliases

DurationList is the block ranges for a tsdb.