Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Implement model instance count for each retrieve_ command #22

Open
tlrh314 opened this issue Aug 18, 2019 · 0 comments
Open

Implement model instance count for each retrieve_ command #22

tlrh314 opened this issue Aug 18, 2019 · 0 comments

Comments

@tlrh314
Copy link
Owner

tlrh314 commented Aug 18, 2019

The data can fluctuate considerably due to scrapers / add_products implementation in the Cece pipeline. So we may want to implement a simple model that holds a timestamp, content_type_pk, and instance pk, and count.

We can then use these timeseries data to monitor the number of certificates/brands/stores/products in our database, and set limits for warnings (e.g. if one Store/Brand suddenly drops from 100 to 40 products).

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

No branches or pull requests

1 participant