Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

receive/handler: implement tenant label splitting #7256

Merged
merged 4 commits into from
Apr 10, 2024

Commits on Apr 4, 2024

  1. receive/handler: implement tenant label splitting

    Implement splitting incoming HTTP requests along some label inside of
    the timeseries themselves. This functionality is useful when you have
    one big application exposing lots of series and, for instance, you have
    a label `team` that identifies different owners of metrics in that
    application. Then using this you can use that `team` label to have
    different tenants in Thanos.
    
    Only negative thing that I could spot is that if after splitting one of
    the requests fails then that code is used for all tenants and that skews
    the Receiver metrics a little bit. I think that can be left as a TODO
    task.
    
    Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
    GiedriusS committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    eecb49c View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. test/e2e: add more receiver tests

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    f6e545c View commit details
    Browse the repository at this point in the history
  2. thanos/receive: note that splitting takes precendence over HTTP

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    2617ee1 View commit details
    Browse the repository at this point in the history
  3. thanos/receive: fix typo

    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    10879d0 View commit details
    Browse the repository at this point in the history