Hello Maryse,
Before following the provided
steps in configuring monitoring to monitor MySQL, did you already installed the "
Monitoring Agent"? If yes and you still don't see any logs, you can use the following command to check the agent status:
$ sudo service stackdriver-agent status. Also try to restarting the agent: $
sudo service stackdriver-agent restart.
If the restart fails, reinstall the agent. See the following
section for details on reinstalling the agent.
I will also recommend checking syslogs to see if the agent daemon has written error messages to the logs. The Monitoring agent on Linux is a collectd package and it logs messages to /var/log/syslog or /var/log/messages. The log messages are prefixed by collectd or stackdriver-agent. Also see the
troubleshooting guide for common error you may see in the logs, the meaning and how to resolve it.
I hope this information is helpful.
Sunny J.