Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Update to the circuit breaker settings and stats syntax of 1.4.0
Browse files Browse the repository at this point in the history
We now have parent, fielddata and request breakers. Also added limits charts for them all.

Closes elastic#369 , Closes elastic#368
  • Loading branch information
bleskes committed Nov 27, 2014
1 parent d3f9bd8 commit d307d94
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 9 deletions.
43 changes: 38 additions & 5 deletions agent/src/main/resources/marvel_index_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,46 @@
},
"node_stats": {
"properties": {
"fielddata_breaker": {
"breakers": {
"properties": {
"estimated_size_in_bytes": {
"type": "long"
"fielddata": {
"properties": {
"estimated_size_in_bytes": {
"type": "long"
},
"tripped": {
"type": "long"
},
"limit_size_in_bytes": {
"type": "long"
}
}
},
"request": {
"properties": {
"estimated_size_in_bytes": {
"type": "long"
},
"tripped": {
"type": "long"
},
"limit_size_in_bytes": {
"type": "long"
}
}
},
"tripped": {
"type": "long"
"parent": {
"properties": {
"estimated_size_in_bytes": {
"type": "long"
},
"tripped": {
"type": "long"
},
"limit_size_in_bytes": {
"type": "long"
}
}
}
}
},
Expand Down
46 changes: 43 additions & 3 deletions kibana/dashboards/nodes_stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,16 +646,56 @@ var rows = [
"title": "Circuit Breakers",
"panels": [
{
"value_field": "fielddata_breaker.estimated_size_in_bytes",
"value_field": "breakers.parent.estimated_size_in_bytes",
"mode": "max",
"title": "Parent Circuit Breaker Estimated Size",
"y_format": "bytes"
},
{
"value_field": "breakers.parent.tripped",
"mode": "max",
"title": "Parent Circuit Breaker Trip Count"
},
{
"value_field": "breakers.parent.limit_size_in_bytes",
"mode": "max",
"title": "Parent Circuit Breaker Limit",
"y_format": "bytes"
},
{
"value_field": "breakers.fielddata.estimated_size_in_bytes",
"mode": "max",
"title": "Field Data Circuit Breaker Estimated Size",
"y_format": "bytes"
},
{
"value_field": "fielddata_breaker.tripped",
"value_field": "breakers.fielddata.tripped",
"mode": "max",
"title": "Field Data Circuit Breaker Trip Count"
}
},
{
"value_field": "breakers.fielddata.limit_size_in_bytes",
"mode": "max",
"title": "Field Data Circuit Breaker Limit",
"y_format": "bytes"
},
{
"value_field": "breakers.request.estimated_size_in_bytes",
"mode": "max",
"title": "Request Circuit Breaker Estimated Size",
"y_format": "bytes"
},
{
"value_field": "breakers.request.tripped",
"mode": "max",
"title": "Request Circuit Breaker Trip Count"
},
{
"value_field": "breakers.request.limit_size_in_bytes",
"mode": "max",
"title": "Request Circuit Breaker Limit",
"y_format": "bytes"
}
]
},
{
Expand Down
10 changes: 9 additions & 1 deletion sense/app/kb/api_1_0/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,16 @@ define(function () {
'allocation.node_concurrent_recoveries': 2,
'allocation.same_shard.host': { __one_of: [ false, true ]}
}
},
indices: {
breaker: {
"total.limit": "70%",
"fielddata.limit": "60%",
"fielddata.overhead": 1.03,
"request.limit": "40%",
"request.overhead": 1.0
}
}

},
transient: {
__scope_link: '.persistent'
Expand Down

0 comments on commit d307d94

Please sign in to comment.