diff --git a/docs/blocks-storage/querier.md b/docs/blocks-storage/querier.md index 6ccc555526..4a83e4972c 100644 --- a/docs/blocks-storage/querier.md +++ b/docs/blocks-storage/querier.md @@ -2290,7 +2290,7 @@ blocks_storage: # compacted blocks. expanded_postings_cache: # If enabled, ingesters will cache expanded postings for the head block. - # Only queries with with an equal matcher for metric __name__ are cached. + # Only queries with an equal matcher for metric __name__ are cached. head: # Whether the postings cache is enabled or not # CLI flag: -blocks-storage.expanded_postings_cache.head.enabled diff --git a/docs/blocks-storage/store-gateway.md b/docs/blocks-storage/store-gateway.md index ee95f9c7e1..955a7891a7 100644 --- a/docs/blocks-storage/store-gateway.md +++ b/docs/blocks-storage/store-gateway.md @@ -2343,7 +2343,7 @@ blocks_storage: # compacted blocks. expanded_postings_cache: # If enabled, ingesters will cache expanded postings for the head block. - # Only queries with with an equal matcher for metric __name__ are cached. + # Only queries with an equal matcher for metric __name__ are cached. head: # Whether the postings cache is enabled or not # CLI flag: -blocks-storage.expanded_postings_cache.head.enabled diff --git a/docs/configuration/config-file-reference.md b/docs/configuration/config-file-reference.md index 70e035b35f..9fd5b281df 100644 --- a/docs/configuration/config-file-reference.md +++ b/docs/configuration/config-file-reference.md @@ -3004,7 +3004,7 @@ tsdb: # compacted blocks. expanded_postings_cache: # If enabled, ingesters will cache expanded postings for the head block. - # Only queries with with an equal matcher for metric __name__ are cached. + # Only queries with an equal matcher for metric __name__ are cached. head: # Whether the postings cache is enabled or not # CLI flag: -blocks-storage.expanded_postings_cache.head.enabled diff --git a/docs/configuration/v1-guarantees.md b/docs/configuration/v1-guarantees.md index 345bdd5ee0..d4be5c4241 100644 --- a/docs/configuration/v1-guarantees.md +++ b/docs/configuration/v1-guarantees.md @@ -9,7 +9,7 @@ For the v1.0 release, we want to provide the following guarantees: ## Flags, Config and minor version upgrades -Upgrading cortex from one minor version to the next should "just work"; that being said, we don't want to bump the major version every time we remove a flag, so we will will keep deprecated flags around for 2 minor release. There is a metric (`deprecated_flags_inuse_total`) you can alert on to find out if you're using a deprecated flag. +Upgrading cortex from one minor version to the next should "just work"; that being said, we don't want to bump the major version every time we remove a flag, so we will keep deprecated flags around for 2 minor release. There is a metric (`deprecated_flags_inuse_total`) you can alert on to find out if you're using a deprecated flag. Similarly to flags, minor version upgrades using config files should "just work". If we do need to change config, we will keep the old way working for two minor version. There will be a metric you can alert on for this too. diff --git a/docs/proposals/api_design.md b/docs/proposals/api_design.md index 2c666d4438..b7ec4c8f21 100644 --- a/docs/proposals/api_design.md +++ b/docs/proposals/api_design.md @@ -16,7 +16,7 @@ The purpose of this design document is to propose a set of standards that should ## Current Design -As things currently stand, the majority of HTTP API calls exist under the `/api/prom` path prefix. This prefix is configurable. However, since this prefix is shared between all the modules which leads to conflicts if the Alertmanager is attempted to be run as as part of the single binary (#1722). +As things currently stand, the majority of HTTP API calls exist under the `/api/prom` path prefix. This prefix is configurable. However, since this prefix is shared between all the modules which leads to conflicts if the Alertmanager is attempted to be run as part of the single binary (#1722). ## Proposed Design diff --git a/docs/proposals/scalable-alertmanager.md b/docs/proposals/scalable-alertmanager.md index 662919e80d..e9f1fe6444 100644 --- a/docs/proposals/scalable-alertmanager.md +++ b/docs/proposals/scalable-alertmanager.md @@ -75,4 +75,4 @@ Under the assumption we implement the options proposed above, our architecture l **GET /api/v1/alerts and /api/v1/alerts/group** uses the ring to find the right alertmanager replicas for the given tenant. They read from a quorum of alertmanager replicas and return an union of the results. -**Alertmanager state is replicated between instances to keep them in sync**. Where the state is replicated to to is controlled by the ring. +**Alertmanager state is replicated between instances to keep them in sync**. Where the state is replicated to is controlled by the ring. diff --git a/pkg/storage/tsdb/expanded_postings_cache.go b/pkg/storage/tsdb/expanded_postings_cache.go index baa8665b9d..fa560d00e1 100644 --- a/pkg/storage/tsdb/expanded_postings_cache.go +++ b/pkg/storage/tsdb/expanded_postings_cache.go @@ -77,7 +77,7 @@ func NewPostingCacheMetrics(r prometheus.Registerer) *ExpandedPostingsCacheMetri } type TSDBPostingsCacheConfig struct { - Head PostingsCacheConfig `yaml:"head" doc:"description=If enabled, ingesters will cache expanded postings for the head block. Only queries with with an equal matcher for metric __name__ are cached."` + Head PostingsCacheConfig `yaml:"head" doc:"description=If enabled, ingesters will cache expanded postings for the head block. Only queries with an equal matcher for metric __name__ are cached."` Blocks PostingsCacheConfig `yaml:"blocks" doc:"description=If enabled, ingesters will cache expanded postings for the compacted blocks. The cache is shared between all blocks."` // LazyMatcherMaxCardinality configures the maximum label cardinality threshold for diff --git a/schemas/cortex-config-schema.json b/schemas/cortex-config-schema.json index e8bceaa8b0..4a45fe5668 100644 --- a/schemas/cortex-config-schema.json +++ b/schemas/cortex-config-schema.json @@ -3530,7 +3530,7 @@ "type": "object" }, "head": { - "description": "If enabled, ingesters will cache expanded postings for the head block. Only queries with with an equal matcher for metric __name__ are cached.", + "description": "If enabled, ingesters will cache expanded postings for the head block. Only queries with an equal matcher for metric __name__ are cached.", "properties": { "enabled": { "default": false,