Skip to content

Conversation

@UiP9AV6Y
Copy link

@UiP9AV6Y UiP9AV6Y commented Sep 8, 2024

this change parses additional sections from the report metrics.

while all section have a total metric, some have additional information which is also exposed by the collector. for good measure additional testdata was added representing various major puppet versions. the reports where generated using puppet apply --test against a minimal catalog. the puppet5 report was generated by a puppet installation from Ubuntu 18.04 upstream, while the others where generated from a Puppet installation from the Puppetlabs repo (also against an Ubuntu 18.04 container)


This change is Reviewable

@UiP9AV6Y UiP9AV6Y force-pushed the feature_report_metrics branch from 486f065 to c6c0590 Compare September 8, 2024 18:48
this change parses additional sections from the report metrics.

while all section have a *total* metric, some have additional
information which is also exposed by the collector. for good measure
additional testdata was added representing various major puppet
versions. the reports where generated using `puppet apply --test`
against a minimal catalog. the puppet5 report was generated by
a puppet installation from Ubuntu 18.04 upstream, while the others
where generated from a Puppet installation from the Puppetlabs
repo (also against an Ubuntu 18.04 container)

Signed-off-by: Gordon Bleux <33967640+UiP9AV6Y@users.noreply.github.com>
@UiP9AV6Y UiP9AV6Y force-pushed the feature_report_metrics branch from c6c0590 to c741935 Compare September 9, 2024 08:40
@giacomd
Copy link

giacomd commented Nov 13, 2025

@eriksw do you think you could have a look and merge this anytime soon?
We are considering using your agent exporter and this MR works well in our test environment.
If you accept/merge in then we will contribute a couple of extra features (config retrieval time, configurable puppet.conf section, systemd unit, RPM packaging) that we need to deploy in production at CERN and that we are/will be testing over at https://github.com/cernops/puppet-agent-exporter.
Thanks!
Giacomo - CERN Configuration Management Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants