Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[datastore] Rework metric producer upsertion (oxidecomputer#6759)
This is staged on top of oxidecomputer#6748 and is based on @bnaecker's [suggestion on that PR](oxidecomputer#6748 (comment)). This changes `DataStore::producer_endpoint_create()` from "the caller must specify the Oximeter ID they want to be assigned to the new producer" (which required them to first list and choose an Oximeter) to "the caller does _not_ provide an Oximeter ID, and instead we choose one randomly in a CTE". I don't think this _fixes_ oxidecomputer#323, per se, but maybe it reworks this area enough that we can close it as no longer relevant?
- Loading branch information