Skip to content

Optional endpoints for beta deployments #401

@saswatamcode

Description

@saswatamcode

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. 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions