-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat: upstream sync #300
feat: upstream sync #300
Conversation
b4a3d69
to
494cfbe
Compare
Pulling scrape configsa. Pull everything that was updated since X timestamp
Push configA. Primary means of pushing to upstreama. use event_queue to push real time changes to upstream, OR B. ReconcileEvery 8 hours, push all results that were updated in the last 48 hours. @moshloop wdyt? |
b8260ac
to
e00153f
Compare
Pulling scrape configs every 5 minutes or so is fine For push I think the event_queue mechanism as the primary is fine + normal reconciliation. We will probably need to included updated_at in the hash, and then in get upstream details return both ids and updated_at on hash mismatch, and only push the difference |
344ed57
to
e3b045f
Compare
🎉 This PR is included in version 0.0.140 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Resolves: #286
Merge after: