Skip to content

Commit

Permalink
Add smallrye metrics capability
Browse files Browse the repository at this point in the history
(cherry picked from commit 845606b)
  • Loading branch information
HerrDerb authored and gsmet committed Apr 3, 2024
1 parent 93e7782 commit cc5ab4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ public interface Capability {
String KUBERNETES_CLIENT = QUARKUS_PREFIX + ".kubernetes.client";

/**
* @deprecated
* @deprecated Use more precise capability {@link Capability#SMALLRYE_METRICS}
* @see io.quarkus.deployment.metrics.MetricsCapabilityBuildItem
*/
@Deprecated
String METRICS = QUARKUS_PREFIX + ".metrics";
String CONTAINER_IMAGE_JIB = QUARKUS_PREFIX + ".container.image.jib";
String CONTAINER_IMAGE_DOCKER = QUARKUS_PREFIX + ".container.image.docker";
Expand All @@ -117,6 +118,7 @@ public interface Capability {

String SCHEDULER = QUARKUS_PREFIX + ".scheduler";

String SMALLRYE_METRICS = QUARKUS_PREFIX + ".smallrye.metrics";
String SMALLRYE_HEALTH = QUARKUS_PREFIX + ".smallrye.health";
String SMALLRYE_OPENAPI = QUARKUS_PREFIX + ".smallrye.openapi";
String SMALLRYE_GRAPHQL = QUARKUS_PREFIX + ".smallrye.graphql";
Expand Down
1 change: 1 addition & 0 deletions extensions/smallrye-metrics/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<configuration>
<capabilities>
<provides>io.quarkus.metrics</provides>
<provides>io.quarkus.smallrye.metrics</provides>
</capabilities>
</configuration>
</plugin>
Expand Down

0 comments on commit cc5ab4b

Please sign in to comment.