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

Log file metric exporter is still following /var/log/containers files.

    • False
    • False
    • NEW
    • VERIFIED
    • Logging (Core) - Sprint 218

      The log file metric exporter is still following files via their /var/log/containers path.

      This is now a symlink to /var/log/pods.

      This works fine, but we should update the exporter to read /var/log/containers directly, since /var/log/containers is deprecated and will eventually go away.

      The exporter is already able to follow symlinks or regular files, so this requires:

      • having it read from the /var/log/pods directory
      • updating its labels regular expression for the format of paths under this directory

       

            [LOG-2242] Log file metric exporter is still following /var/log/containers files.

             Test passed with quay.io/openshift-logging/log-file-metric-exporter:1.1 

            Qiaoling Tang added a comment -  Test passed with quay.io/openshift-logging/log-file-metric-exporter:1.1 

            rhn-engineering-aconway I believe we need to clone this for 5.4 to ensure it gets fixed and

            • fork to support the diff from 5.4 onward
            • likely need to ensure the downstream CPaaS build different versions

            syedriko_sub@redhat.com does this appear to be the case?

            Jeffrey Cantrill added a comment - rhn-engineering-aconway I believe we need to clone this for 5.4 to ensure it gets fixed and fork to support the diff from 5.4 onward likely need to ensure the downstream CPaaS build different versions syedriko_sub@redhat.com does this appear to be the case?

              rhn-engineering-aconway Alan Conway
              rhn-engineering-aconway Alan Conway
              Qiaoling Tang Qiaoling Tang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: