mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00

If a RedisConnectionFactory is detected the system will now export metrics to redis every 5s (initializr.metrics.rateMillis). Metric names are prefixed with <id>.<hex>. where <id> defaults to the application name (initializr.metrics.id) and <hex> is unique. An aggregator app can then pick up the values and (for instance) continue counters across restarts. The code is meant to be easier to upgrade Spring Boot 1.3 There are 2 beans that we can simply remove when we upgrade to 1.3. Meanwhile, the app will run with 1.3 (or 1.2) for testing if you uncomment the @ExportMetricWriter.
23 lines
176 B
Plaintext
23 lines
176 B
Plaintext
.gradle
|
|
*.sw?
|
|
.#*
|
|
*#
|
|
*~
|
|
.classpath
|
|
.project
|
|
.settings
|
|
.idea
|
|
*.iml
|
|
bin
|
|
build
|
|
target
|
|
.springBeans
|
|
tmp*
|
|
initializer-service/spring
|
|
grapes
|
|
spring.zip
|
|
*.jar
|
|
repository/
|
|
.idea
|
|
*.iml
|