@grow-codes/grafana-loki - v0.1.1
    Preparing search index...

    Function tenantIdProblem

    • Returns the problem with a tenant id (X-Scope-OrgID), or undefined when it is valid. Loki rules: non-empty, at most 150 bytes, not ./.., only [A-Za-z0-9!-_.*'()]. A | joins tenants for a multi-tenant query; it is accepted only when multiTenantQueries is set (the server must enable multi_tenant_queries_enabled), and each part must then be valid.

      Parameters

      • id: string
      • multiTenantQueries: boolean = false

      Returns string | undefined