This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 74754a8 CAMEL-17680: fixed invalid references to the camel-metrics
component URI
74754a8 is described below
commit 74754a8587c6337857f34395d4dd9981f61b4540
Author: Otavio Rodolfo Piske <[email protected]>
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");
----