Skip to content

Commit

Permalink
Make Quarkus Micrometer optional for Reactor Netty extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Apr 12, 2021
1 parent 711a317 commit e7c2632
Show file tree
Hide file tree
Showing 10 changed files with 116 additions and 13 deletions.
16 changes: 16 additions & 0 deletions docs/modules/ROOT/pages/reference/extensions/azure-eventhubs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,22 @@ Or add the coordinates to your existing project:

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== Usage

=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----


== SSL in native mode

This extension auto-enables SSL support in native mode. Hence you do not need to add
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,22 @@ Or add the coordinates to your existing project:

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== Usage

=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----


== SSL in native mode

This extension auto-enables SSL support in native mode. Hence you do not need to add
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,19 @@ Please refer to the above link for usage and configuration details.
----

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== Usage

=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,22 @@ Or add the coordinates to your existing project:

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== Usage

=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----


== SSL in native mode

This extension auto-enables SSL support in native mode. Hence you do not need to add
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----
4 changes: 0 additions & 4 deletions extensions-support/reactor-netty/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-netty-deployment</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer-deployment</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-support-reactor-netty</artifactId>
Expand Down
13 changes: 4 additions & 9 deletions extensions-support/reactor-netty/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,12 @@
<artifactId>quarkus-netty</artifactId>
</dependency>
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty</artifactId>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
<dependency>
<groupId>org.graalvm.nativeimage</groupId>
<artifactId>svm</artifactId>
<scope>provided</scope>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty</artifactId>
</dependency>
</dependencies>

Expand Down
12 changes: 12 additions & 0 deletions extensions/azure-eventhubs/runtime/src/main/doc/usage.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----
12 changes: 12 additions & 0 deletions extensions/azure-storage-blob/runtime/src/main/doc/usage.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----
12 changes: 12 additions & 0 deletions extensions/azure-storage-queue/runtime/src/main/doc/usage.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=== Micrometer metrics support

If you wish to enable the collection of Micrometer metrics for the Reactor Netty transports, then you should declare a dependency on `quarkus-micrometer` to ensure
that they are available via the Quarkus metrics HTTP endpoint.

[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
----

0 comments on commit e7c2632

Please sign in to comment.