Skip to content

Commit 24c9203

Browse files
committed
fix format and lint
Signed-off-by: 7h3-3mp7y-m4n <[email protected]>
1 parent 7da904b commit 24c9203

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
* [FEATURE] Ruler: Add support for percentage based sharding for rulers. #6680
1313
* [FEATURE] Ruler: Add support for group labels. #6665
1414
* [FEATURE] Query federation: Introduce a regex tenant resolver to allow regex in `X-Scope-OrgID` value. #6713
15-
[FEATURE] Config: Name validation scheme for metric and label names can be set using the config file (`name_validation_scheme`) as well as a CLI flag (`-name.validation_scheme`)
1615
- Add an experimental `tenant-federation.regex-matcher-enabled` flag. If it enabled, user can input regex to `X-Scope-OrgId`, the matched tenantIDs are automatically involved. The user discovery is based on scanning block storage, so new users can get queries after uploading a block (generally 2h).
1716
- Add an experimental `tenant-federation.user-sync-interval` flag, it specifies how frequently to scan users. The scanned users are used to calculate matched tenantIDs.
1817
* [FEATURE] Experimental Support Parquet format: Implement parquet converter service to convert a TSDB block into Parquet and Parquet Queryable. #6716 #6743
1918
* [FEATURE] Distributor/Ingester: Implemented experimental feature to use gRPC stream connection for push requests. This can be enabled by setting `-distributor.use-stream-push=true`. #6580
2019
* [FEATURE] Compactor: Add support for percentage based sharding for compactors. #6738
2120
* [FEATURE] Querier: Allow choosing PromQL engine via header. #6777
21+
* [FEATURE] Config: Name validation scheme for metric and label names can be set using the config file (`name_validation_scheme`) as well as a CLI flag (`-name.validation_scheme`)
2222
* [ENHANCEMENT] Tenant Federation: Add a # of query result limit logic when the `-tenant-federation.regex-matcher-enabled` is enabled. #6845
2323
* [ENHANCEMENT] Query Frontend: Add a `cortex_slow_queries_total` metric to track # of slow queries per user. #6859
2424
* [ENHANCEMENT] Query Frontend: Change to return 400 when the tenant resolving fail. #6715

pkg/cortex/cortex.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ func New(cfg Config) (*Cortex, error) {
357357
}
358358
os.Exit(0)
359359
}
360+
//nolint:SA1019
360361
if cfg.NameValidationScheme == prom_config.UTF8ValidationConfig {
361362
model.NameValidationScheme = model.UTF8Validation
362363
} else {

0 commit comments

Comments
 (0)