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

Allow to query alerts of application namespaces as an application user using API

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Normal Normal
    • openshift-4.15
    • None
    • None
    • Query alerts via tenancy port
    • False
    • None
    • False
    • Not Selected
    • NEW
    • To Do
    • MON-3159Technical Debt
    • NEW
    • 0% To Do, 0% In Progress, 100% Done
    • MON Sprint 246, MON Sprint 247

      1. Proposed title of this feature request

      Allow to query alerts of application namespaces as an application user.

      Today the rules tenancy port is not exposing the alerts endpoint. As shown by spasquie@redhat.com

      only the /api/v1/rules endpoint is exposed by the rules tenancy port:

      https://github.com/openshift/cluster-monitoring-operator/blob/112b225d7ad2ee6af4ae877c33d5f1497260087c/assets/thanos-querier/deployment.yaml#L197

      Acceptance criteria:

      • Provided that the HTTP request contains a "namespace" parameter, the user can query the /api/v1/alerts endpoint via the rules tenancy (9093) port of Thanos querier.
      • End-to-end tests ensuring that the above criteria are met.

              janantha@redhat.com Jayapriya Pai
              rh-ee-rfloren Roger Florén
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: