Project

General

Profile

Actions

Bug #40997

closed

mgr/prometheus: Setting scrape_interval breaks cache timeout comparison

Added by Ben Meekhof almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If set by user scrape_interval option is returned as non-float by get_localized_module_option when setting the internal collect_timeout variable. The result is that the cache timeout comparison always returns true and data is never refreshed. The module just keeps returning the cache for every scrape request.


Related issues 3 (0 open3 closed)

Copied to mgr - Backport #41277: mimic: mgr/prometheus: Setting scrape_interval breaks cache timeout comparisonResolvedKonstantin ShalyginActions
Copied to mgr - Backport #41278: luminous: mgr/prometheus: Setting scrape_interval breaks cache timeout comparisonResolvedKonstantin ShalyginActions
Copied to mgr - Backport #41279: nautilus: mgr/prometheus: Setting scrape_interval breaks cache timeout comparisonResolvedNathan CutlerActions
Actions

Also available in: Atom PDF