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

Allow OpenShift users to configure query log file for Prometheus

XMLWordPrintable

    • Monitoring - Sprint 207, Monitoring - Sprint 208, Monitoring - Sprint 209, Monitoring - Sprint 210

      While investigating BZ 1982302, metrics were quick to identify that one of the Prometheus instances was receiving an abnormal amount of HTTP requests but the engineering and support teams have spent a lot of time trying to identify the originator of the requests. Eventually it was discovered that most of them originated from a 3rd party tool running periodic queries on the Kube metrics API. At the Prometheus level, it is possible to configure a query log file which would provide more insights on the queries being executed (this is similar to the Apache access logs but for the PromQL engine).

      DoD:

      • Cluster admins can enable the query log for both platform and user-workload Prometheus.
      • The option is documented with an emphasis that query log should only be enabled temporarily because there's no support of log rotation.

            pgough@redhat.com Philip Gough
            spasquie@redhat.com Simon Pasquier
            Junqi Zhao Junqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: