Skip to content

Instantly share code, notes, and snippets.

@chewbranca
Created March 12, 2018 22:27
Show Gist options
  • Save chewbranca/733407b27cc678417884b863c30ee613 to your computer and use it in GitHub Desktop.
Save chewbranca/733407b27cc678417884b863c30ee613 to your computer and use it in GitHub Desktop.
$ curl -s -u adm:pass localhost:15984/_node/_local/_transient_stats | jq '.transient.couch_file."/home/vagrant/src/couchdb/dev/lib/node1/data/dbs/shards/00000000-1fffffff/foo"'
{
"writes": {
"count": {
"value": 382,
"type": "counter"
},
"latency": {
"value": {
"min": 0,
"max": 9,
"arithmetic_mean": 0.1103448275862069,
"geometric_mean": 2.704755420028063,
"harmonic_mean": 55.53191489361702,
"median": 0,
"variance": 0.6405172413793104,
"standard_deviation": 0.8003232105713981,
"skewness": 9.730555806440028,
"kurtosis": 102.63472741826932,
"percentile": [
[
50,
0
],
[
75,
0
],
[
90,
0
],
[
95,
0
],
[
99,
2
],
[
999,
9
]
],
"histogram": [
[
1,
141
],
[
2,
3
],
[
3,
0
],
[
4,
0
],
[
5,
0
],
[
6,
0
],
[
7,
0
],
[
8,
0
],
[
9,
1
],
[
10,
0
]
],
"n": 145
},
"type": "histogram"
},
"bytes": {
"value": 86212,
"type": "counter"
}
},
"reads": {
"latency": {
"value": {
"min": 0,
"max": 11,
"arithmetic_mean": 0.4022082018927445,
"geometric_mean": 2.534876442503504,
"harmonic_mean": 8.752629913165865,
"median": 0,
"variance": 1.400847527257076,
"standard_deviation": 1.1835740480667343,
"skewness": 4.427368733660441,
"kurtosis": 24.979550159022605,
"percentile": [
[
50,
0
],
[
75,
0
],
[
90,
1
],
[
95,
3
],
[
99,
6
],
[
999,
11
]
],
"histogram": [
[
1,
1151
],
[
2,
51
],
[
3,
26
],
[
4,
14
],
[
5,
8
],
[
6,
10
],
[
7,
3
],
[
8,
1
],
[
9,
1
],
[
10,
0
],
[
11,
3
],
[
12,
0
]
],
"n": 1268
},
"type": "histogram"
},
"bytes": {
"value": 11320,
"type": "counter"
},
"count": {
"value": 2830,
"type": "counter"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment