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

PMM client 2.4.0 QAN not working for MongoDB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Description

      Query Analytics > PMM Query Analytics display no items for Percona Server for MongoDB.

      1. pmm-admin config --server-insecure-tls --server-url=https://admin:<pw>@apvrp18448.uhc.com:444/
        Checking local pmm-agent status...
        pmm-agent is running.
        Registering pmm-agent on PMM Server...
        Registered.
        Configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml updated.
        Reloading pmm-agent configuration...
        Configuration reloaded.
        Checking local pmm-agent status...
        pmm-agent is running.
      1. pmm-admin add mongodb --username=mongodb_exporter --password=<pw> --server-insecure-tls --server-url=https://admin:<pw>@apvrp18448.uhc.com:444/
        MongoDB Service added.
        Service ID : /service_id/bba6eaf8-f70f-4349-bdc1-fc75a5ec0ad9
        Service name: dbvrp56719-mongodb
      1. pmm-admin list
        Service type Service name Address and port Service ID
        MongoDB dbvrp56719-mongodb 127.0.0.1:27017 /service_id/bba6eaf8-f70f-4349-bdc1-fc75a5ec0ad9

      Agent type Status Agent ID Service ID
      pmm_agent Connected /agent_id/0dd4745d-91fd-4f38-a3c7-3cde16ea3951
      node_exporter Running /agent_id/9939807b-04cd-433c-8c47-4fb0b5e7f790
      mongodb_exporter Running /agent_id/93e5a7c4-f8ff-49b6-acc2-1932c888a827 /service_id/bba6eaf8-f70f-4349-bdc1-fc75a5ec0ad9
      mongodb_profiler_agent Running /agent_id/ad7fff39-d21d-4a68-bcd3-05f2ca7d66b5 /service_id/bba6eaf8-f70f-4349-bdc1-fc75a5ec0ad9

      PRIMARY> db.getUser("mongodb_exporter")
      {
      "_id" : "admin.mongodb_exporter",
      "userId" : UUID("0d859b2d-d4de-47a8-9b82-0597c3bdd875"),
      "user" : "mongodb_exporter",
      "db" : "admin",
      "roles" : [

      { "role" : "clusterMonitor", "db" : "admin" }

      ,

      { "role" : "explainRole", "db" : "admin" }

      ,

      { "role" : "read", "db" : "local" }

      ],
      "mechanisms" : [
      "SCRAM-SHA-1",
      "SCRAM-SHA-256"
      ]
      }
      PRIMARY> db.getProfilingStatus()
      {
      "was" : 1,
      "slowms" : 200,
      "ratelimit" : 100,
      "sampleRate" : 1,
      "$clusterTime" : {
      "clusterTime" : Timestamp(1584647771, 1),
      "signature" :

      { "hash" : BinData(0,"vDEKGzXDsu7nGVeZ9W8Lufaxkwk="), "keyId" : NumberLong("6803447201541390338") }

      },
      "operationTime" : Timestamp(1584647771, 1)
      }

        Smart Checklist

          Attachments

          1. image-2020-03-23-16-37-35-380.png
            image-2020-03-23-16-37-35-380.png
            231 kB
          2. screenshot-1.png
            screenshot-1.png
            132 kB
          3. screenshot-2.png
            screenshot-2.png
            149 kB

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                fernando.guillory Fernando Guillory
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: