Metrics: rename applicationName to key

Fix #879
This commit is contained in:
Vinicius Carvalho
2017-03-27 11:44:21 -04:00
committed by Marius Bogoevici
parent ba18c01602
commit 9fdd7f9fc5
3 changed files with 33 additions and 6 deletions

View File

@@ -1834,6 +1834,11 @@ By default the module is configured to only send Spring Integration message chan
Available properties for customization using the prefix `spring.cloud.stream.metrics`.
key::
The name of the metric being emitted. Should be an unique value per application.
+
Default:: `${spring.application.name:${vcap.application.name:${spring.config.name:application}}}`
+
delay-millis::
The period in which metrics will be posted to the channel
+