Over a million developers have joined DZone.

New Relic + Couchbase on Heroku = <3

DZone's Guide to

New Relic + Couchbase on Heroku = <3

· Performance Zone ·
Free Resource

Download the Altoros NoSQL Performance Benchmark 2018. Compare top NoSQL solutions – Couchbase Server v5.5, MongoDB v3.6, and DataStax Enterprise v6 (Cassandra).

New Relic has become an industry standard for web application performance measurement. With Kurobase releasing a new-relic add-on for Couchbase on the heroku platform, developers can have really good analysis and optimization tools at their disposal. Just add your new relic license key to configure the integration, wait for a couple of minutes for the add-on to start collecting metrics, and (boom), you get a birds-eye view of how your Couchbase app is performing.  

For customers of Kurobase and New relic who immediately understand the value of this integration, check out the Kurobase documentation to get started!

                                                                             Screen Shot 2014-03-16 at 9.38.54 PM.png

So, what are some of the metrics that you can visualize using the add-on?

Operational Counters

KuroBase has built complete instrumentation for New Relic that allows Ruby developers to track metrics of all Couchbase calls from within their application. This instrumentation tracks all of the key interactions of the Couchbase SDK, including document calls such as get, set, and add as monitoring usage of Couchbase views.

Some of the different operational counters exposed by the new relic add-on are shown below:

Cluster metrics
Connect to a cluster, create and delete a bucket

Bucket and documents metrics
get, set, set-if-null, add, replace, delete, increment, decrement, flush, append, prepend, touch, stats

Design document metrics
Save design docs, delete design docs

Performance Counters

In addition to operational metrics, the new relic add-on also includes instrumentation that collects performance data; for example: time taken to save a user profile item. The table below, provides you an overview of the different app actions, % of time spent, average # of call, and average time.

The new relic add-on for Couchbase gives you more insight into how your app is performing on the heroku platform. It allows you to continuously monitor your app and then rapidly pin-point any potential issue that is causing a problem. Check-out the new relic add-on for heroku today and give it a try!

Also, don’t forget to register for the upcoming Couchbase-Kurobase webinar.

Download the whitepaper, Moving From Relational to NoSQL: How to Get Started. We’ll take you step by step through your first NoSQL project.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}