Mewpoke get all infos from its configuration's file config.yml
measurementPeriodInSec
: time between metrics refreshrefreshDiscoveryPeriodInSec
: time between discovery refreshhttpServerPort
: port used to expose metrics
consul
: use consul as endpoint for discovery -- host: consul endpoint targeted -- port: consul port -- timeoutInSec: timeout for consul requests -- readConsistency: define consul consistency mode (see [Consistency-modes] (https://www.consul.io/api/index.html#consistency-modes) for more infos) -- tags: list of tags for consul parsingstaticDns
use static host as endpoint for discovery -- clustername: name of the cluster -- host: hostname
type
:
Service | Metrics provided |
---|---|
COUCHBASE_STATS | Couchbase metrics from API: (buckets by node and XDCR stats) |
COUCHBASE | return metrics Latency to persist Data on disk and process up |
MEMCACHED | return metrics Lateny on buckets by node |
MEMCACHED_STATS | return Memcached metrics from getStats |
MEMCACHED_SLABS | return Memcached slabs specific metrics |
timeoutInSec
: timeout for service requestsusername
: Couchbase usernamepassword
: Couchbase passwordbucketpassword
: bucket's password specified in the "Access Control" part of Bucket settings (all buckets within the cluster should have the same password). This feature will disable dedicated port used by Memcached driver for set/get. So latency won't be available.
bucket
: list all bucket stats exported (if empty, will export all metrics)xdcr
: list all xdcr stats exported (if empty, will export all metrics)
app:
tickRateInSec: 20
httpServerPort: 8000
discovery:
refreshEveryMin: 1
consul:
host: consul01.domain.local
port: 8500
timeoutInSec: 10
readConsistency: STALE
refreshEveryMin: 1
tags:
- cluster=couchbase01
service:
type: COUCHBASE_STATS
timeoutInSec: 60
username: Administrator
password: password
couchbaseStats:
bucket:
xdcr: