Description:
Mongodb collection overview page showing no data
Steps to Reproduce:
- connect mongo instance-> mongo->collections
Version:
mongo 6.0.21
Expected Result:
it should show all counts and graphs
Additional Information:
currently i am using free version.
Thank you in advance.
Hi, thank you for reaching out. There is currently a bug that will be fixed in the next release Jira
Feel free to subscribe to get updates
Hi,
Thanks for the quick reply.
can you tell me where can i see running queries? we want to see latency vs query graph for mongo especially. basically we want to check query performance.
Thank you in advance.
For that look into the Query Analytics section
Thanks for the reply.
for mongodb, select options are disabled. why so ?
i have data in my system.profile collection.
Thank you in advance.
try restarting pmm-agent if you enabled profiler after installing pmm. Other than that try selecting different time frame to see if data appears
Hi,
Thanks for the reply.
i am able to get this. But don’t know why it is not showing insert, update and select mongodb queries. it shows only AGGREGATE queries.
Thank you in advance.
that will depend on your profiler settings and the types of queries it is capturing
Hi,
for mongo it is showing queries like INSERT table_name, UPDATE table_name. How to get the complete queries ?
Thank you.
Hi, clicking on each individual query shape you can see the complete query in the Examples tab. In the upcoming PMM 3.1 we are changing this to be more user friendly
Hi,
thanks for the reply.
getting below error for pmm-client->
Failed to register pmm-agent on PMM Server: Post “https://ip_address:80/v1/management/nodes”: http: server gave HTTP response to HTTPS client.
time=“2025-03-31T09:59:51.669+00:00” level=info msg=“‘pmm-agent setup’ exited with 1” component=entrypoint
i dont have SSL. so i dont want to use https.
my docker-compose.yml file
version: '3.8'
services:
pmm-server:
container_name: pmm-server
image: percona/pmm-server:2
restart: always
ports:
- "80:80"
volumes:
- ./pmm-data:/srv
environment:
- DISABLE_TELEMETRY=0
- DISABLE_SSL="true"
pmm-client:
container_name: pmm-client
image: percona/pmm-client:3.0.0
restart: always
depends_on:
- pmm-server
environment:
- PMM_SERVER_ADDRESS=http://ip_address:80
- DISABLE_SSL=true
- PMM_SERVER=http://pmm-server:80
- PMM_USER=admin
- PMM_SERVER_PORT=80
- PMM_PASSWORD=password
- PMM_AGENT_SERVER_ADDRESS=ip_address:80
- PMM_AGENT_SERVER_INSECURE_TLS=1
- PMM_AGENT_CONFIG_FILE=/usr/local/percona/pmm2/config/pmm-agent.yaml
- PMM_AGENT_SETUP=1
- PMM_AGENT_SETUP_FORCE=1
volumes:
- ./pmm-agent.yaml:/usr/local/percona/pmm2/config/pmm-agent.yaml:rw
pmm-agent.yaml file
id: /agent_id/12345 # Unique ID for the agent
listen-address: ip_address
server:
address: ip_address:443 # Replace with your PMM Server hostname or IP
username: admin
password: password
insecure-tls: true # Set to false if using valid SSL certs
credentials-bearer: "" # Optional: for API token-based auth
config-file: /usr/local/percona/pmm-agent.yaml
paths:
pmm-agent: /usr/local/percona/pmm-agent
node-exporter: /usr/local/percona/node_exporter
mysqld-exporter: /usr/local/percona/mysqld_exporter
mongodb-exporter: /usr/local/percona/mongodb_exporter
postgresql-exporter: /usr/local/percona/postgresql_exporter
proxysql-exporter: /usr/local/percona/proxysql_exporter
rds-exporter: /usr/local/percona/rds_exporter
debug: false
log-level: info
Thank you in advance.