Skip to content

Commit 502b305

Browse files
committed
(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.
1 parent 9ce1d3f commit 502b305

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

functions/version_based_excludes.pp

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ function puppet_metrics_collector::version_based_excludes(
1212
# The pe-* metrics are legacy representations that only duplicate data.
1313
['file-sync-storage-service','pe-puppet-profiler','pe-master','pe-jruby-metrics']
1414
}
15+
'console': {
16+
# PE Console has a lot of parameterized routes that can result in
17+
# hundreds of megabytes collected daily from the route metrics.
18+
# This data can be extracted from the console access log if needed.
19+
['comidi-route-metrics']
20+
}
1521
default: {
1622
[]
1723
}

0 commit comments

Comments
 (0)