Skip to content

Commit

Permalink
(SUP-4870) Exclude comidi-route-metrics from Console collection
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Sharpie committed Apr 23, 2024
1 parent 9ce1d3f commit 502b305
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions functions/version_based_excludes.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
[]
}
Expand Down

0 comments on commit 502b305

Please sign in to comment.