GithubHelp home page GithubHelp logo

isabella232 / boundary-plugin-couchbase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from boundary/boundary-plugin-couchbase

0.0 0.0 0.0 254 KB

The Boundary Meter LUA Plugin for Couchbase Metrics

License: Apache License 2.0

Lua 100.00%

boundary-plugin-couchbase's Introduction

Boundary Couchbase Plugin

Tracks the fork rate on your server by polling the Couchbase REST API at "http://localhost:8091/" (configurable setting).

Prerequisites

Supported OS

OS Linux Windows SmartOS OS X
Supported v v v v
  • Written in pure Lua/Luvit (embedded in boundary-meter) therefore no dependencies are required.
  • Metrics are collected via HTTP requests, therefore all OSes should work (tested on Debian-based Linux distributions).

Requires Boundary Meter versions v4.2 or later

Plugin Setup

  • A working Couchbase server configured to run on the same machine (reachable at 127.0.0.1:8091)

Plugin Configuration Fields

For advanced metrics please set a longer polling interval to minimize load on the Couchbase instance (e.g. 5000ms or more).

Setting Name Description
Host Couchbase service host for the node.
Port The Couchbase service port for the node.
Username The administrative username to access the Couchbase server
Password The administrative password to access the Couchbase server.
Advanced Metrics Produce more detailed metrics (more expensive to compile).
Poll Interval How often (in milliseconds) to poll the Couchbase node for metrics.
Source The Source to display in the legend for the data. It will default to the hostname of the server.

Metrics Collected

Standard Metrics

Metric Name Description
COUCHBASE_RAM_QUOTA_TOTAL Total quota of memory allocated by the Couchbase cluster for this node.
COUCHBASE_RAM_QUOTA_USED Amount of memry used on this node by Couchbase from the allocated quota.
COUCHBASE_CPU_USAGE_RATE CPU utilization percent.
COUCHBASE_RAM_SYSTEM_TOTAL Total amount of memory on this node as reported by Couchbase.
COUCHBASE_RAM_SYSTEM_FREE Amount of memory used on this node as reported by Couchbase.
COUCHBASE_SWAP_TOTAL Total swap space on this node as reported by Couchbase.
COUCHBASE_SWAP_USED Userd swap space on this node as reported by Couchbase.
COUCHBASE_OPERATIONS Number of currently on-going operations on this node.
COUCHBASE_DOCUMENTS_COUNT Number of documents stored on this node.
COUCHBASE_DOCUMENTS_SIZE Size of the data in the documents stored on this node.
COUCHBASE_DOCUMENTS_SIZE_ON_DISK Size on disk of the documents stored on this node.
COUCHBASE_VIEWS_SIZE Size of the data in the indexed views on this node.
COUCHBASE_VIEWS_SIZE_ON_DISK Size on disk of the indexed views on this node.

Advanced Metrics (more expensive retrieval)

Metric Name Description
COUCHBASE_DOCUMENTS_FRAGMENTATION Rate of fragmentation of document data.
COUCHBASE_VIEWS_FRAGMENTATION Rate of fragmentation of views data (i.e. indexes).
COUCHBASE_VIEWS_OPERATIONS Number of currently on-going views-related operations on this node (e.g. queries).
COUCHBASE_DISK_COMMIT_TIME Average time for disk commit operations on this node.
COUCHBASE_DISK_UPDATE_TIME Average time for disk update operations on this node.
COUCHBASE_CAS_HITS Number of successful CAS comparisons.
COUCHBASE_CAS_MISSES Number of unsuccessful CAS comparisons.
COUCHBASE_DISK_FETCHES Number of times Couchbase went to disk to get data (non-resident data) per second.
COUCHBASE_EVICTIONS Number of times COuchbase evicted data from the resident memory to free-up space.
COUCHBASE_MISSES Number of operations on missing documents.
COUCHBASE_XDCR_OPERATIONS Cross-datacenter replication operations on this node.
COUCHBASE_REPLICATION_CHANGES_LEFT Number of replication operations queued and yet to be performed.
COUCHBASE_MAJOR_FAULTS Number of major faults on this node.
COUCHBASE_MINOR_FAULTS Number of minor faults on this node.
COUCHBASE_PAGE_FAULTS Number of memory page faults on this node.
COUCHBASE_ACTIVE_CONNECTIONS Number of currently active connections established with this node.

Dashboards

  • Couchbase Summary
  • Couchbae Advanced Metrics

References

Couchbase REST API Reference

boundary-plugin-couchbase's People

Contributors

bighnf avatar codemoran avatar gabrielnicolasavellaneda avatar jdgwartney avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.