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

Turn fil-deal-ingester into service #23

Open
4 tasks
Tracked by #181
juliangruber opened this issue Nov 20, 2024 · 7 comments
Open
4 tasks
Tracked by #181

Turn fil-deal-ingester into service #23

juliangruber opened this issue Nov 20, 2024 · 7 comments

Comments

@juliangruber
Copy link
Member

Instead of manually running the script, automate it in a service. This way we can also increase the ingestion frequency.

Add monitoring:

  • no data point received
  • an error happened during processing
  • added below threshold
  • deleted above threshold
@juliangruber juliangruber changed the title Deploy to fly.io Turn into service Nov 20, 2024
@bajtos bajtos changed the title Turn into service Turn fil-deal-ingester into service Nov 20, 2024
@pyropy
Copy link

pyropy commented Dec 16, 2024

This could potentially be automated using github actions.

@juliangruber
Copy link
Member Author

Great idea!

@pyropy
Copy link

pyropy commented Dec 16, 2024

There seems to be a limit on duration and storage for Github runners (in our requirements we state that job between 3 - 5hrs and could take up to 40GB of space). We could self-host Github runners to mitigate this problem.

@pyropy
Copy link

pyropy commented Dec 16, 2024

There seems to be a limit on duration and storage for Github runners (in our requirements we state that job between 3 - 5hrs and could take up to 40GB of space). We could self-host Github runners to mitigate this problem.

Simpler version would be just to run scheduled machines on fly.io

@juliangruber
Copy link
Member Author

@pyropy and me discussed this and agreed that this would be nice to add to M4.12, since it's a quick win and will remove an annoying manual task

@bajtos
Copy link
Member

bajtos commented Dec 19, 2024

It would be great if the new automated process could post a message to Slack with the summary. I think that's the very minimum we need for observability - if we see the message, then we know all is good; if we don't then we know we need to investigate.

**FINISHED INGESTION OF f05 DEALS**
Deleted: 258774
Added: 323142
Updated allocator info for 9 clients

@juliangruber
Copy link
Member Author

Good idea to make this visible. Posting to Slack is one option, tracking in Influx, with Grafana alerts, is another, if we know how to set the alerts.

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

No branches or pull requests

3 participants