opensource-observer / oso

Measuring the impact of open source software
https://opensource.observer
Apache License 2.0
66 stars 16 forks source link

Time-series metrics table schema #1773

Closed ryscheng closed 1 month ago

ryscheng commented 1 month ago

What is it?

We probably should brainstorm a good name for this. Some candidates:

This could be as simple as these columns for metrics_by_artifact

Where you'd join against the metrics_v1 table to get more details about the metric itself https://github.com/opensource-observer/oso/issues/1772

This implies that all metrics are calculated first at the artifact level, but can be aggregated in later stages.

A metrics_by_project could similarly look like

ryscheng commented 1 month ago

CC @ccerv1 thoughts?

ryscheng commented 1 month ago

Implemented the scaffolding here, there's lots more to flesh out tho https://github.com/opensource-observer/oso/pull/1899