Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating pe_metric to include additional metrics as per SUP-346 #1

Closed
wants to merge 1 commit into from
Closed

Conversation

daniel5119
Copy link
Contributor

No description provided.

@daniel5119
Copy link
Contributor Author

On the back of Agile Grooming meeting 15/5 I have added additional metrics as per SUP-346

Copy link
Member

@Sharpie Sharpie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be moved to the puppetserver.pp manifest and wrapped in an if statement that prevents it from activating when the PE version is 2018.1 or newer.

'url' => "puppetserver:name=puppetlabs.${::hostname}.puppetdb.report.convert_to_wire_format_hash" },
{ 'name' => 'puppetdb.command.submit.store report',
'url' => "puppetserver:name=puppetlabs.${::hostname}.puppetdb.command.submit.store report" },
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these metrics are specific to Puppet Server, the should go over to puppetserver.pp. The pe_metric.pp type is shared by all services, so having them here will apply the collection to PuppetDB and Orchestrator, where these measurements are not present.

The metrics should also be collected only if $::pe_server_version is less than 2018.1.0 as we've added these to the core set reported by the /status endpoint.

@Sharpie
Copy link
Member

Sharpie commented Jun 27, 2018

Closing in favor of PR #3.

@Sharpie Sharpie closed this Jun 27, 2018
jarretlavallee pushed a commit that referenced this pull request Jul 11, 2019
Enables use_splunk_hec bool
m0dular pushed a commit to m0dular/puppetlabs-puppet_metrics_collector that referenced this pull request Feb 19, 2020
This commit changes the create and tidy scripts to:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants