Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Fixed
-
None
-
None
-
None
Description
Hello Team,
I'm currently testing our pmm-installation and noticed the pt-mongodb-query-digest that exists on ubuntu toolkit repository is not working properly.
Currently the only output for version:
[email protected]:~# pt-mongodb-query-digest --version
pt-mongodb-query-digest
Version 3.0.4 is
# Totals # Ratio 0.00 (docs scanned/returned) # Attribute pct total min max avg 95% stddev median # ================== === ======== ======== ======== ======== ======== ======= ======== # Count (docs) 0 # Exec Time ms 0 NaN NaN NaN NaN NaN NaN NaN # Docs Scanned 0 NaN NaN NaN NaN NaN NaN NaN # Docs Returned 0 NaN NaN NaN NaN NaN NaN NaN # Bytes recv 0 NaN NaN NaN NaN NaN NaN NaN```
When I expect (from 3.05 version by carlos.salguero
./pt-mongodb-query-digest_linux_amd64 -d foo -u mongodb_exporter -p 127.0.0.1/admin Password: pt-mongodb-query-digest - Mon, 30 Oct 2017 17:11:35 +0000 Host: 127.0.0.1/admin Skipping profiled queries on these collections: [system.profile] # Totals # Ratio 3.00 (docs scanned/returned) # Attribute pct total min max avg 95% stddev median # ================== === ======== ======== ======== ======== ======== ======= ======== # Count (docs) 3 # Exec Time ms 0 0 0 0 0 0 0 0 # Docs Scanned 100 6.00 2.00 2.00 2.00 2.00 0.00 2.00 # Docs Returned 100 2.00 0.00 1.00 0.67 1.00 0.47 1.00 # Bytes sent 100 312.00 80.00 116.00 104.00 116.00 16.97 116.00
Please replace the binaries as soon as possible on our repo.
Regards,
Adamo