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

better monitoring for rss-puller (and all Producer/Queuer classes) #276

Open
philbudne opened this issue Apr 24, 2024 · 1 comment
Open
Labels
enhancement New feature or request infrastructure
Milestone

Comments

@philbudne
Copy link
Contributor

Since we're no longer always/only fetching RSS files a fixed interval in the past (two days ago), it would be nice to have a way to see the date of the most recently fetched story that has been queued.

Grafana appears to have axis labeling options for date/times: Investigate what it wants: decimal numbers like YYYYMMDD or epoch seconds (since 1970-01-01)?

Investigate:

  • a single gauge for the latest fetch_date queued in the current batch (add record keeping to Producer.queue_story?)
  • two gauges: one for latest, one for oldest (since hist-queuer goes backwards in time, and so do the historical CSV files?)
  • use statsd timer type (which keeps highest/lowest values for all data points in a reporting period). cons: would keep meaningless things like mean/std dev!, graphs would only show data for reporting periods where data was queued, while gauge values "stick" and continue to report whether or not new data has been reported.
@philbudne
Copy link
Contributor Author

Footnote:

I suppose min/max date metrics could be reported for ALL Workers (gathering the info in StorySender.send_story), which would be useful if multiple queues were congested, so you could see what range of dates were being handled where in the pipeline?!

@rahulbot rahulbot added enhancement New feature or request infrastructure labels May 3, 2024
@rahulbot rahulbot added this to the long-term milestone May 3, 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 infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants