The new command should be able to map a time range (tenantmapping --begin="2023-02-24T05:20:26+01:00" --repeat-until="2023-02-24T08:20:26+01:00") from Prometheus control_api_organization_billing_entity_ref into the tenants database.
It tries to handle updated to the timerange gracefully be ending the 'last' range and appending a new one on change.
The new one has an upper bound to infinity or the next higher timerange with the same combination of source and target.
Checklist
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
The new command should be able to map a time range (
tenantmapping --begin="2023-02-24T05:20:26+01:00" --repeat-until="2023-02-24T08:20:26+01:00"
) from Prometheuscontrol_api_organization_billing_entity_ref
into the tenants database.It tries to handle updated to the timerange gracefully be ending the 'last' range and appending a new one on change.
The new one has an upper bound to infinity or the next higher timerange with the same combination of source and target.
Checklist
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelog