Skip to content

Question: Usage of Loki Tenant Labels #133

Description

@thikoen

Dear @Lucostus You have a really cool project here. I would like to test the multena proxy inside one of our OpenShift clusters and have deployed an IDP, some example apps, ofc Grafana and Multena.
I now have a question regarding the tenant labels - maybe i missunderstood these.

My understanding:
I can define a label name inside the helm values, after that i can define the label value in e.g. the mentioned configmap.
Example: My app produces logs for loki with this label: namespace=abc, then i would set proxy.loki.tenantLabel = namespace and in my configmap i would set labels.userxyz.abc = true.

Is that correct? Since i am only able to view logs with the admin bypass enabled - with the setup ive described it just gives the error "no tenant label defined".

Would be great if you could answer my question.

Thanks a lot!!

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