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

Automate pulling of RSS statistics from the website #1694

Closed
2 tasks done
ehelms opened this issue Dec 9, 2021 · 6 comments · Fixed by #1697
Closed
2 tasks done

Automate pulling of RSS statistics from the website #1694

ehelms opened this issue Dec 9, 2021 · 6 comments · Fixed by #1697
Assignees

Comments

@ehelms
Copy link
Member

ehelms commented Dec 9, 2021

Infrastructure SIG notes:

  • Currently a manual process to login to web01 every 3 weeks and pull the data
  • Blocks moving the website to the CDN as these stats would be lost (see osuosl migration: logging for fastly #1465)
  • A dashboard would be nice
  • We should automate the pulling process

While working on this, privacy of users should be respected. We only log a very minimal amount (just the Foreman version). The IPs are hashed during processing but they are needed to check for uniqueness of instances.

Action Items

@ekohl
Copy link
Member

ekohl commented Dec 9, 2021

Blocks moving the website to the CDN as these stats would be lost

See #1465 for that.

@ehelms ehelms linked a pull request Dec 13, 2021 that will close this issue
@evgeni
Copy link
Member

evgeni commented Dec 13, 2021

b125154 contains the automation of RSS data pulling,

the dashboard is technically a new feature, which is kinda outside of the "automate pulling" scope?

@ekohl
Copy link
Member

ekohl commented Dec 13, 2021

It would be good to wait until the cronjob has ran at least once before closing this.

@evgeni
Copy link
Member

evgeni commented Dec 13, 2021

I did run it once manually, if that helps ;)

@ekohl
Copy link
Member

ekohl commented Dec 21, 2021

Looks like it did run once:

Dec 15 05:07:16 web01 run-parts(/etc/cron.weekly)[9250]: starting rss-stat
Dec 15 05:07:17 web01 run-parts(/etc/cron.weekly)[9257]: finished rss-stat

However, the timestamps in /var/log/rss-stat indicate no file was created yet since Dec 13. Probably because that manually processed all files already.

I'm a day early with checking.

@ekohl
Copy link
Member

ekohl commented Dec 22, 2021

Looks like it was created:

-rw-r--r--. 1 root root  987204 Dec 22 06:44 rss-stat-20211219.gz

Given this was said:

A dashboard would be nice

I think we should scope this issue to just the pulling (which is done). If a dashboard or other processing is desired, this should be created as a new issue and I'd be in favor of closing this as resolved now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants