Polish contribution

Closes gh-312
This commit is contained in:
Stephane Nicoll
2016-11-13 12:54:36 +01:00
parent 51443f7fe5
commit 12cca3d4c4

View File

@@ -1,5 +1,10 @@
{
"groups": [
{
"name": "initializr.metrics",
"type": "io.spring.initializr.actuate.autoconfigure.MetricsProperties",
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
},
{
"name": "initializr.stats",
"type": "io.spring.initializr.actuate.stat.StatsProperties",
@@ -10,14 +15,36 @@
"type": "io.spring.initializr.actuate.stat.StatsProperties$Elastic",
"sourceType": "io.spring.initializr.actuate.stat.StatsProperties",
"sourceMethod": "getElastic()"
},
{
"name": "initializr.metrics",
"type": "io.spring.initializr.actuate.autoconfigure.MetricsProperties",
"sourceType": "io.spring.initializr.actuate.autoconfigure.MetricsProperties"
}
],
"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",
"type": "java.lang.String",
@@ -54,33 +81,6 @@
"description": "Number of attempts before giving up.",
"defaultValue": 3,
"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": []