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

FeatureRequest: Metrics should report outdated feeds #341

Open
hbruch opened this issue Jan 7, 2024 · 0 comments
Open

FeatureRequest: Metrics should report outdated feeds #341

hbruch opened this issue Jan 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hbruch
Copy link
Collaborator

hbruch commented Jan 7, 2024

Is your feature request related to a problem? Please describe.
Currently, outdated feeds (lastUpdated + ttl is more than a few update cycles ago) are not reported via metrics.

Goal / high level use-case
We'd to be able to issue monitoring alerts in case a feed has not been updated for a while.

Describe the solution you'd like
Periodically, for every provider and feed, the feed should be checked if it's overdue or not and this metric registered with the metrics service.

Describe alternatives you've considered
None

Additional context
I'm working on a PR which adds a MetricsUpdater(I'm open for better naming suggestions) which every n seconds iterates over all cached feeds and registers the overdue metric (0 (not overdue) / 1 (overdue)). Another option might be the number of seconds overdue (lastUpdated+ ttl - now), which would allow triggering different actions depending on the number of seconds a feed is overdue...

@testower testower added the enhancement New feature or request label Feb 12, 2024
@testower testower added this to the 1.1 (next release) milestone Feb 12, 2024
@testower testower modified the milestones: 1.1, 1.2 (next version) Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants