This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-2.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.22.x by this push:
new d0d547f CAMEL-12680 - Fix syntax for micrometer endpoint
d0d547f is described below
commit d0d547f26389f41f362e6c186ad22b3ee031c1ba
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Jul 24 14:20:13 2018 +0200
CAMEL-12680 - Fix syntax for micrometer endpoint
---
components/camel-micrometer/src/main/docs/micrometer-component.adoc | 2 +-
.../java/org/apache/camel/component/micrometer/MicrometerEndpoint.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index 89c6db1..c4e84e0 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -65,7 +65,7 @@ The Micrometer component supports 2 options, which are listed
below.
The Micrometer endpoint is configured using URI syntax:
----
-micrometer:metricsType:meterName
+micrometer:metricsType:metricsName
----
with the following path and query parameters:
diff --git
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerEndpoint.java
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerEndpoint.java
index e0cce8d..46b6243 100644
---
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerEndpoint.java
+++
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerEndpoint.java
@@ -33,7 +33,7 @@ import org.apache.camel.spi.UriPath;
/**
* To collect various metrics directly from Camel routes using the Micrometer
library.
*/
-@UriEndpoint(firstVersion = "2.22.0", scheme = "micrometer", title =
"Micrometer", syntax = "micrometer:metricsType:meterName", producerOnly = true,
label = "monitoring")
+@UriEndpoint(firstVersion = "2.22.0", scheme = "micrometer", title =
"Micrometer", syntax = "micrometer:metricsType:metricsName", producerOnly =
true, label = "monitoring")
public class MicrometerEndpoint extends DefaultEndpoint {
protected MeterRegistry registry;