How frequently is the circuit breaker tripped metric in /_node/stats API refreshed?

Even though field data breaker was triggered on my cluster, the metric still shows it as 0.

curl localhost:9200/_nodes/stats/breaker?pretty
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "es-test-cluster",
"nodes" : {
"Con0zJYeRNyzOC14R_I4pQ" : {
"timestamp" : 1505721812649,
"name" : "node-1",
"transport_address" : "192.0.0.65:9300",
"host" : "192.0.0.65",
"ip" : "192.0.0.65:9300",
"roles" : [
"master",
"data",
"ingest"
],
"breakers" : {
"request" : {
"limit_size_in_bytes" : 1278030643,
"limit_size" : "1.1gb",
"estimated_size_in_bytes" : 0,
"estimated_size" : "0b",
"overhead" : 1.0,
"tripped" : 0
},
"fielddata" : {
"limit_size_in_bytes" : 1278030643,
"limit_size" : "1.1gb",
"estimated_size_in_bytes" : 0,
"estimated_size" : "0b",
"overhead" : 1.03,
"tripped" : 0
},
"in_flight_requests" : {
"limit_size_in_bytes" : 2130051072,
"limit_size" : "1.9gb",
"estimated_size_in_bytes" : 0,
"estimated_size" : "0b",
"overhead" : 1.0,
"tripped" : 0
},
"parent" : {
"limit_size_in_bytes" : 1491035750,
"limit_size" : "1.3gb",
"estimated_size_in_bytes" : 0,
"estimated_size" : "0b",
"overhead" : 1.0,
"tripped" : 0
}
}
}
}
}

I am assuming it is based on os.timestamp which shows the last time these stats are refreshed.
Based on this: https://github.com/tallpsmith/elasticsearch/blob/a8be99b7e07d0b0a00477b1f6581fc83d24d0bba/modules/elasticsearch/src/main/java/org/elasticsearch/monitor/os/OsService.java , I am assuming it is refreshed every 5 seconds?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.