Riak is an open source, distributed database. It offers high availability, fault tolerance, operational simplicity, and scalability. For more information, visit the Riak GitHub repository.
Discovery
Even if the Riak plugin is not configured, Monitoring discovers Riak services running in your Google Cloud project by:
- Searching instance names for riak
- Checking for ports opened to 8098 via firewall rules
The services discovered are displayed on the Riak Services page in the Resources menu. After you install the Monitoring agent and configure the Riak plugin on your instances, Monitoring populates the Riak Services page with inventory and metrics.
Configuring Monitoring to monitor Riak
After you install the monitoring agent, use the following instructions to configure the Riak plugin on your instances.
Prerequisites
The Riak plugin requires version 5.5.0-315 or later of the monitoring agent. To update the agent, see Upgrading the agent.
Enabling the Riak monitoring plugin
On your VM instance, download riak.conf from the
GitHub configuration repository
and place it in the directory /etc/stackdriver/collectd.d/
:
(cd /etc/stackdriver/collectd.d/ && sudo curl -O https://raw.githubusercontent.com/Stackdriver/stackdriver-agent-service-configs/master/etc/collectd.d/riak.conf)
After adding the configuration file, restart the monitoring agent by running the following command:
sudo service stackdriver-agent restart
For more information on the collectd
curl_json
plugin used to monitor Riak,
see Plugin:cURL-JSON.
What is monitored
The full list of metrics the Riak plugin monitors is at Agent metrics: riak.