Commit Graph

15 Commits

Author SHA1 Message Date
Ilayaperumal Gopinathan
bd002e4aaf Add code formatting guidelines
Add 'eclipse' folder containing Eclipse code
formatter configuration and instructions how to use
 it.

Update rule for join_wrapped_lines

 - Set to `false`

Resolves #930

Update README

Address review comments
2017-05-15 13:03:45 -04:00
Vinicius Carvalho
516ba13402 Make MetricJsonSerializer thread-safe
- Fix the unsafe use of `DateFormatter`

Fix #922
2017-05-10 23:32:27 -04:00
Oleg Zhurakousky
8fc0cf1a0c GH-927 Fixed GMT formatting issue
Fixed DateFormat definition to include 'ISO 8601 time zone' designator (see https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
Added constamt TimeZone to dateFormat
Added test

GH-927 fixed imports
2017-05-01 11:12:17 -04:00
Artem Bilan
ce772bc8a2 Increase poll timeout for Metrics tests to 10 sec
Sometimes 1 second is really not enough to wait for the answer
from other thread, especially on the slow, hard-busy CI server
2017-04-27 17:27:02 -04:00
Marius Bogoevici
1459400158 Clear the exportProperties cache on refresh
Fix #910
2017-04-11 12:02:01 -04:00
Marius Bogoevici
523a3cfdab Observe priority when populating the exported properties
Fix #909

- If a property is already present in the exported list
  it means that it's been put there by a higher priority
  source - so we can skip it
2017-04-10 21:00:50 -04:00
Marius Bogoevici
ab76178b82 Handle placeholders and SpEL in metrics properties
Fix #907

- Placeholders are replaced and expressions are evaluated
  before on attached properties

Add test for default value
2017-04-10 21:00:39 -04:00
Marius Bogoevici
d6fe841a63 Align the exporter and the trigger name
Fix #903

Use 'application' as the trigger name consistently.

Since 'application' would be a too generic name for
the Exporter bean, use a BeanPostProcessor to install
the exporter in the `MetricExporters` bean.

Additional updates

- rename binding to `applicationMetrics` (we can decide later how
  the channel is named)
- remove the default setting for `spring.metrics.export`
- Improve documentation

Fix #904

Docs updates

Properly escape asciidoc control characters
2017-04-10 15:37:52 -04:00
Marius Bogoevici
d17e70ddaf Metrics refactoring
- Change the metrics channel name to `applicationMetricsChannel`
- Update documentation
- Remove `instanceIndex` to reduce coupling to
  Spring Cloud Stream semantics and because it can be sent via
  the `properties` metadata set
2017-03-31 17:33:58 -04:00
Ilayaperumal Gopinathan
934e36ab09 Apply metrics channel name in RelaxedPropertiesUtilsTests 2017-03-31 15:57:04 +05:30
Vinicius Carvalho
7438fde088 Changing metrics channel name to align with boot 2017-03-31 15:48:09 +05:30
Dave Syer
07d0328d68 Convert BinderMetricsEmitter to an Exporter
Re-organize and re-name a bit
Rename config package
Use spring.metrics.export.* to configure the includes and excludes
2017-03-30 09:41:27 -04:00
Vinicius Carvalho
9fdd7f9fc5 Metrics: rename applicationName to key
Fix #879
2017-03-27 12:16:03 -04:00
Vinicius Carvalho
d78adea895 Avoiding duplicate entries on properties map
Fix #859

Instead of sending out all matching relaxed properties
we now pick up one single canonical format and send
the data to consumers using it.

Formatting settings
2017-03-18 19:13:17 -04:00
Vinicius Carvalho
e05d5e03bd Initial metrics implementation 2017-03-13 18:13:27 -04:00