# Functions
DeduplicateSamples removes samples from src* if they are closer to each other than dedupInterval in milliseconds.
GetDedupInterval returns the dedup interval in milliseconds, which has been set via SetDedupInterval.
GetMetricName returns a MetricName from pool.
MarshalMetricNameRaw marshals labels to dst and returns the result.
MustOpenStorage opens storage on the given path with the given retentionMsecs.
NewSearchQuery creates new search query for the given args.
NewTagFilters returns new TagFilters.
PutMetricName returns mn to the pool.
RegexpCacheMaxSizeBytes returns the maximum size in bytes for the cached regexps for tag filters.
RegexpCacheMisses returns the number of cache misses for regexp cache for tag filters.
RegexpCacheRequests returns the number of requests to regexp cache for tag filters.
RegexpCacheSize returns the number of cached regexps for tag filters.
RegexpCacheSizeBytes returns an approximate size in bytes for the cached regexps for tag filters.
RegexpPrefixesCacheMaxSizeBytes returns the maximum size in bytes for cached regexp prefixes for tag filters in bytes.
RegexpPrefixesCacheMisses returns the number of cache misses for regexp prefixes cache.
RegexpPrefixesCacheRequests returns the number of requests to regexp prefixes cache.
RegexpPrefixesCacheSize returns the number of cached regexp prefixes for tag filters.
RegexpPrefixesCacheSizeBytes returns an approximate size in bytes for cached regexp prefixes for tag filters.
SetDataFlushInterval sets the interval for guaranteed flush of recently ingested data from memory to disk.
SetDedupInterval sets the deduplication interval, which is applied to raw samples during data ingestion and querying.
SetFreeDiskSpaceLimit sets the minimum free disk space size of current storage path
The function must be called before opening or creating any storage.
SetLogNewSeries updates new series logging.
SetMaxLabelsPerTimeseries sets the limit on the number of labels per each time series.
SetMaxLabelValueLen sets the limit on the label value length.
SetRetentionTimezoneOffset sets the offset, which is used for calculating the time for indexdb rotation.
SetTagFiltersCacheSize overrides the default size of tagFiltersToMetricIDsCache.
SetTSIDCacheSize overrides the default size of storage/tsid cache.
TimestampToHumanReadableFormat converts the given timestamp to human-readable format.
# Variables
ErrDeadlineExceeded is returned when the request times out.
MetricsWithDroppedLabels is the number of metrics with at least a single dropped label.
TooLongLabelNames is the number of too long label names.
TooLongLabelValues is the number of too long label values.
# Structs
Block represents a block of time series values for a single TSID.
BlockRef references a Block.
IndexDBMetrics contains essential metrics for indexDB.
MetricBlockRef contains reference to time series block for a single metric.
MetricName reperesents a metric name.
MetricRow is a metric to insert into storage.
Metrics contains essential metrics for the Storage.
PartRef is Part reference.
Search is a search for time series.
SearchQuery is used for sending search queries from vmselect to vmstorage.
Storage represents TSDB storage.
TableMetrics contains essential metrics for the table.
Tag represents a (key, value) tag for metric.
TagFilter represents a single tag filter from SearchQuery.
TagFilters represents filters used for filtering tags.
TimeRange is time range.
TopHeapEntry represents an entry from `top heap` used in stats.
TSDBStatus contains TSDB status data for /api/v1/status/tsdb.
TSID is unique id for a time series.