Monitoring Riak

Configure the Server Density agent to monitor your Riak server to:

• Collect important metrics, such as node, vnode & memory usage
• Identify overall server slowdowns caused by the server

Monitored metrics

  • Node Puts
  • Vnode Gets
  • Node Get Fsm Time Median
  • Node Get Fsm Time Mean
  • Node Gets
  • Node Get Fsm Objsize 100
  • Read Repairs
  • Vnode Puts
  • Node Put Fsm Time 95
  • Node Put Fsm Time 99
  • Node Get Fsm In Rate
  • Node Get Fsm Objsize 95
  • Node Put Fsm Active 60S
  • Node Put Fsm Out Rate
  • Node Get Fsm Time 95
  • Memory Binary
  • Node Get Fsm Time 99
  • Memory Code
  • Memory Processes Used
  • Pbc Active
  • Memory Atom
  • Node Get Fsm Active 60S
  • Node Get Fsm Objsize Median
  • Pbc Connects
  • Node Get Fsm Objsize Mean
  • Node Put Fsm Time 100
  • Node Get Fsm Siblings Mean
  • Node Get Fsm Time 100
  • Node Get Fsm Siblings Median
  • Vnode Index Writes
  • Memory Total
  • Vnode Index Deletes
  • Node Put Fsm In Rate
  • Node Put Fsm Rejected 60S
  • Vnode Index Reads
  • Node Get Fsm Siblings 99
  • Node Get Fsm Siblings 95
  • Memory Ets
  • Node Put Fsm Time Mean
  • Node Put Fsm Time Median
  • Memory Processes
  • Node Get Fsm Siblings 100
  • Node Get Fsm Objsize 99
  • Memory Atom Used

Installing the Riak plugin package

Install the Riak plugin on Debian/Ubuntu:

sudo apt-get install sd-agent-riak

Install the Riak plugin on RHEL/CentOS:

sudo yum install sd-agent-riak

Read more about agent plugins.

Configuring the agent to monitor Riak

1. Configure /etc/sd-agent/conf.d/riak.yaml

init_config:

instances:
  - url: http://127.0.0.1:8098/stats

2. Restart the agent

sudo /etc/init.d/sd-agent restart

Verifying the configuration
Execute info to verify the configuration with the following:

sudo /etc/init.d/sd-agent info 

If the agent has been configured correctly you’ll see an output such as:

riak
-----
  - instance #0 [OK]
  - Collected 1 metrics & 3 service checks

You can also view the metrics returned with the following command:

sudo -u sd-agent /usr/share/python/sd-agent/agent.py check riak

Configuring graphs

Click the name of your server from the Devices list in your Server Density account then go to the Metrics tab. Click the + Graph button on the right then choose the Riak metrics to display the graphs. The metrics will also be available to select when building dashboard graphs.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.