Skip to content

Commit

Permalink
Revert "Adding compactor concurrency flags (rhobs#710)"
Browse files Browse the repository at this point in the history
This reverts commit c13eb8b.
  • Loading branch information
moadz committed Dec 16, 2024
1 parent c13eb8b commit f921543
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"subdir": "configuration"
}
},
"version": "e59b139d57c7d5f60dbc43c061257d5139032e4b",
"version": "e743a6abc673774e60bf37b94e6454e542db46f0",
"sum": "AuUPEXXfd/hxMbKWdURRKaCTBPcTJD4cs9XApBIZbiA="
},
{
Expand Down
6 changes: 0 additions & 6 deletions resources/services/observatorium-metrics-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ objects:
- --downsample.concurrency=1
- --deduplication.replica-label=replica
- --debug.max-compaction-level=3
- --compact.concurrency=${THANOS_COMPACTOR_COMPACT_CONCURRENCY}
- --downsample.concurrency=${THANOS_COMPACTOR_DOWNSAMPLE_CONCURRENCY}
- ${THANOS_COMPACTOR_RETENTION_DISABLE_DOWNSAMPLING}
env:
- name: OBJSTORE_CONFIG
Expand Down Expand Up @@ -4455,10 +4453,6 @@ parameters:
value: 50Gi
- name: THANOS_COMPACTOR_REPLICAS
value: "1"
- name: THANOS_COMPACTOR_COMPACT_CONCURRENCY
value: "1"
- name: THANOS_COMPACTOR_DOWNSAMPLE_CONCURRENCY
value: "1"
- name: THANOS_CONFIG_SECRET
value: thanos-objectstorage
- name: THANOS_IMAGE_TAG
Expand Down
6 changes: 1 addition & 5 deletions services/observatorium-metrics-template-overwrites.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,7 @@ local thanosRuleSyncer = import './sidecars/thanos-rule-syncer.libsonnet';
// Temporary workaround on high cardinality blocks for 2w.
// Since we have only 2w retention, there is no point in having 2w blocks.
// See: https://issues.redhat.com/browse/OBS-437
args+: [
'--debug.max-compaction-level=3',
'--compact.concurrency=${THANOS_COMPACTOR_COMPACT_CONCURRENCY}',
'--downsample.concurrency=${THANOS_COMPACTOR_DOWNSAMPLE_CONCURRENCY}',
] + disableDownsamplingFlag,
args+: ['--debug.max-compaction-level=3'] + disableDownsamplingFlag,
} else c
for c in super.containers
],
Expand Down
2 changes: 0 additions & 2 deletions services/observatorium-metrics-template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ local obs = import 'observatorium.libsonnet';
{ name: 'THANOS_COMPACTOR_MEMORY_REQUEST', value: '1Gi' },
{ name: 'THANOS_COMPACTOR_PVC_REQUEST', value: '50Gi' },
{ name: 'THANOS_COMPACTOR_REPLICAS', value: '1' },
{ name: 'THANOS_COMPACTOR_COMPACT_CONCURRENCY', value: '1' },
{ name: 'THANOS_COMPACTOR_DOWNSAMPLE_CONCURRENCY', value: '1' },
{ name: 'THANOS_CONFIG_SECRET', value: 'thanos-objectstorage' },
{ name: 'THANOS_IMAGE_TAG', value: 'v0.36.0' },
{ name: 'THANOS_IMAGE', value: 'quay.io/thanos/thanos' },
Expand Down

0 comments on commit f921543

Please sign in to comment.