Skip to content

Oc - first versoin of backend cache & metrics db + api layer (dpg_butler)#9

Open
partvishegy wants to merge 3 commits intomainfrom
oc
Open

Oc - first versoin of backend cache & metrics db + api layer (dpg_butler)#9
partvishegy wants to merge 3 commits intomainfrom
oc

Conversation

@partvishegy
Copy link
Collaborator

  • Fix new/core contrib metric.
  • build first version of database: holding caches for dpgdataviewer app, and tracking metrics over time
  • build first version of (dpg_butler) api: serving metrcs and cached details to (future) AI service writing summaries about owners their repos
  • add refresh_cahe.py script capable of scrapeing all repos of all owners (based on input params of course) ready for scheduled runs (so we can track metrics over time and keep our cache fresh)

This PR directly solves:

And takes important steps towards:

we are figuring out the fill datamodel. for now it is fast to make progress in just sqlite. but we are moving to postgres or other in prod.
migration is prepared and updated as the model takes shape.
we are using it both for cache, and to track metrics changes over the long run.
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

Successfully merging this pull request may close these issues.

1 participant