jamesnetherton commented on code in PR #151: URL: https://github.com/apache/camel-quarkus-examples/pull/151#discussion_r1247788002
########## observability/README.adoc: ########## @@ -19,18 +19,88 @@ workspace. Any modifications in your project will automatically take effect in t TIP: Please refer to the Development mode section of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details. +=== How to enable metrics +To enable observability features in Camel, we need to add some additional dependencies to the project's pom.xml file. +The most important one (see link:pom.xml#L97-L100[pom.xml]): + +[source, xml] +---- +<dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-micrometer</artifactId> +</dependency> +---- + +After adding this dependency, you can benefit from both https://camel.apache.org/components/3.20.x/micrometer-component.html[Camel Micrometer] and https://quarkus.io/guides/micrometer[Quarkus Micrometer] worlds. +We are able to use multiple ways how to achieve create meters for our custom metrics. Review Comment: ```suggestion We are able to use multiple ways to create meters for our custom metrics. ``` ########## observability/README.adoc: ########## @@ -19,18 +19,88 @@ workspace. Any modifications in your project will automatically take effect in t TIP: Please refer to the Development mode section of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details. +=== How to enable metrics +To enable observability features in Camel, we need to add some additional dependencies to the project's pom.xml file. +The most important one (see link:pom.xml#L97-L100[pom.xml]): + +[source, xml] +---- +<dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-micrometer</artifactId> +</dependency> +---- + +After adding this dependency, you can benefit from both https://camel.apache.org/components/3.20.x/micrometer-component.html[Camel Micrometer] and https://quarkus.io/guides/micrometer[Quarkus Micrometer] worlds. Review Comment: ```suggestion After adding this dependency, you can benefit from both https://camel.apache.org/components/next/micrometer-component.html[Camel Micrometer] and https://quarkus.io/guides/micrometer[Quarkus Micrometer] worlds. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org