CuBoulder / express_mono

Monolithic Express Profile - contains all bundles
GNU General Public License v2.0
1 stars 2 forks source link

Create endpoint for site metrics #793

Closed jwfuller closed 3 years ago

jwfuller commented 3 years ago

Prometheus uses a scrape model rather than a push model for gathering metrics. We need each site to have an endpoint for scraping these metrics. We should secure this information transfer because it will contain user lists. This will replace atlas_statistics

AlanBCole commented 3 years ago

First try to explain work involved

Main Questions:

Some more background for this issue:

Other Questions

Working plan for this issue:

jwfuller commented 3 years ago

What exactly does 'secure' mean here?

Anonymous users should not be able to access the data, I would look at token based authentication as a start

What are the shortcomings of atlas_statistics that we need to remedy with a new endpoint?

I don't think the Web Express side has any clear failures, Atlas is not the best place to store this data and that is the main thing we are fixing

Will the Atlas API still need to be involved?

Not with metrics

AlanBCole commented 3 years ago

Issue

specific work items