Skip to content

Commit

Permalink
Merge pull request #104 from avdev4j/feat/97-support-metrics-page
Browse files Browse the repository at this point in the history
Feat/97 support metrics
  • Loading branch information
joewhite101 committed Oct 7, 2020
2 parents ebacfd0 + 54b1c6f commit b92552f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generators/server/templates/quarkus/build.gradle.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ dependencies {
implementation "io.quarkus:quarkus-smallrye-jwt"
implementation "io.quarkus:quarkus-smallrye-openapi"
implementation "io.quarkus:quarkus-smallrye-health"
implementation "io.quarkus:quarkus-micrometer"
implementation "io.micrometer:micrometer-registry-prometheus"
implementation "org.mapstruct:mapstruct:${mapstruct_version}"
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")

Expand Down
8 changes: 8 additions & 0 deletions generators/server/templates/quarkus/pom.xml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@
prodDatabaseType}) _%>
<%- include('./partials/security_pom.xml.ejs', {
}) _%>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-micrometer</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-health</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ quarkus.mailer.ssl=false
quarkus.mailer.username=
quarkus.mailer.password=

quarkus.micrometer.export.prometheus.path=/management/jhimetrics

quarkus.smallrye-health.root-path=/management/health

mp.jwt.verify.publickey.location=META-INF/resources/publicKey.pem
Expand Down

0 comments on commit b92552f

Please sign in to comment.