diff --git a/REFERENCE.md b/REFERENCE.md index d952c64..c8e7dc3 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -40,7 +40,7 @@ Init class of Thanos module. It can installes Thanos binaries and manages compon #### Examples -##### +##### ```puppet include thanos @@ -394,7 +394,7 @@ This class install Compact as service to continuously compacts blocks in an obje #### Examples -##### +##### ```puppet include thanos::compact @@ -422,7 +422,6 @@ The following parameters are available in the `thanos::compact` class: * [`wait`](#wait) * [`wait_interval`](#wait_interval) * [`downsampling_disable`](#downsampling_disable) -* [`block_sync_concurrency`](#block_sync_concurrency) * [`block_viewer_global_sync_block_interval`](#block_viewer_global_sync_block_interval) * [`compact_concurrency`](#compact_concurrency) * [`delete_delay`](#delete_delay) @@ -579,14 +578,6 @@ Disables downsampling. This is not recommended as querying long time ranges with Default value: ``false`` -##### `block_sync_concurrency` - -Data type: `Integer` - -Number of goroutines to use when syncing block metadata from object storage. - -Default value: `20` - ##### `block_viewer_global_sync_block_interval` Data type: `String` @@ -670,7 +661,7 @@ This class install and manage configuration files like object store and tracing. #### Examples -##### +##### ```puppet include thanos::config @@ -774,7 +765,7 @@ This class install Thanos requirements and binaries. #### Examples -##### +##### ```puppet include thanos::install @@ -971,7 +962,7 @@ This class install Query as service query node exposing PromQL enabled Query API #### Examples -##### +##### ```puppet include thanos::query @@ -1379,7 +1370,7 @@ This class install Query Frontend as service that can be put in front of Thanos #### Examples -##### +##### ```puppet include thanos::query @@ -1598,7 +1589,7 @@ This class install Receiver as service that implements the Prometheus Remote Wri #### Examples -##### +##### ```puppet include thanos::downsample @@ -1941,7 +1932,7 @@ This class install Rule as service ruler evaluating Prometheus rules against giv #### Examples -##### +##### ```puppet include thanos::rule @@ -2352,7 +2343,7 @@ This class install Sidecar as service sidecar for Prometheus server. #### Examples -##### +##### ```puppet include thanos::sidecar @@ -2617,7 +2608,7 @@ This class install Store as service store node giving access to blocks in a buck #### Examples -##### +##### ```puppet include thanos::store @@ -2947,7 +2938,7 @@ This class install Web interface for remote storage bucket. #### Examples -##### +##### ```puppet include thanos::bucket_web @@ -3127,7 +3118,7 @@ Manage Index cache configuration file. #### Examples -##### +##### ```puppet thanos::config::index_cache { '/etc/thanos/index_cache.yaml': @@ -3173,7 +3164,7 @@ Manage Storage configuration file. #### Examples -##### +##### ```puppet thanos::config::storage { '/etc/thanos/storage.yaml': @@ -3227,7 +3218,7 @@ Manage Tracing configuration file #### Examples -##### +##### ```puppet thanos::config::tracing { '/etc/thanos/tracing.yaml': @@ -3270,7 +3261,7 @@ This defined type create component's service. #### Examples -##### +##### ```puppet thanos::resources::service { 'component_name': diff --git a/manifests/compact.pp b/manifests/compact.pp index a1d8912..49aa044 100644 --- a/manifests/compact.pp +++ b/manifests/compact.pp @@ -41,8 +41,6 @@ # @param downsampling_disable # Disables downsampling. This is not recommended as querying long time ranges without non-downsampled data is # not efficient and useful e.g it is not possible to render all samples for a human eye anyway -# @param block_sync_concurrency -# Number of goroutines to use when syncing block metadata from object storage. # @param block_viewer_global_sync_block_interval # Repeat interval for syncing the blocks between local and remote view for /global Block Viewer UI. # @param compact_concurrency @@ -94,7 +92,6 @@ Boolean $wait = false, String $wait_interval = '5m', Boolean $downsampling_disable = false, - Integer $block_sync_concurrency = 20, String $block_viewer_global_sync_block_interval = '1m', Integer $compact_concurrency = 1, String $delete_delay = '48h', @@ -130,7 +127,6 @@ 'wait' => $wait, 'wait-interval' => $wait_interval, 'downsampling.disable' => $downsampling_disable, - 'block-sync-concurrency' => $block_sync_concurrency, 'block-viewer.global.sync-block-interval' => $block_viewer_global_sync_block_interval, 'compact.concurrency' => $compact_concurrency, 'delete-delay' => $delete_delay, diff --git a/spec/classes/compact_spec.rb b/spec/classes/compact_spec.rb index a6a69de..d5bd811 100644 --- a/spec/classes/compact_spec.rb +++ b/spec/classes/compact_spec.rb @@ -39,7 +39,6 @@ 'wait' => false, 'wait-interval' => '5m', 'downsampling.disable' => false, - 'block-sync-concurrency' => 20, 'block-viewer.global.sync-block-interval' => '1m', 'compact.concurrency' => 1, 'delete-delay' => '48h',