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

When `mapped` or `mapped_with_journal` returns no values, then exporter fails to generate any metrics

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • None
    • 2.24.0
    • MongoDB_Exporter
    • None
    • 1
    • Yes
    • Yes
    • C/S Core

    Description

      The problem: The last version of exporter doesn't provide mongodb_memory metrics for mapped and mapped_with_journal types.

      So if db.serverStatus().mem command hasn't return values for mapped and mapped_with_journal types then no metrics are generated by exporter.

      The older version of exporter generated zero values in such case.

       

      Scenario: db.serverStatus().mem returns a value

      When: db.serverStatus().mem returns a value
      Then: mapped and mapped_with_journal types must have the value reported by it

      Scenario: db.serverStatus().mem does not returns a value

      When: db.serverStatus().mem returns a value
      Then: mapped and mapped_with_journal types must appear as metrics with 0 value

      *The fix: *Update Total used Mapped Memory element on MongoDB Overview dashboard to display 0 instead of N/A

       

      Attachments

        Activity

          People

            denys.kondratenko Denys Kondratenko
            vadim.yalovets Vadim Yalovets
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 day, 2 hours
                1d 2h

                Smart Checklist