Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
a2c2f28
Added mega_user class
pracucci Jun 16, 2020
3363cea
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/94 …
pracucci Jun 17, 2020
1815a63
Fine-tune blocks storage config
pracucci Jun 17, 2020
3964f49
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/96 …
pracucci Jun 17, 2020
41aa70d
Disable tests by default to fix README instructions
amckinley Jun 17, 2020
b87ec2f
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/97 …
tomwilkie Jun 18, 2020
bf55175
Run store-gateway without CPU limits
pracucci Jun 23, 2020
443de56
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/103…
pracucci Jun 23, 2020
f4195ef
Merge branch 'master' into add-clarifying-comment
jtlisi Jun 23, 2020
e5820c5
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/52 …
jtlisi Jun 23, 2020
04d14d0
Use v1 API for Deployment and StatefulSet resources
Jun 25, 2020
30d37b9
Version bump to v1.1.0
Jun 25, 2020
af82850
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/110…
gouthamve Jun 25, 2020
32e2308
Actually include the ruler
Jun 25, 2020
42e05b4
Update config option name
Jun 25, 2020
6f5c7f1
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/112…
tomwilkie Jun 25, 2020
56f59b2
Added ruler_enabled and alertmanager_enabled flags. (https://github.c…
pstibrany Jun 29, 2020
82ab771
Added publish not ready addresses
joe-elliott Jun 30, 2020
78e222b
Removed -experimental.tsdb.store-gateway-enabled flag
pracucci Jul 1, 2020
fbe8643
Added a discovery svc and pointed the querier service at itself
joe-elliott Jul 1, 2020
a2e2b22
lint
joe-elliott Jul 1, 2020
a02b59c
Added PodDisruptionBudget for store-gateway
pracucci Jul 2, 2020
deb23b3
Allow to configure the blocks replication factor
pracucci Jul 2, 2020
e36c2af
Switch store-gateway StatefulSets to Parallel Pod Management
pracucci Jul 2, 2020
7c774cd
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/125…
pracucci Jul 2, 2020
a9ca8e8
Ruler should use metadata cache as well, if configured. (https://gith…
pstibrany Jul 3, 2020
b5b38c2
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/126…
pracucci Jul 6, 2020
7546759
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/118…
joe-elliott Jul 6, 2020
e259402
Allow to customize ingester disk size and class
pracucci Jul 11, 2020
1a03df7
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/136…
pracucci Jul 11, 2020
d3aede7
Version bump to 1.2.0
Jul 17, 2020
dea1138
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/141…
pracucci Jul 20, 2020
366e99c
refactor: use jaeger-agent-mixin
Duologic Jul 20, 2020
59b048a
Switch blocks storage ingesters to Parallel pod management policy and…
pracucci Jul 21, 2020
3c77836
Fixed comment
pracucci Jul 21, 2020
5a51212
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/143…
pracucci Jul 21, 2020
66e79ea
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/142…
Duologic Jul 22, 2020
0c1a3c7
Chunks blocks migration (https://github.com/grafana/cortex-jsonnet/pu…
pstibrany Jul 27, 2020
451f89e
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/121…
pracucci Jul 28, 2020
67fe1ff
refactor(cortex): use first class citizens
Duologic Jul 31, 2020
e9a1740
Update blocks storage CLI flags
pracucci Aug 7, 2020
4eaccc5
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/154…
pracucci Aug 7, 2020
3b4afb7
Do not apply blocks storage config to query-frontend, table-manager a…
pracucci Aug 7, 2020
f87e787
Cleaned up blocks storage config
pracucci Aug 7, 2020
3201fc8
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/155…
pracucci Aug 7, 2020
2aa49ec
Apply chunks-store config if primary or secondary store use chunks. (…
pstibrany Aug 12, 2020
5150802
Enable table manager when using chunks storage as secondary storage e…
pstibrany Aug 12, 2020
73347f3
fix(ksonnet): backwards compatibility with ksonnet
Duologic Aug 24, 2020
875012d
add overrides config to tsdb store-gateway
sandeepsukhani Aug 26, 2020
6080bc4
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/167…
sandeepsukhani Aug 26, 2020
654a891
Add jsonnet for ingester StatefulSet with WAL (https://github.com/gra…
codesome Aug 26, 2020
e464366
Change max query length to 32 days
gouthamve Sep 1, 2020
3c0e87a
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/173…
gouthamve Sep 1, 2020
f23f8f7
Fix ruler S3 config option (https://github.com/grafana/cortex-jsonnet…
amckinley Sep 4, 2020
969ec8b
Add support for local ruler_client_type (https://github.com/grafana/c…
jpdstan Sep 4, 2020
8f86fb8
Support Alertmanager HA
gotjosh Jul 24, 2020
ba90cd6
Setup the gossip port
gotjosh Jul 24, 2020
f838e68
s/isGossiping/isHa
gotjosh Jul 29, 2020
a028494
Bump to 3 replicas by default
gotjosh Sep 4, 2020
9351824
Bump the cortex image, the latest stable is 1.3
gotjosh Sep 4, 2020
e0e6da2
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/147…
gotjosh Sep 4, 2020
a911d41
Fix typo in Alertmanager configuration
gotjosh Sep 4, 2020
787acc8
Alertmanager configuration tweaks
gotjosh Sep 4, 2020
b6a56e8
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/179…
gotjosh Sep 4, 2020
2fe4d94
Remove different name for a headless service
gotjosh Sep 4, 2020
ef4a0bd
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/180…
gotjosh Sep 4, 2020
b713d88
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/153…
jtlisi Sep 9, 2020
f2fa98c
Fix ruler s3 storage configuration
forestsword Aug 31, 2020
560c224
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/171…
pracucci Sep 15, 2020
796511d
Block storage support for s3
forestsword Aug 28, 2020
7f71e61
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/181…
pracucci Sep 21, 2020
869d2c7
Added Azure support to blocks storage
pracucci Sep 21, 2020
680822f
Fixed linter
pracucci Sep 21, 2020
0ad4b2a
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/182…
pracucci Sep 21, 2020
70c3691
Removed the experimental prefix from blocks storage CLI flags
pracucci Sep 23, 2020
bc4f43d
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/184…
pracucci Sep 23, 2020
ddca9be
Lower default ingestion limits and create a new overrides user
gotjosh Sep 23, 2020
f494779
Address review feedback
gotjosh Sep 24, 2020
ebd04c9
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/185…
gotjosh Sep 24, 2020
007ab92
Bump default series limit by 50%
gotjosh Sep 24, 2020
aeb7c21
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/186…
gotjosh Sep 24, 2020
a5fd8e8
Add flusher job for blocks.
pstibrany Sep 25, 2020
c96f81d
Fixed Azure account name/key config
pracucci Sep 28, 2020
0bccf9e
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/190…
pracucci Sep 28, 2020
2f87772
Rename changed flags for 1.4 release.
gouthamve Sep 30, 2020
9936951
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/191…
gouthamve Sep 30, 2020
8c7f703
Make sure only a single ruler rolls out at a time
gouthamve Sep 30, 2020
aa748cb
Cut 1.4.0
pracucci Oct 2, 2020
d8210db
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/195…
pracucci Oct 2, 2020
49b9989
Add overrides exporter
simonswine Oct 9, 2020
c21db60
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/198…
simonswine Oct 12, 2020
3a61f95
Refactor limits and overrides
simonswine Oct 12, 2020
a425699
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/200…
simonswine Oct 12, 2020
0b7aa72
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/192…
gotjosh Oct 13, 2020
4bdfc00
Removed support for ingester.statefulset_replicas
pracucci Oct 29, 2020
5a290e2
Merge branch 'master' into flusher-job-blocks
pstibrany Nov 10, 2020
bdd7a8e
Merge branch 'master' into flusher-job-blocks
pracucci Nov 10, 2020
73104cd
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/187…
pracucci Nov 10, 2020
18d1a4b
Switch compactor statefulset to Parallel pod management policy
pracucci Nov 10, 2020
026e5ab
Cut 1.5.0 release
pracucci Nov 12, 2020
8ff9cbb
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/216…
pracucci Nov 12, 2020
a3208c6
Add ruler limits
gotjosh Nov 9, 2020
fdd325f
Add for the last user
gotjosh Nov 18, 2020
45e900e
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/213…
gotjosh Nov 18, 2020
d72dae5
Enabled compactor sharding
pracucci Nov 20, 2020
94f981a
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/219…
pracucci Nov 20, 2020
d752fa2
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/215…
pracucci Nov 20, 2020
2c01208
Rollback PR 213
pracucci Nov 20, 2020
f0b6efd
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/220…
pracucci Nov 20, 2020
5c3c71a
Re-introduce ruler limits
pracucci Nov 20, 2020
adb95d6
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/221…
gotjosh Nov 20, 2020
e7af91a
[fixup] ruler limits config key name
gotjosh Nov 20, 2020
72b57a0
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/222…
gotjosh Nov 20, 2020
51d8e00
Removed postings-compression-enabled
pracucci Dec 22, 2020
bd5f782
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/232…
pracucci Dec 22, 2020
3019e23
Fine-tuned gRPC keepalive pings settings
pracucci Dec 22, 2020
dfa077e
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/233…
pracucci Dec 22, 2020
aeb5863
Fixed gRPC settings
pracucci Dec 22, 2020
932beee
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/234…
pracucci Dec 22, 2020
9a3d0ac
Release 1.6.0
pracucci Jan 5, 2021
472ec1c
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/237…
pracucci Jan 5, 2021
dffba44
Add option to configure unregister ingesters on shutdown
pracucci Jan 5, 2021
30f9d64
Fixed config
pracucci Jan 5, 2021
b2dd6d5
Improved comment
pracucci Jan 5, 2021
061ed16
Updated doc
pracucci Jan 5, 2021
680189a
Removed ifs
pracucci Jan 5, 2021
eb981b5
Updated comment
pracucci Jan 5, 2021
829021a
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/236…
pracucci Jan 5, 2021
003ca9e
Fixed syntax error
pracucci Jan 5, 2021
a3bf452
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/240…
pracucci Jan 5, 2021
2e64bf6
Remove misleading comment (https://github.com/grafana/cortex-jsonnet/…
pracucci Jan 8, 2021
cca8c2e
Add option to customise the configmap name
gouthamve Jan 11, 2021
4e019ad
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/244…
gouthamve Jan 12, 2021
b327bd6
Fix for real
pracucci Jan 19, 2021
18a162a
Added bucket index flag, and enable bucket index by default. (https:/…
pstibrany Jan 20, 2021
2049ec9
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/253…
pracucci Jan 21, 2021
758d4f8
Cleanup blocks storage config
pracucci Feb 5, 2021
6e91df2
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/257…
pracucci Feb 5, 2021
6f12977
feat: allow for Alertmanager to configure multiple storage backends
jtlisi Feb 8, 2021
e961968
Update cortex/config.libsonnet
jtlisi Feb 23, 2021
8268f43
Update cortex/alertmanager.libsonnet
jtlisi Feb 23, 2021
06fcb95
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/258…
jtlisi Feb 23, 2021
b2de4ff
Release 1.7.0. (https://github.com/grafana/cortex-jsonnet/pull/260)
pstibrany Feb 24, 2021
72aeada
cortex: config: Fix error message for alertmanager_client_type.
umamialex Mar 2, 2021
00dee47
cortex: alertmanager: Remove space in dot notation.
umamialex Mar 2, 2021
4acc87c
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/264…
umamialex Mar 2, 2021
e99bd2c
Up metadata connection limits
gouthamve Mar 3, 2021
b5b73a4
Add flag to enable streaming of chunks. (https://github.com/grafana/c…
pstibrany Mar 17, 2021
892ecb2
Add recording rules to calculate Cortex scaling
tomwilkie Mar 18, 2021
beb8044
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/278…
tomwilkie Mar 19, 2021
37d2c67
chore: update lib to use new API paths
jtlisi Mar 25, 2021
530cc25
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/281…
jtlisi Mar 25, 2021
1a7571b
Create 1.8.0 release. (https://github.com/grafana/cortex-jsonnet/pull…
pstibrany Mar 25, 2021
505c4a3
Do not use deprecated Alertmanager cluster flags
pracucci Mar 31, 2021
23e7aa6
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/285…
pracucci Mar 31, 2021
642a4ff
fix: Update ksonnet-util vendor lock
jdbaldry Mar 31, 2021
3a13fd9
Add function to customize compactor statefulset
pracucci Apr 2, 2021
e58fdfb
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/287…
pracucci Apr 2, 2021
1ce76ab
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/286…
pracucci Apr 2, 2021
a1a1b82
Add querier_service_ignored_labels (https://github.com/grafana/cortex…
tsanghi Apr 9, 2021
a2c66cd
Introduce ingester instance limits to configuration, and add alerts. …
pstibrany Apr 22, 2021
8384ea8
Add `query-scheduler.libsonnet` (https://github.com/grafana/cortex-js…
pstibrany Apr 22, 2021
4283cd4
Replace use of querier.compress-http-responses removed in Cortex 1.9
56quarters May 4, 2021
bd08b7b
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/299…
pracucci May 12, 2021
0a924bc
Enable index-header lazy loading in store-gateway
pracucci May 12, 2021
f5c771a
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/303…
pracucci May 12, 2021
f7b54f2
Do not use deprecated/removed flag -limits.per-user-override-config
pracucci May 12, 2021
12fda45
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/304…
pracucci May 12, 2021
3db36ef
Use new ruler storage config and enable API compression
pracucci May 14, 2021
e5cba39
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/306…
pracucci May 14, 2021
594070b
Changed alertmanager config to use the new storage config
pracucci May 17, 2021
ef7d7f0
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/308…
pracucci May 17, 2021
4257612
Cut release 1.9.0
gouthamve May 18, 2021
70a50df
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/309…
gouthamve May 18, 2021
93cadfa
Mount overrides configmap to alertmanager too
pracucci May 27, 2021
6d491bf
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/315…
pracucci May 27, 2021
48d5ef1
Upgrade memcached
pracucci May 27, 2021
2e3505c
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/316…
pracucci May 27, 2021
f3d45f8
Increase default store-gateway memory request and limit
pracucci Jun 8, 2021
137bff2
Fix
pracucci Jun 8, 2021
abac7d2
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/322…
pracucci Jun 8, 2021
d00e8b4
Set -server.grpc-max-*-msg-size-bytes for ruler and ingester. (https:…
stevesg Jun 14, 2021
95b2e61
Fixed --alertmanager.cluster.peers
pracucci Jun 16, 2021
e601c12
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/329…
pracucci Jun 16, 2021
9ee775c
Set empty alertmanager listen address with 1 replica
hamishforbes Jul 2, 2021
e1285bd
Add option to disable anti-affinity in newIngesterStatefulSet()
pracucci Jul 22, 2021
7acc6b8
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/358…
pracucci Jul 22, 2021
fc6ce7c
Fix alertmanager config change introduced in https://github.com/grafa…
pracucci Jul 22, 2021
8389bb0
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/359…
pracucci Jul 22, 2021
9f114e7
Create another tier with 300K active series
gouthamve Jul 28, 2021
f330b19
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/364…
gouthamve Jul 28, 2021
c08f7f6
Improve config settings based on recent learnings
pracucci Aug 13, 2021
2fa5bcb
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/369…
pracucci Aug 13, 2021
9e78130
Added functions to create query-frontend and querier deployments
pracucci Aug 23, 2021
b751472
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/374…
pracucci Aug 23, 2021
5b73ff7
Added function to create query-scheduler deployment
pracucci Aug 23, 2021
4579b00
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/375…
pracucci Aug 24, 2021
41cff4b
chore: upgrade to latest etcd-operator
jvrplmlmn Mar 1, 2021
f8d8e14
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/263…
jvrplmlmn Aug 24, 2021
7553b4b
Alertmanager: Allow storage configuration to support Azure
gotjosh Aug 25, 2021
608e9ea
remove new line
gotjosh Aug 25, 2021
9a526e6
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/381…
gotjosh Aug 25, 2021
7c5d370
Fix comment on medium_small_user config
colega Aug 27, 2021
2e8b8e5
Remove wrong comment
colega Aug 27, 2021
a453364
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/383…
pracucci Aug 27, 2021
60c5a8b
Add overrides to compactor
gouthamve Sep 2, 2021
9dfcdd0
Split limits config into a variable we can reuse
gouthamve Sep 13, 2021
2f255ac
Review feedback
gouthamve Sep 13, 2021
66b972b
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/391…
gouthamve Sep 13, 2021
ce5f18b
Fix missing ruler limits
gouthamve Sep 13, 2021
5e5f21d
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/392…
gouthamve Sep 13, 2021
67f6503
Alertmanager: Add sharding configuration.
gotjosh Sep 15, 2021
f098a10
Fix `compactor_blocks_retention_period` type in `extra_small_user` (h…
kavirajk Sep 15, 2021
00d8fde
Update rule limits to be inline with customer expectations
gouthamve Sep 15, 2021
484f4a4
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/396…
gouthamve Sep 15, 2021
f1edc62
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/394…
stevesg Sep 16, 2021
a46a22c
Remove max_samples_per_query limit. (https://github.com/grafana/corte…
pstibrany Sep 16, 2021
f7cd61c
Removed chunks storage query sharding config support
pracucci Sep 20, 2021
6739bd4
Add queryEngineConfig
pracucci Sep 20, 2021
765a677
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/399…
pracucci Sep 20, 2021
1b9c03d
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/398…
pracucci Sep 20, 2021
d8a64ea
tsdb: Add multi concurrency and max idle connections store gateway pa…
aknuds1 Nov 2, 2021
fa8552c
Update cortex/tsdb.libsonnet
aknuds1 Nov 2, 2021
163e6a7
Fix formatting
aknuds1 Nov 2, 2021
75ae394
tsdb: Use literal numbers instead of variables
aknuds1 Nov 2, 2021
ca0bdc6
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/414…
aknuds1 Nov 2, 2021
9129be2
cortex: Make ruler object storage support generic
aknuds1 Nov 9, 2021
e3ad382
Remove ruler-storage.gcs.bucket-name for Azure
aknuds1 Nov 9, 2021
4e69f2a
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/415…
aknuds1 Nov 9, 2021
4c565ce
cortex: Define Azure ruler args
aknuds1 Nov 9, 2021
db807aa
Parameterize
aknuds1 Nov 10, 2021
bdc3c89
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/416…
pracucci Nov 15, 2021
13f3133
Further document ingester_stream_chunks_when_using_blocks parameter
aknuds1 Nov 15, 2021
7d46d66
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/417…
pracucci Nov 15, 2021
944570c
Add options to disable anti-affinity
pracucci Nov 17, 2021
98a694e
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/418…
pracucci Nov 17, 2021
e7759ad
Upstream some config improvements
pracucci Nov 22, 2021
2bbb7de
Increased max connections for memcached chunks and index-queries too
pracucci Nov 22, 2021
a1c68bd
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/420…
pracucci Nov 22, 2021
2b1e021
Ruler: Pass `-ruler-storage.s3.endpoint` to ruler when using S3.
stevesg Nov 22, 2021
ec2c846
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/421…
stevesg Nov 22, 2021
3c98410
Allow to create custom store-gateway StatefulSets via newStoreGateway…
pracucci Dec 14, 2021
c592bfb
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/424…
pracucci Dec 14, 2021
bb2c109
Fix newStoreGatewayStatefulSet() to use input container
pracucci Dec 14, 2021
f686b05
Merge pull request https://github.com/grafana/cortex-jsonnet/pull/425…
pracucci Dec 14, 2021
65398c0
Merge commit 'f686b0568542c833f9a31f032b8ef55aa504bf5f' into 20211118…
simonswine Dec 20, 2021
5751c2e
Add CI check for jsonnet manifests
simonswine Dec 20, 2021
2b6f26a
Remove additional git diff in check-mixin
simonswine Dec 20, 2021
82a04e3
Imported cortex-jsonnet CHANGELOG entries from 1.9.0
pracucci Dec 20, 2021
930ec05
Improved CHANGELOG header
pracucci Dec 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
run: make BUILD_IN_CONTAINER=false check-doc
- name: Check Mixin
run: make BUILD_IN_CONTAINER=false check-mixin
- name: Check Jsonnet Manifests
run: make BUILD_IN_CONTAINER=false check-jsonnet-manifests
- name: Check White Noise.
run: make BUILD_IN_CONTAINER=false check-white-noise
- name: Check License Header
Expand Down
105 changes: 103 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,19 +179,120 @@
* [BUGFIX] Distributor: fix bug in query-exemplar where some results would get dropped. #583
* [BUGFIX] Azure storage: only create HTTP client once, to reduce memory utilization. #605

Mixin:

Mixin (changes since `grafana/cortex-jsonnet` `1.9.0`):

* [CHANGE] Update grafana-builder dependency: use $__rate_interval in qpsPanel and latencyPanel. [#372](https://github.com/grafana/cortex-jsonnet/pull/372)
* [CHANGE] `namespace` template variable in dashboards now only selects namespaces for selected clusters. [#311](https://github.com/grafana/cortex-jsonnet/pull/311)
* [CHANGE] `CortexIngesterRestarts` alert severity changed from `critical` to `warning`. [#321](https://github.com/grafana/cortex-jsonnet/pull/321)
* [CHANGE] Dashboards: added overridable `job_labels` and `cluster_labels` to the configuration object as label lists to uniquely identify jobs and clusters in the metric names and group-by lists in dashboards. [#319](https://github.com/grafana/cortex-jsonnet/pull/319)
* [CHANGE] Dashboards: `alert_aggregation_labels` has been removed from the configuration and overriding this value has been deprecated. Instead the labels are now defined by the `cluster_labels` list, and should be overridden accordingly through that list. [#319](https://github.com/grafana/cortex-jsonnet/pull/319)
* [CHANGE] Renamed `CortexCompactorHasNotUploadedBlocksSinceStart` to `CortexCompactorHasNotUploadedBlocks`. [#334](https://github.com/grafana/cortex-jsonnet/pull/334)
* [CHANGE] Renamed `CortexCompactorRunFailed` to `CortexCompactorHasNotSuccessfullyRunCompaction`. [#334](https://github.com/grafana/cortex-jsonnet/pull/334)
* [CHANGE] Renamed `CortexInconsistentConfig` alert to `CortexInconsistentRuntimeConfig` and increased severity to `critical`. [#335](https://github.com/grafana/cortex-jsonnet/pull/335)
* [CHANGE] Increased `CortexBadRuntimeConfig` alert severity to `critical` and removed support for `cortex_overrides_last_reload_successful` metric (was removed in Cortex 1.3.0). [#335](https://github.com/grafana/cortex-jsonnet/pull/335)
* [CHANGE] Grafana 'min step' changed to 15s so dashboard show better detail. [#340](https://github.com/grafana/cortex-jsonnet/pull/340)
* [CHANGE] Replace `CortexRulerFailedEvaluations` with two new alerts: `CortexRulerTooManyFailedPushes` and `CortexRulerTooManyFailedQueries`. [#347](https://github.com/grafana/cortex-jsonnet/pull/347)
* [CHANGE] Removed `CortexCacheRequestErrors` alert. This alert was not working because the legacy Cortex cache client instrumentation doesn't track errors. [#346](https://github.com/grafana/cortex-jsonnet/pull/346)
* [CHANGE] Removed `CortexQuerierCapacityFull` alert. [#342](https://github.com/grafana/cortex-jsonnet/pull/342)
* [CHANGE] Changes blocks storage alerts to group metrics by the configured `cluster_labels` (supporting the deprecated `alert_aggregation_labels`). [#351](https://github.com/grafana/cortex-jsonnet/pull/351)
* [CHANGE] Increased `CortexIngesterReachingSeriesLimit` critical alert threshold from 80% to 85%. [#363](https://github.com/grafana/cortex-jsonnet/pull/363)
* [CHANGE] Changed default `job_names` for query-frontend, query-scheduler and querier to match custom deployments too. [#376](https://github.com/grafana/cortex-jsonnet/pull/376)
* [CHANGE] Split `cortex_api` recording rule group into three groups. This is a workaround for large clusters where this group can become slow to evaluate. [#401](https://github.com/grafana/cortex-jsonnet/pull/401)
* [CHANGE] Increased `CortexIngesterReachingSeriesLimit` warning threshold from 70% to 80% and critical threshold from 85% to 90%. [#404](https://github.com/grafana/cortex-jsonnet/pull/404)
* [CHANGE] Raised `CortexKVStoreFailure` alert severity from warning to critical. #493
* [CHANGE] Increase `CortexRolloutStuck` alert "for" duration from 15m to 30m. #493 #573
* [ENHANCEMENT] cortex-mixin: Make `cluster_namespace_deployment:kube_pod_container_resource_requests_{cpu_cores,memory_bytes}:sum` backwards compatible with `kube-state-metrics` v2.0.0. [#317](https://github.com/grafana/cortex-jsonnet/pull/317)
* [ENHANCEMENT] Cortex-mixin: Include `cortex-gw-internal` naming variation in default `gateway` job names. [#328](https://github.com/grafana/cortex-jsonnet/pull/328)
* [ENHANCEMENT] Ruler dashboard: added object storage metrics. [#354](https://github.com/grafana/cortex-jsonnet/pull/354)
* [ENHANCEMENT] Alertmanager dashboard: added object storage metrics. [#354](https://github.com/grafana/cortex-jsonnet/pull/354)
* [ENHANCEMENT] Added documentation text panels and descriptions to reads and writes dashboards. [#324](https://github.com/grafana/cortex-jsonnet/pull/324)
* [ENHANCEMENT] Dashboards: defined container functions for common resources panels: containerDiskWritesPanel, containerDiskReadsPanel, containerDiskSpaceUtilization. [#331](https://github.com/grafana/cortex-jsonnet/pull/331)
* [ENHANCEMENT] cortex-mixin: Added `alert_excluded_routes` config to exclude specific routes from alerts. [#338](https://github.com/grafana/cortex-jsonnet/pull/338)
* [ENHANCEMENT] Added `CortexMemcachedRequestErrors` alert. [#346](https://github.com/grafana/cortex-jsonnet/pull/346)
* [ENHANCEMENT] Ruler dashboard: added "Per route p99 latency" panel in the "Configuration API" row. [#353](https://github.com/grafana/cortex-jsonnet/pull/353)
* [ENHANCEMENT] Increased the `for` duration of the `CortexIngesterReachingSeriesLimit` warning alert to 3h. [#362](https://github.com/grafana/cortex-jsonnet/pull/362)
* [ENHANCEMENT] Added a new tier (`medium_small_user`) so we have another tier between 100K and 1Mil active series. [#364](https://github.com/grafana/cortex-jsonnet/pull/364)
* [ENHANCEMENT] Extend Alertmanager dashboard: [#313](https://github.com/grafana/cortex-jsonnet/pull/313)
* "Tenants" stat panel - shows number of discovered tenant configurations.
* "Replication" row - information about the replication of tenants/alerts/silences over instances.
* "Tenant Configuration Sync" row - information about the configuration sync procedure.
* "Sharding Initial State Sync" row - information about the initial state sync procedure when sharding is enabled.
* "Sharding Runtime State Sync" row - information about various state operations which occur when sharding is enabled (replication, fetch, marge, persist).
* [ENHANCEMENT] Update gsutil command for `not healthy index found` playbook [#370](https://github.com/grafana/cortex-jsonnet/pull/370)
* [ENHANCEMENT] Added Alertmanager alerts and playbooks covering configuration syncs and sharding operation: [#377 [#378](https://github.com/grafana/cortex-jsonnet/pull/378)
* `CortexAlertmanagerSyncConfigsFailing`
* `CortexAlertmanagerRingCheckFailing`
* `CortexAlertmanagerPartialStateMergeFailing`
* `CortexAlertmanagerReplicationFailing`
* `CortexAlertmanagerPersistStateFailing`
* `CortexAlertmanagerInitialSyncFailed`
* [ENHANCEMENT] Add recording rules to improve responsiveness of Alertmanager dashboard. [#387](https://github.com/grafana/cortex-jsonnet/pull/387)
* [ENHANCEMENT] Add `CortexRolloutStuck` alert. [#405](https://github.com/grafana/cortex-jsonnet/pull/405)
* [ENHANCEMENT] Added `CortexKVStoreFailure` alert. [#406](https://github.com/grafana/cortex-jsonnet/pull/406)
* [ENHANCEMENT] Use configured `ruler` jobname for ruler dashboard panels. [#409](https://github.com/grafana/cortex-jsonnet/pull/409)
* [ENHANCEMENT] Add ability to override `datasource` for generated dashboards. [#407](https://github.com/grafana/cortex-jsonnet/pull/407)
* [ENHANCEMENT] Use alertmanager jobname for alertmanager dashboard panels [#411](https://github.com/grafana/cortex-jsonnet/pull/411)
* [ENHANCEMENT] Added `CortexDistributorReachingInflightPushRequestLimit` alert. [#408](https://github.com/grafana/cortex-jsonnet/pull/408)
* [ENHANCEMENT] Added `CortexReachingTCPConnectionsLimit` alert. #403
* [ENHANCEMENT] Added "Cortex / Writes Networking" and "Cortex / Reads Networking" dashboards. #405
* [ENHANCEMENT] Improved "Queue length" panel in "Cortex / Queries" dashboard. #408
* [ENHANCEMENT] Add `CortexDistributorReachingInflightPushRequestLimit` alert and playbook. #401
* [ENHANCEMENT] Added "Recover accidentally deleted blocks (Google Cloud specific)" playbook. #475
* [ENHANCEMENT] Added support to multi-zone store-gateway deployments. #608 #615
* [BUGFIX] Fixed `CortexIngesterHasNotShippedBlocks` alert false positive in case an ingester instance had ingested samples in the past, then no traffic was received for a long period and then it started receiving samples again. [#308](https://github.com/grafana/cortex-jsonnet/pull/308)
* [BUGFIX] Fixed `CortexInconsistentRuntimeConfig` metric. [#335](https://github.com/grafana/cortex-jsonnet/pull/335)
* [BUGFIX] Fixed scaling dashboard to correctly work when a Cortex service deployment spans across multiple zones (a zone is expected to have the `zone-[a-z]` suffix). [#365](https://github.com/grafana/cortex-jsonnet/pull/365)
* [BUGFIX] Fixed rollout progress dashboard to correctly work when a Cortex service deployment spans across multiple zones (a zone is expected to have the `zone-[a-z]` suffix). [#366](https://github.com/grafana/cortex-jsonnet/pull/366)
* [BUGFIX] Fixed rollout progress dashboard to include query-scheduler too. [#376](https://github.com/grafana/cortex-jsonnet/pull/376)
* [BUGFIX] Upstream recording rule `node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate` renamed. [#379](https://github.com/grafana/cortex-jsonnet/pull/379)
* [BUGFIX] Fixed writes/reads/alertmanager resources dashboards to use `$._config.job_names.gateway`. [#403](https://github.com/grafana/cortex-jsonnet/pull/403)
* [BUGFIX] Span the annotation.message in alerts as YAML multiline strings. [#412](https://github.com/grafana/cortex-jsonnet/pull/412)
* [BUGFIX] Fixed "Instant queries / sec" in "Cortex / Reads" dashboard. #445
* [BUGFIX] Fixed and added missing KV store panels in Writes, Reads, Ruler and Compactor dashboards. #448

Jsonnet (changes since `grafana/cortex-jsonnet` `1.9.0`):

* [CHANGE] Store gateway: set `-blocks-storage.bucket-store.index-cache.memcached.max-get-multi-concurrency`,
`-blocks-storage.bucket-store.chunks-cache.memcached.max-get-multi-concurrency`,
`-blocks-storage.bucket-store.metadata-cache.memcached.max-get-multi-concurrency`,
`-blocks-storage.bucket-store.index-cache.memcached.max-idle-connections`,
`-blocks-storage.bucket-store.chunks-cache.memcached.max-idle-connections`,
`-blocks-storage.bucket-store.metadata-cache.memcached.max-idle-connections` to 100 [#414](https://github.com/grafana/cortex-jsonnet/pull/414)
* [CHANGE] Alertmanager: mounted overrides configmap to alertmanager too. [#315](https://github.com/grafana/cortex-jsonnet/pull/315)
* [CHANGE] Memcached: upgraded memcached from `1.5.17` to `1.6.9`. [#316](https://github.com/grafana/cortex-jsonnet/pull/316)
* [CHANGE] Store-gateway: increased memory request and limit respectively from 6GB / 6GB to 12GB / 18GB. [#322](https://github.com/grafana/cortex-jsonnet/pull/322)
* [CHANGE] Store-gateway: increased `-blocks-storage.bucket-store.max-chunk-pool-bytes` from 2GB (default) to 12GB. [#322](https://github.com/grafana/cortex-jsonnet/pull/322)
* [CHANGE] Ingester/Ruler: set `-server.grpc-max-send-msg-size-bytes` and `-server.grpc-max-send-msg-size-bytes` to sensible default values (10MB). [#326](https://github.com/grafana/cortex-jsonnet/pull/326)
* [CHANGE] Decreased `-server.grpc-max-concurrent-streams` from 100k to 10k. [#369](https://github.com/grafana/cortex-jsonnet/pull/369)
* [CHANGE] Decreased blocks storage ingesters graceful termination period from 80m to 20m. [#369](https://github.com/grafana/cortex-jsonnet/pull/369)
* [CHANGE] Increase the rules per group and rule groups limits on different tiers. [#396](https://github.com/grafana/cortex-jsonnet/pull/396)
* [CHANGE] Removed `max_samples_per_query` limit, since it only works with chunks and only when using `-distributor.shard-by-all-labels=false`. [#397](https://github.com/grafana/cortex-jsonnet/pull/397)
* [CHANGE] Removed chunks storage query sharding config support. The following config options have been removed: [#398](https://github.com/grafana/cortex-jsonnet/pull/398)
* `_config` > `queryFrontend` > `shard_factor`
* `_config` > `queryFrontend` > `sharded_queries_enabled`
* `_config` > `queryFrontend` > `query_split_factor`
* [CHANGE] Rename ruler_s3_bucket_name and ruler_gcs_bucket_name to ruler_storage_bucket_name: [#415](https://github.com/grafana/cortex-jsonnet/pull/415)
* [CHANGE] Fine-tuned rolling update policy for distributor, querier, query-frontend, query-scheduler. [#420](https://github.com/grafana/cortex-jsonnet/pull/420)
* [CHANGE] Increased memcached metadata/chunks/index-queries max connections from 4k to 16k. [#420](https://github.com/grafana/cortex-jsonnet/pull/420)
* [CHANGE] Disabled step alignment in query-frontend to be compliant with PromQL. [#420](https://github.com/grafana/cortex-jsonnet/pull/420)
* [CHANGE] Do not limit compactor CPU and request a number of cores equal to the configured concurrency. [#420](https://github.com/grafana/cortex-jsonnet/pull/420)
* [ENHANCEMENT] Add overrides config to compactor. This allows setting retention configs per user. [#386](https://github.com/grafana/cortex-jsonnet/pull/386)
* [ENHANCEMENT] Added 256MB memory ballast to querier. [#369](https://github.com/grafana/cortex-jsonnet/pull/369)
* [ENHANCEMENT] Update `etcd-operator` to latest version (see https://github.com/grafana/jsonnet-libs/pull/480). [#263](https://github.com/grafana/cortex-jsonnet/pull/263)
* [ENHANCEMENT] Add support for Azure storage in Alertmanager configuration. [#381](https://github.com/grafana/cortex-jsonnet/pull/381)
* [ENHANCEMENT] Add support for running Alertmanager in sharding mode. [#394](https://github.com/grafana/cortex-jsonnet/pull/394)
* [ENHANCEMENT] Allow to customize PromQL engine settings via `queryEngineConfig`. [#399](https://github.com/grafana/cortex-jsonnet/pull/399)
* [ENHANCEMENT] Define Azure object storage ruler args. [#416](https://github.com/grafana/cortex-jsonnet/pull/416)
* [ENHANCEMENT] Added the following config options to allow to schedule multiple replicas of the same service on the same node: [#418](https://github.com/grafana/cortex-jsonnet/pull/418)
* `cortex_distributor_allow_multiple_replicas_on_same_node`
* `cortex_ruler_allow_multiple_replicas_on_same_node`
* `cortex_querier_allow_multiple_replicas_on_same_node`
* `cortex_query_frontend_allow_multiple_replicas_on_same_node`
* [BUGFIX] Alertmanager: fixed `--alertmanager.cluster.peers` CLI flag passed to alertmanager when HA is enabled. [#329](https://github.com/grafana/cortex-jsonnet/pull/329)
* [BUGFIX] Fixed `-distributor.extend-writes` setting on ruler when `unregister_ingesters_on_shutdown` is disabled. [#369](https://github.com/grafana/cortex-jsonnet/pull/369)
* [BUGFIX] Treat `compactor_blocks_retention_period` type as string rather than int.[#395](https://github.com/grafana/cortex-jsonnet/pull/395)
* [BUGFIX] Pass `-ruler-storage.s3.endpoint` to ruler when using S3. [#421](https://github.com/grafana/cortex-jsonnet/pull/421)

### Query-tee

* [ENHANCEMENT] Added `/api/v1/query_exemplars` API endpoint support (no results comparison). #168
Expand Down
15 changes: 12 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# WARNING: do not commit to a repository!
-include Makefile.local

.PHONY: all test test-with-race integration-tests cover clean images protos exes dist doc clean-doc check-doc push-multiarch-build-image license check-license format check-mixin check-mixin-jb check-mixin-mixtool checkin-mixin-playbook build-mixin format-mixin push-multiarch-mimir list-image-targets
.PHONY: all test test-with-race integration-tests cover clean images protos exes dist doc clean-doc check-doc push-multiarch-build-image license check-license format check-mixin check-mixin-jb check-mixin-mixtool checkin-mixin-playbook build-mixin format-mixin check-jsonnet-manifests format-jsonnet-manifests push-multiarch-mimir list-image-targets
.DEFAULT_GOAL := all

# Version number
Expand Down Expand Up @@ -39,9 +39,12 @@ UPTODATE := .uptodate
# path to jsonnetfmt
JSONNET_FMT := jsonnetfmt

# path to the mimir/mixin
# path to the mimir-mixin
MIXIN_PATH := operations/mimir-mixin

# path to the mimir jsonnet manifests
JSONNET_MANIFESTS_PATH := operations/mimir

.PHONY: image-tag
image-tag:
@echo $(IMAGE_TAG)
Expand Down Expand Up @@ -369,7 +372,6 @@ check-white-noise: clean-white-noise

check-mixin: format-mixin check-mixin-jb check-mixin-mixtool check-mixin-playbook
@echo "Checking diff:"
git diff
@git diff --exit-code -- $(MIXIN_PATH) || (echo "Please format mixin by running 'make format-mixin'" && false)

@cd $(MIXIN_PATH) && \
Expand All @@ -396,6 +398,13 @@ build-mixin: check-mixin-jb
format-mixin:
@find $(MIXIN_PATH) -type f -name '*.libsonnet' -print -o -name '*.jsonnet' -print | xargs jsonnetfmt -i

check-jsonnet-manifests: format-jsonnet-manifests
@echo "Checking diff:"
@git diff --exit-code -- $(JSONNET_MANIFESTS_PATH) || (echo "Please format jsonnet manifests by running 'make format-jsonnet-manifests'" && false)

format-jsonnet-manifests:
@find $(JSONNET_MANIFESTS_PATH) -type f -name '*.libsonnet' -print -o -name '*.jsonnet' -print | xargs jsonnetfmt -i

check-tsdb-blocks-storage-s3-docker-compose-yaml:
cd development/tsdb-blocks-storage-s3 && make check

Expand Down
Loading