-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Currently, to deploy beta instances of various Observatorium components like Thanos Querier, and make them available to end-user tenants (for dogfooding purposes), we would need to deploy new instances of the lightweight Observatorium API as well.
This poses problems as we would need to provision new resources (eg DNS routes) for the duplicated API deployment and have mixed beta/non-beta components configured on the beta API itself (Querier is beta, but maybe not Receive).
A potential idea could be allowing new beta endpoints within the same Observatorium instance, by passing optional flags. For example, specifying --metrics.read.beta.endpoint would enable api/metrics/beta/v1/<tenant>/api/v1/query endpoint on the API and forward requests to the Querier specified by this flag. This flag can even be repeatable.
Thus, one would not need to create a duplicated deployment of Observatorium API and provision resources just for dogfooding one particular component, as it can now be configured on the existing API and made available to tenants at a sub-path.
WDYT? Would love opinions on this, maybe there is something easier than this. 🙂