219.8. Metric type histogram

metrics:histogram:metricname[?options]

219.8.1. 옵션

이름기본설명

value

-

히스토그램에서 사용할 값

을 설정하지 않으면 히스토그램에 아무것도 추가되지 않고 경고가 기록됩니다.

// adds value 9923 to simple.histogram
from("direct:in")
    .to("metric:histogram:simple.histogram?value=9923")
    .to("direct:out");
// nothing is added to simple.histogram; warning is logged
from("direct:in")
    .to("metric:histogram:simple.histogram")
    .to("direct:out");