mirror of
https://gitee.com/dcren/initializr.git
synced 2026-01-28 11:11:35 +08:00
Polish contribution
Closes gh-312
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"groups": [
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "initializr.metrics",
|
||||||
|
"type": "io.spring.initializr.actuate.autoconfigure.MetricsProperties",
|
||||||
|
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "initializr.stats",
|
"name": "initializr.stats",
|
||||||
"type": "io.spring.initializr.actuate.stat.StatsProperties",
|
"type": "io.spring.initializr.actuate.stat.StatsProperties",
|
||||||
@@ -10,14 +15,36 @@
|
|||||||
"type": "io.spring.initializr.actuate.stat.StatsProperties$Elastic",
|
"type": "io.spring.initializr.actuate.stat.StatsProperties$Elastic",
|
||||||
"sourceType": "io.spring.initializr.actuate.stat.StatsProperties",
|
"sourceType": "io.spring.initializr.actuate.stat.StatsProperties",
|
||||||
"sourceMethod": "getElastic()"
|
"sourceMethod": "getElastic()"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "initializr.metrics",
|
|
||||||
"type": "io.spring.initializr.actuate.autoconfigure.MetricsProperties",
|
|
||||||
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": [
|
"properties": [
|
||||||
|
{
|
||||||
|
"name": "initializr.metrics.id",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"description": "Identifier for application in metrics keys. Keys will be exported in the form '[id].[hex].[name]' (where '[id]' is this value, '[hex]' is unique per application context, and '[name]' is the \"natural\" name for the metric.",
|
||||||
|
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "initializr.metrics.key",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"description": "Redis key holding index to metrics keys in data store.",
|
||||||
|
"defaultValue": "keys.spring.metrics.collector",
|
||||||
|
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "initializr.metrics.prefix",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"description": "Prefix for redis keys holding metrics in data store.",
|
||||||
|
"defaultValue": "spring.metrics.collector.",
|
||||||
|
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "initializr.metrics.rate-millis",
|
||||||
|
"type": "java.lang.Long",
|
||||||
|
"description": "The rate (in milliseconds) at which metrics are exported to Redis. If the value is <=0 then the export is disabled.",
|
||||||
|
"defaultValue": 5000,
|
||||||
|
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "initializr.stats.elastic.uri",
|
"name": "initializr.stats.elastic.uri",
|
||||||
"type": "java.lang.String",
|
"type": "java.lang.String",
|
||||||
@@ -54,33 +81,6 @@
|
|||||||
"description": "Number of attempts before giving up.",
|
"description": "Number of attempts before giving up.",
|
||||||
"defaultValue": 3,
|
"defaultValue": 3,
|
||||||
"sourceType": "io.spring.initializr.actuate.stat.StatsProperties$Elastic"
|
"sourceType": "io.spring.initializr.actuate.stat.StatsProperties$Elastic"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "initializr.metrics.prefix",
|
|
||||||
"type": "java.lang.String",
|
|
||||||
"description": "Prefix for redis keys holding metrics in data store.",
|
|
||||||
"defaultValue": "spring.metrics.collector.",
|
|
||||||
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "initializr.metrics.key",
|
|
||||||
"type": "java.lang.String",
|
|
||||||
"description": "Redis key holding index to metrics keys in data store.",
|
|
||||||
"defaultValue": "keys.spring.metrics.collector",
|
|
||||||
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "initializr.metrics.id",
|
|
||||||
"type": "java.lang.String",
|
|
||||||
"description": "Identifier for application in metrics keys. Keys will be exported in the form '[id].[hex].[name]' (where '[id]' is this value, '[hex]' is unique per application context, and '[name]' is the \"natural\" name for the metric.",
|
|
||||||
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "initializr.metrics.rateMillis",
|
|
||||||
"type": "java.lang.Long",
|
|
||||||
"description": "The rate (in milliseconds) at which metrics are exported to Redis. If the value is <=0 then the export is disabled.",
|
|
||||||
"defaultValue": 5000,
|
|
||||||
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hints": []
|
"hints": []
|
||||||
|
|||||||
Reference in New Issue
Block a user