Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 6a9b00d

Browse files
authored
Merge pull request #234 from grafana/fix-grpc-settings
Fixed gRPC settings
2 parents 8e94f55 + 77a76c8 commit 6a9b00d

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- Cortex / Queries: added "Lazy loaded index-headers" and "Index-header lazy load duration"
1616
- Cortex / Compactor: added "Tenants compaction progress", "Average blocks / tenant" and "Tenants with largest number of blocks"
1717
- Alerts: added "CortexMemoryMapAreasTooHigh"
18-
* [ENHANCEMENT] Fine-tuned gRPC keepalive pings to work nicely with Cortex default settings.
18+
* [ENHANCEMENT] Fine-tuned gRPC keepalive pings to work nicely with Cortex default settings. #233 #234
1919
- `-server.grpc.keepalive.min-time-between-pings=10s`
2020
- `-server.grpc.keepalive.ping-without-stream-allowed:true`
2121
* [BUGFIX] Fixed workingset memory panel while rolling out a StatefulSet. #229

cortex/ingester.libsonnet

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@
4141
else {}
4242
),
4343

44-
ingester_statefulset_args:: {
45-
'ingester.wal-enabled': true,
46-
'ingester.checkpoint-enabled': true,
47-
'ingester.recover-from-wal': true,
48-
'ingester.wal-dir': $._config.ingester.wal_dir,
49-
'ingester.checkpoint-duration': '15m',
50-
'-log.level': 'info',
51-
'ingester.tokens-file-path': $._config.ingester.wal_dir + '/tokens',
52-
},
44+
ingester_statefulset_args::
45+
$._config.grpcConfig +
46+
{
47+
'ingester.wal-enabled': true,
48+
'ingester.checkpoint-enabled': true,
49+
'ingester.recover-from-wal': true,
50+
'ingester.wal-dir': $._config.ingester.wal_dir,
51+
'ingester.checkpoint-duration': '15m',
52+
'-log.level': 'info',
53+
'ingester.tokens-file-path': $._config.ingester.wal_dir + '/tokens',
54+
},
5355

5456
ingester_ports:: $.util.defaultPorts,
5557

cortex/query-frontend.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
local container = $.core.v1.container,
33

44
query_frontend_args::
5-
$._config.ringConfig +
5+
$._config.grpcConfig +
66
{
77
target: 'query-frontend',
88

0 commit comments

Comments
 (0)