diff --git a/archetypes/archetypes/src/main/archetype/common/observability.xml b/archetypes/archetypes/src/main/archetype/common/observability.xml index 1fc63fc5449..518af2aa3b6 100644 --- a/archetypes/archetypes/src/main/archetype/common/observability.xml +++ b/archetypes/archetypes/src/main/archetype/common/observability.xml @@ -35,215 +35,10 @@ if="${flavor} == 'mp'"> + description="Expose metrics using the MicroProfile API"/> + description="Expose metrics using the Micrometer API"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + io.helidon.microprofile.metrics + helidon-microprofile-metrics + + + io.helidon.webserver.observe + helidon-webserver-observe-metrics + + + io.helidon.metrics + helidon-metrics-system-meters + runtime + + + org.eclipse.microprofile.metrics + microprofile-metrics-api + + + + org.eclipse.microprofile.metrics.annotation.Counted + org.eclipse.microprofile.metrics.annotation.Timed + jakarta.ws.rs.PathParam + + + + + + + org.eclipse.microprofile.metrics.Counter + org.eclipse.microprofile.metrics.MetricRegistry + + + io.helidon.metrics.api.MetricsFactory + + + org.junit.jupiter.api.AfterAll + + + + + + + + + static org.junit.jupiter.api.Assertions.assertEquals + + + io.helidon.microprofile.metrics + + + + diff --git a/archetypes/archetypes/src/main/archetype/mp/custom/metrics-microprofile.xml b/archetypes/archetypes/src/main/archetype/mp/custom/metrics-microprofile.xml new file mode 100644 index 00000000000..cadbadcebc5 --- /dev/null +++ b/archetypes/archetypes/src/main/archetype/mp/custom/metrics-microprofile.xml @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.eclipse.microprofile.metrics + microprofile-metrics-api + + + io.helidon.microprofile.metrics + helidon-microprofile-metrics + + + + org.eclipse.microprofile.metrics.MetricUnits + org.eclipse.microprofile.metrics.annotation.Counted + org.eclipse.microprofile.metrics.annotation.Timed + jakarta.ws.rs.PathParam + + + + + + org.eclipse.microprofile.metrics.Counter + org.eclipse.microprofile.metrics.MetricRegistry + + + io.helidon.metrics.api.MetricsFactory + + + org.junit.jupiter.api.AfterAll + + + static org.junit.jupiter.api.Assertions.assertEquals + + + + + + + + + io.helidon.microprofile.metrics + + + + diff --git a/archetypes/archetypes/src/main/archetype/mp/custom/observability.xml b/archetypes/archetypes/src/main/archetype/mp/custom/observability.xml index 4379c45f1b8..ad0cb9d1ee4 100644 --- a/archetypes/archetypes/src/main/archetype/mp/custom/observability.xml +++ b/archetypes/archetypes/src/main/archetype/mp/custom/observability.xml @@ -1,7 +1,7 @@