Project

General

Profile

Actions

Feature #26173

closed

Include puppet statistics in telemetry

Added by Lukas Zapletal over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Monitoring
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

USE CASE:

Foreman telemetry stack tracks the performance of a system based on its current runtime. If there were a puppet metric, it would be dramatically simpler to correlate performance changes with system configuration changes.

Technical requirements:

Can a PCP plugin be written for puppet client that tracks the simple results of puppet runs on the system:

- Applied
- Restarted
- Failed
- Restart Failures
- Skipped
- Pending

I'd expect these metrics to only tick up at the conclusion of the puppet run (and mostly just pull them in from the post run status report) and to be zero for all other times.

ANALYSIS:

We can add a new metric that will track number of resources with label of "state". Each report will increase those counters, so monitoring will be able to show rate of resources applied/skipped etc.

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/6521 added
Actions #2

Updated by Tomer Brisker almost 5 years ago

  • Fixed in Releases 1.24.0 added
Actions #3

Updated by Lukas Zapletal almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF