oxidecomputer / omicron

Omicron: Oxide control plane
Mozilla Public License 2.0
244 stars 38 forks source link

Metrics: Add `collection_type` attribute to capacity usage targets to distinguish between aggregation levels #6653

Open askfongjojo opened 5 days ago

askfongjojo commented 5 days ago

The following timeseries only provide an id field which can be a rack or silo or project id (in the future, we may add a fleet-level rollup as well when there are multiple racks):

It'll be very useful to capture the collection_type from the metrics source (which I believe currently is the virtual_provisioning_collection database table) so that users can graph these usage metrics separately based on the aggregation level.