Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-2169

Tenant labels missing on critical path of Rules API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Observatorium
    • None
    • Monitoring - Sprint 213
    • 0

      • Observatorium API doesn’t add a tenant label while writing rules to rules-objstore
      • With the listallrules endpoint, thanos-rule-syncer will try to get all rules by hitting rules-objstore directly (so api#191 won’t work as we’re no longer relying on read path)
      • So the rule file generated by thanos-rule-syncer, which is to be used by Thanos Ruler won’t have any tenant labels, so any resultant series will also not have labels

      Highlighted affected path in the attached diagram.

      A solution would be to enforce tenant labels in the Observatorium API while proxying PUT requests to rules-objstore.

      A/C:

      • Tenant labels should be present in the file used by Thanos Ruler
      • Querier rules endpoint should return rules with tenant label
      • Rule-based metrics should be queryable by the tenant

            samukher@redhat.com Saswata Mukherjee
            samukher@redhat.com Saswata Mukherjee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: