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

Feature: Adds new Metric over Time handling #772

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

LordHepipud
Copy link
Collaborator

@LordHepipud LordHepipud commented Jan 27, 2025

This adds new and improved handling for Metrics over Time.

The overall execution time for the background tasks has been reduced, while also the memory management is way more efficient.

In addition to the improved core handling of the feature, performance metrics for metrics over time will NO LONGER BE WRITTEN.

This will increase the performance of the graphing solutions like InfluxDB a lot, while the monitoring by using the "-ThresholdInterval" argument is still possible.

PS> Invoke-IcingaCheckCPU -Warning '5%' -ThresholdInterval '10m';
[WARNING] CPU Load [WARNING] Overall Load, Socket #0
\_ [WARNING] Overall Load: Value 6.546175% is greater than threshold 5% (10m Avg.) 
\_ [WARNING] Socket #0 
     \_ [WARNING] Core 0: Value 18.391566% is greater than threshold 5% (10m Avg.) 
     \_ [WARNING] Core 1: Value 14.100505% is greater than threshold 5% (10m Avg.)
     \_ [WARNING] Core Total: Value 6.546175% is greater than threshold 5% (10m Avg.)
| totalload::ifw_cpu::load=5.804053;5;;0;100 0_0::ifw_cpu::load=18.03764;5;;0;100 0_1::ifw_cpu::load=9.36611;5;;0;100 0_2::ifw_cpu::load=5.830669;5;;0;100 0_3::ifw_cpu::load=0.646737;5;;0;100 0_4::ifw_cpu::load=0.926955;5;;0;100 0_5::ifw_cpu::load=0.016205;5;;0;100 0_total::ifw_cpu::load=5.804053;5;;0;100

@LordHepipud LordHepipud self-assigned this Jan 27, 2025
@cla-bot cla-bot bot added the cla/signed label Jan 27, 2025
@LordHepipud LordHepipud force-pushed the feature/metric_over_time_v2 branch from 1778b0b to fd540e0 Compare January 27, 2025 16:23
@LordHepipud LordHepipud added this to the v1.13.0-Beta3 milestone Jan 27, 2025
@LordHepipud LordHepipud added the Enhancement New feature or request label Jan 27, 2025
@LordHepipud LordHepipud merged commit f5d9ac9 into master Jan 29, 2025
1 check passed
@LordHepipud LordHepipud deleted the feature/metric_over_time_v2 branch January 29, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant