From 502b305d176807c0ccf61fe65bcebf4d1bffdbcb Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Tue, 23 Apr 2024 17:36:09 -0500 Subject: [PATCH] (SUP-4870) Exclude comidi-route-metrics from Console collection This commit updates the default configuration for Console metrics collection to exclude the `comidi-route-metrics` dataset. The console uses heavily parameterized API paths which can result in this dataset containing several megabytes of information, most of which is noise. This can consume several hundreds of megabytes or gigabytes of storage for a day's worth of metrics and can lead to disk space exhaustion if cleanup is not active. If needed, this data can be recovered by analyzing the Console access logs. --- functions/version_based_excludes.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/version_based_excludes.pp b/functions/version_based_excludes.pp index ca7dfebe..b55a8d3b 100644 --- a/functions/version_based_excludes.pp +++ b/functions/version_based_excludes.pp @@ -12,6 +12,12 @@ function puppet_metrics_collector::version_based_excludes( # The pe-* metrics are legacy representations that only duplicate data. ['file-sync-storage-service','pe-puppet-profiler','pe-master','pe-jruby-metrics'] } + 'console': { + # PE Console has a lot of parameterized routes that can result in + # hundreds of megabytes collected daily from the route metrics. + # This data can be extracted from the console access log if needed. + ['comidi-route-metrics'] + } default: { [] }