Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
telegraf-nftables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Show more breadcrumbs
vqgroup
telegraf-nftables
Commits
077fa2e6
Commit
077fa2e6
authored
9 years ago
by
Vebjorn Ljosa
Committed by
Cameron Sparr
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Improve README for couchabase input plugin
Proper terminology and case. Exmaples for tags. Example output.
parent
2ae9316f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/inputs/couchbase/README.md
+37
-20
37 additions, 20 deletions
plugins/inputs/couchbase/README.md
with
37 additions
and
20 deletions
plugins/inputs/couchbase/README.md
+
37
−
20
View file @
077fa2e6
# Telegraf Plugin: Couchbase
# Telegraf Plugin: Couchbase
##
#
Configuration:
## Configuration:
```
```
# Read per-node and per-bucket metrics from Couchbase
# Read per-node and per-bucket metrics from Couchbase
...
@@ -19,28 +19,45 @@
...
@@ -19,28 +19,45 @@
## Measurements:
## Measurements:
###
Per-node measurements
###
couchbase_node
Meta
:
Tags
:
-
units: bytes
-
cluster: whatever you called it in
`servers`
in the configuration, e.g.:
`http://couchbase-0.example.com/`
-
tags:
`cluster`
,
`hostname
`
-
hostname: Couchbase's name for the node and port, e.g.,
`172.16.10.187:8091
`
Measurement name
s:
Field
s:
-
memory_free (example: 23181365248.0)
-
memory_free (
unit: bytes,
example: 23181365248.0)
-
memory_total (example: 64424656896.0)
-
memory_total (
unit: bytes,
example: 64424656896.0)
###
Per-bucket measurements
###
couchbase_bucket
Meta
:
Tags
:
-
units: varies
-
cluster: whatever you called it in
`servers`
in the configuration, e.g.:
`http://couchbase-0.example.com/`
)
-
tags:
`cluster`
,
`bucket
`
-
bucket: the name of the couchbase bucket, e.g.,
`blastro-df
`
Measurement name
s:
Field
s:
-
quota
P
ercent
U
sed (unit: percent, example: 68.85424936294555)
-
quota
_p
ercent
_u
sed (unit: percent, example: 68.85424936294555)
-
ops
PerS
ec (unit: count, example: 5686.789686789687)
-
ops
_per_s
ec (unit: count, example: 5686.789686789687)
-
disk
F
etches (unit: count, example: 0.0)
-
disk
_f
etches (unit: count, example: 0.0)
-
item
C
ount (unit: count, example: 943239752.0)
-
item
_c
ount (unit: count, example: 943239752.0)
-
disk
U
sed (unit: bytes, example: 409178772321.0)
-
disk
_u
sed (unit: bytes, example: 409178772321.0)
-
data
U
sed (unit: bytes, example: 212179309111.0)
-
data
_u
sed (unit: bytes, example: 212179309111.0)
-
mem
U
sed (unit: bytes, example: 202156957464.0)
-
mem
_u
sed (unit: bytes, example: 202156957464.0)
## Example output
```
$ telegraf -config telegraf.conf -input-filter couchbase -test
* Plugin: couchbase, Collection 1
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.10.187:8091 memory_free=22927384576,memory_total=64424656896 1458381183695864929
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.10.65:8091 memory_free=23520161792,memory_total=64424656896 1458381183695972112
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.13.105:8091 memory_free=23531704320,memory_total=64424656896 1458381183695995259
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.13.173:8091 memory_free=23628767232,memory_total=64424656896 1458381183696010870
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.15.120:8091 memory_free=23616692224,memory_total=64424656896 1458381183696027406
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.8.127:8091 memory_free=23431770112,memory_total=64424656896 1458381183696041040
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.8.148:8091 memory_free=23811371008,memory_total=64424656896 1458381183696059060
> couchbase_bucket,bucket=default,cluster=https://couchbase-0.example.com/ data_used=25743360,disk_fetches=0,disk_used=31744886,item_count=0,mem_used=77729224,ops_per_sec=0,quota_percent_used=10.58976636614118 1458381183696210074
> couchbase_bucket,bucket=demoncat,cluster=https://couchbase-0.example.com/ data_used=38157584951,disk_fetches=0,disk_used=62730302441,item_count=14662532,mem_used=24015304256,ops_per_sec=1207.753207753208,quota_percent_used=79.87855353525707 1458381183696242695
> couchbase_bucket,bucket=blastro-df,cluster=https://couchbase-0.example.com/ data_used=212552491622,disk_fetches=0,disk_used=413323157621,item_count=944655680,mem_used=202421103760,ops_per_sec=1692.176692176692,quota_percent_used=68.9442170551845 1458381183696272206
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment