Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-623

PMM 1.1.1 mongodb_exporter binary reports PMM version, not mongodb_exporter version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.2.0
    • Component/s: PMM Client
    • Labels:
      None
    • Environment:

      rpm -qf /usr/local/percona/pmm-client/mongodb_exporter
      pmm-client-1.1.1-1.x86_64

    • Sprint:
      27W2017Y (07/3-07/9), 28W2017Y (07/10-07/16 ) R

      Description

      Hey guys,

      When you run '-version' on the mongodb_exporter in PMM, I get the version of pmm-client and not the version of the actual mongodb_exporter:

      [tim@centos7 pmm-client]$ /usr/local/percona/pmm-client/mongodb_exporter -version
      mongodb_exporter version: 1.1.1, git commit hash: c890996b9133a3288530da4a9fb6e6fad067b55f
      [tim@centos7 pmm-client]$ rpm -qf /usr/local/percona/pmm-client/mongodb_exporter
      pmm-client-1.1.1-1.x86_64
      

      The mongodb_exporter code above is actually 0.1.0.

      I don't think we should do this because it adds a layer of confusion when issues with the exporter are reported. I think mongodb_exporter should be reporting the version of github.com/percona/mongodb_exporter, not pmm-client.

      We could make the release versions of pmm-client and mongodb_exporter match if we want them to match, but I think the key is 'mongodb_exporter -version' reports a reliable version that can be traced back to github.com/percona/mongodb_exporter properly.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                nailya.kutlubaeva Nailya Kutlubaeva
                Reporter:
                tim.vaillancourt Tim Vaillancourt (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: