Not the answer you need?
Register and ask your own question!

Add mongodb client ,but can't show in grafana.

kaky2000kaky2000 ContributorCurrent User Role Beginner
Add mongodb client ,but can't show in grafana.

Comments

  • MykolaMykola Percona Percona Staff Role
    Hi kaky2000,

    can you share the output of command?
  • kaky2000kaky2000 Contributor Current User Role Beginner
    Plz have a look.
  • MykolaMykola Percona Percona Staff Role
    hm is all MongoDB dashboards don't work or only one?

    can you check if data exists in prometheus?
    • open url
    • put metric into "Expression" field
    • click "Execute" button
    • choose "Graph" tab
    • make screenshot
    and the same thing for metric?
  • kaky2000kaky2000 Contributor Current User Role Beginner
    Appreciates so much.
    I have 6 mongodb clients(zcpzjjr1..zcpzjjr3) ,they work ,but when i add another 3 clients,they can't show in grafana,which name is cpzx1....
    you could check the pic.
  • MykolaMykola Percona Percona Staff Role
    Hi kaky2000 ,

    sorry, Could you please make screenshots one more time, I need to see full metric names in the legend of the graph?
  • kaky2000kaky2000 Contributor Current User Role Beginner
    metric don't exist, screenshots is another metric
  • MykolaMykola Percona Percona Staff Role
    mongodb_exporter_last_scrape_duration_seconds metric don't exist
    can you make a screenshot of targets page? http://PMM-Server-IP/prometheus/targets
    are all hosts exists on it?
    what PMM Server version do you use?
  • kaky2000kaky2000 Contributor Current User Role Beginner
    all hosts exists on it? yes, you can see three mongo clients in the red square,which can't show in the grafana.
    and the version is 1.1.5
  • MykolaMykola Percona Percona Staff Role
    ah, these hosts not exist in any cluster...

    could you change the host filter?
    0. open needed dashboard.
    1. click on settings button
    2. click ""
    3. click on " variable
    4. change ""
    5. click "update" button
    6. save dashboard (diskette icon)
  • kaky2000kaky2000 Contributor Current User Role Beginner
    It work,thank you so much.
  • MykolaMykola Percona Percona Staff Role
    thank you for your bug report
    I created the ticket https://jira.percona.com/browse/PMM-1289
    feel free to add any additional information into it
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.