Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7813

make the metrics created by Loki recording rules available to be queried in the openshift console

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • openshift-4.19
    • Logging
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • 100% To Do, 0% In Progress, 0% Done
    • None
    • None
    • None
    • None
    • None
    • None

      Within Loki its possible to create Prometheus style recording rules [1][2]
      The intended use for the metrics created by these recording rules is for them to be re used in loki custom alerting rule...but we have customers expecting that they can then query the metrics created by these recording rules in the console UI

      Loki is writing the results of these recording rule to prometheus compatible WAL files providing configuration for these metrics to be remote written to an external prometheus instance. 

      When discussing this with Jan the idea of the loki ruler having A thanos sidecar was discussed inorder to allow UWL thanos to add the loki thanos sider car as a query endpoint

      [1] - https://grafana.com/docs/loki/latest/operations/recording-rules/#manage-recording-rules 
      [2] - https://access.redhat.com/solutions/7127739 

              jamparke@redhat.com Jamie Parker
              rhn-support-nigsmith Nigel Smith
              None
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                None
                None