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 d8bd662 CAMEL-12680 - Fix syntax for micrometer endpoint
d8bd662 is described below
commit d8bd662467c87b64d8896a089b81b2637fd02ab7
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 e6db738..8b5fe7f 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;