Closed ryscheng closed 1 month ago
We probably should brainstorm a good name for this. Some candidates:
This could be as simple as these columns for metrics_by_artifact
metrics_by_artifact
metric_id
artifact_id
sample_date
amount
unit
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
metrics_v1
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
metrics_by_project
project_id
CC @ccerv1 thoughts?
Implemented the scaffolding here, there's lots more to flesh out tho https://github.com/opensource-observer/oso/pull/1899
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
metric_id
artifact_id
sample_date
amount
unit
(e.g. ETH, USD) - optionalWhere you'd join against the
metrics_v1
table to get more details about the metric itself https://github.com/opensource-observer/oso/issues/1772This 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 likemetric_id
project_id
sample_date
amount
unit