Skip to content

Commit

Permalink
Development: Fix an issue with micrometer monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Jan 22, 2025
1 parent 8c26290 commit dd3bda4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ configurations.configureEach {
exclude group: "xalan", module: "serializer"

exclude group: "org.springframework.boot", module: "spring-boot-starter-cache"
exclude group: "io.micrometer", module: "micrometer-registry-prometheus"
exclude group: "net.logstash.logback", module: "logstash-logback-encoder"

exclude group: "javax.cache", module: "cache-api"
Expand Down Expand Up @@ -240,6 +239,13 @@ dependencies {
// use newest version of commons-compress to avoid security issues through outdated dependencies
implementation "org.apache.commons:commons-compress:1.27.1"

// required for monitoring with prometheus and grafana
implementation "io.micrometer:micrometer-registry-prometheus:${micrometer_version}"
implementation "io.micrometer:micrometer-core:${micrometer_version}"
implementation "io.micrometer:micrometer-commons:${micrometer_version}"
implementation "io.micrometer:micrometer-observation:${micrometer_version}"
implementation "io.micrometer:micrometer-jakarta9:${micrometer_version}"

implementation "tech.jhipster:jhipster-framework:${jhipster_dependencies_version}"

// Defines low-level streaming API, and includes JSON-specific implementations
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ java_parser_version=3.26.2
byte_buddy_version=1.16.1
netty_version=4.1.115.Final
mysql_version=9.1.0
micrometer_version=1.14.3

# testing
# make sure both versions are compatible
Expand Down

0 comments on commit dd3bda4

Please sign in to comment.