Update with Dropwizard branding and polish
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/43db109e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/43db109e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/43db109e Branch: refs/heads/master Commit: 43db109e2a455f874743289a4434b2df5aece0d5 Parents: 3bfefb4 Author: Antonin Stefanutti <[email protected]> Authored: Wed Jan 27 11:11:48 2016 +0100 Committer: Andrea Cosentino <[email protected]> Committed: Wed Jan 27 13:03:33 2016 +0100 ---------------------------------------------------------------------- components/camel-metrics/src/main/docs/metrics.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/43db109e/components/camel-metrics/src/main/docs/metrics.adoc ---------------------------------------------------------------------- diff --git a/components/camel-metrics/src/main/docs/metrics.adoc b/components/camel-metrics/src/main/docs/metrics.adoc index a243f55..801b0bf 100644 --- a/components/camel-metrics/src/main/docs/metrics.adoc +++ b/components/camel-metrics/src/main/docs/metrics.adoc @@ -7,12 +7,12 @@ Metrics Component The **metrics:** component allows to collect various metrics directly from Camel routes. Supported metric types are link:#MetricsComponent-counter[counter], link:#MetricsComponent-histogram[histogram], -link:#MetricsComponent-meter[meter] and link:#MetricsComponent-timer[timer]. http://metrics.codahale.com/[Metrics] provides +link:#MetricsComponent-meter[meter] and link:#MetricsComponent-timer[timer]. http://metrics.dropwizard.io[Metrics] provides simple way to measure behaviour of application. Configurable reporting backend is enabling different integration options for collecting and visualizing statistics. The component also provides a `MetricsRoutePolicyFactory` which allows to expose route statistics -using codehale metrics, see bottom of page for details. +using Dropwizard Metrics, see bottom of page for details. Maven users will need to add the following dependency to their `pom.xml` for this component: @@ -40,7 +40,7 @@ metrics:[ meter | counter | histogram | timer ]:metricname[?options] [[MetricsComponent-registry]]Metric Registry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Camel Metrics Component uses by default `MetricRegistry` with +Camel Metrics component uses by default `MetricRegistry` with `Slf4jReporter` and 60 second reporting interval. Default registry can be replaced with custom one by providing bean with name `metricRegistry` in Camel registry. For example using Spring Java Configuration. @@ -70,7 +70,7 @@ public static class MyConfig extends SingleRouteCamelConfiguration { ---- CAUTION: `MetricRegistry` uses internal thread(s) for reporting. There is no -public API in version 3.0.1 for users to clean up on exit. Thus using +public API in version `3.0.1` for users to clean up on exit. Thus using Camel Metrics Component leads to Java classloader leak and my cause `OutOfMemoryErrors` in some cases. @@ -374,7 +374,7 @@ MetricsRoutePolicyFactory ^^^^^^^^^^^^^^^^^^^^^^^^^ This factory allows to add a link:routepolicy.html[RoutePolicy] for each -route which exposes route utilization statistics using codehale metrics. +route which exposes route utilization statistics using Dropwizard metrics. This factory can be used in Java and XML as the examples below demonstrates.Â
