Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-8630

[art-release] - loki_build_info metric display incorrect branch and version

XMLWordPrintable

    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • VERIFIED
    • Release Note Not Required

      Description of problem:

      It seems loki_build_info metric contains incorrect version and branch values using the ART Loki operator FBC image. The version and branch should correspond to the Loki version update to 3.5.7

      Image: 

      quay.io/redhat-user-workloads/ocp-art-tenant/art-fbc:logging-6.3_v4.18_loki-rhel9-operator

      Version-Release number of selected component (if applicable):

      6.3.3

      How reproducible:

      Always

      Steps to Reproduce:

      1. Deploy LO v6.3.3 using ART FBC builds.

      Actual results:

            {
              "metric": {
                "__name__": "loki_build_info",
                "branch": "HEAD",
                "container": "loki-ingester",
                "endpoint": "metrics",
                "goarch": "amd64",
                "goos": "linux",
                "goversion": "go1.24.11 (Red Hat 1.24.11-1.el9_6)",
                "instance": "10.131.0.68:3100",
                "job": "logging-loki-ingester-http",
                "namespace": "openshift-logging",
                "pod": "logging-loki-ingester-0",
                "revision": "cbeb0827",
                "service": "logging-loki-ingester-http",
                "tags": "netgo",
                "version": "HEAD-cbeb082"
              },
              "value": [
                1769532872.192,
                "1"
              ]
            }

      Expected results:

      {
              "metric": {
                "__name__": "loki_build_info",
                "branch": "upstream-v3.5.7",
                "container": "loki-query-frontend",
                "endpoint": "metrics",
                "goarch": "amd64",
                "goos": "linux",
                "goversion": "go1.24.6 (Red Hat 1.24.6-1.el9_6) X:strictfipsruntime",
                "instance": "10.131.0.36:3100",
                "job": "lokistack-dev-query-frontend-http",
                "namespace": "openshift-logging",
                "pod": "lokistack-dev-query-frontend-5d94c749f8-cx7bs",
                "revision": "56061066358fcf662a7d9dde678be06d096b9b13",
                "service": "lokistack-dev-query-frontend-http",
                "tags": "strictfipsruntime",
                "version": "v3.5.7"
              },
              "value": [
                1769532682.286,
                "1"
              ]
            },

      Additional info:

              rhn-support-kbharti Kabir Bharti
              rhn-support-kbharti Kabir Bharti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: