You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/02/21 12:02:31 UTC
[camel] 02/02: CAMEL-17680: fixed invalid references to the camel-metrics component URI
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5256796c80072a50b08ed75798ef1263e55d6313
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Feb 21 09:07:48 2022 +0100
CAMEL-17680: fixed invalid references to the camel-metrics component URI
---
components/camel-micrometer/src/main/docs/micrometer-component.adoc | 4 ++--
1 file 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 429ab97..2233513 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -108,7 +108,7 @@ class MyBean extends RouteBuilder {
public void configure() {
from("...")
// Register the 'my-meter' meter in the MetricRegistry below
- .to("metrics:meter:my-meter");
+ .to("micrometer:meter:my-meter");
}
@Produces
@@ -150,7 +150,7 @@ For example
from("direct:in")
.setHeader(MicrometerConstants.HEADER_METRIC_NAME, constant("new.name"))
.setHeader(MicrometerConstants.HEADER_METRIC_TAGS, constant(Tags.of("dynamic-key", "dynamic-value")))
- .to("metrics:counter:name.not.used?tags=key=value")
+ .to("micrometer:counter:name.not.used?tags=key=value")
.to("direct:out");
----