Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with RethinkDB

You're reading from   Getting Started with RethinkDB Absorb the knowledge required to utilize, manage, and deploy

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher Packt
ISBN-13 9781785887604
Length 176 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Gianluca Tiepolo Gianluca Tiepolo
Author Profile Icon Gianluca Tiepolo
Gianluca Tiepolo
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Introducing RethinkDB FREE CHAPTER 2. The ReQL Query Language 3. Clustering, Sharding, and Replication 4. Performance Tuning and Advanced Queries 5. Programming RethinkDB in Node.js 6. RethinkDB Administration and Deployment 7. Developing Real-Time Web Applications Index

Monitoring RethinkDB


This section is all about the tools that you can use to monitor and understand the events that occur in the lifetime of your RethinkDB cluster.

Once you have a web application up and running, how do you know what it's doing? System tables to the rescue!

RethinkDB provides us with some system tables that we can query to learn about the issues that affect the cluster or queries that are running. These tables give you a better picture of what RethinkDB is doing.

Monitoring issues

The issues table is a RethinkDB system table that provides information on problems that are detected within the cluster; when a problem is detected, a document describing it is added to the table, whereas in normal conditions, the table is empty.

You can query the current_issues table by running the following query:

r.db("rethinkdb").table("current_issues").run(conn, callback);

This table can be extremely useful for monitoring purposes, as you can write a Node.js script that uses Changefeeds to receive...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image