This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new ca67525  changed 'metric' to 'metrics' in routes
     new dd86d97  Merge pull request #3258 from icvetnic/patch-1
ca67525 is described below

commit ca675257b8fdbbe9a975a03acac3d4a6e851d3b6
Author: icvetnic <32734086+icvet...@users.noreply.github.com>
AuthorDate: Thu Oct 17 08:51:33 2019 +0200

    changed 'metric' to 'metrics' in routes
---
 .../camel-metrics/src/main/docs/metrics-component.adoc       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-metrics/src/main/docs/metrics-component.adoc 
b/components/camel-metrics/src/main/docs/metrics-component.adoc
index a4020eb..0d90d8e 100644
--- a/components/camel-metrics/src/main/docs/metrics-component.adoc
+++ b/components/camel-metrics/src/main/docs/metrics-component.adoc
@@ -238,7 +238,7 @@ only increment operation is called.
 ----
 // update counter simple.counter by 7
 from("direct:in")
-    .to("metric:counter:simple.counter?increment=7")
+    .to("metrics:counter:simple.counter?increment=7")
     .to("direct:out");
 ----
 
@@ -246,7 +246,7 @@ from("direct:in")
 ----
 // increment counter simple.counter by 1
 from("direct:in")
-    .to("metric:counter:simple.counter")
+    .to("metrics:counter:simple.counter")
     .to("direct:out");
 ----
 
@@ -311,7 +311,7 @@ logged.
 ----
 // adds value 9923 to simple.histogram
 from("direct:in")
-    .to("metric:histogram:simple.histogram?value=9923")
+    .to("metrics:histogram:simple.histogram?value=9923")
     .to("direct:out");
 ----
 
@@ -319,7 +319,7 @@ from("direct:in")
 ----
 // nothing is added to simple.histogram; warning is logged
 from("direct:in")
-    .to("metric:histogram:simple.histogram")
+    .to("metrics:histogram:simple.histogram")
     .to("direct:out");
 
 ----
@@ -366,7 +366,7 @@ If `mark` is not set then `meter.mark()` is called without 
argument.
 ----
 // marks simple.meter without value
 from("direct:in")
-    .to("metric:simple.meter")
+    .to("metrics:simple.meter")
     .to("direct:out");
 ----
 
@@ -374,7 +374,7 @@ from("direct:in")
 ----
 // marks simple.meter with value 81
 from("direct:in")
-    .to("metric:meter:simple.meter?mark=81")
+    .to("metrics:meter:simple.meter?mark=81")
     .to("direct:out");
 ----
 

Reply via email to