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: update tenant label #83

Merged
merged 1 commit into from
Jan 31, 2024

Commits on Jan 31, 2024

  1. receive/handler: update tenant label

    After relabeling_configs section Prometheus drops all labels that start
    with `__`. Technically we could move adding of `__meta_tenant_id` to
    `metric_relabel_configs` but then meta-metric like `up` and others do
    not have that `__meta_tenant_id` because, apparently, Prometheus takes
    labels from after the `relabel_configs` section. Hence, let's just add
    something human-readable. It doesn't matter much either way to the user
    because this label gets removed.
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    09033c9 View commit details
    Browse the repository at this point in the history