Closed coreymbe closed 8 months ago
This commit refactors metrics parsing as we no longer support the legacy metrics collected with older versions of the puppet_metrics_collector.
puppet_metrics_collector
CHANGELOG.md
metadata.json
lib/puppet/application/splunk_hec.rb
parse_metrics()
main
parse_legacy_metrics()
lib/puppet/util/splunk_hec.rb
:default
nil
Puppet.warn_once()
[X] PR title is "(Ticket|Maint) Short Description" [X] Commit title matches PR title
Summary
This commit refactors metrics parsing as we no longer support the legacy metrics collected with older versions of the
puppet_metrics_collector
.Detailed Description
CHANGELOG.md
metadata.json
to include puppet_metrics_collector v.8.0.0.lib/puppet/application/splunk_hec.rb
.parse_metrics()
function; parsing is done directly inmain
.parse_legacy_metrics()
function tolib/puppet/util/splunk_hec.rb
.lib/puppet/util/splunk_hec.rb
.:default
(nil
) for file and line inPuppet.warn_once()
Checklist
[X] PR title is "(Ticket|Maint) Short Description" [X] Commit title matches PR title