spring-boot/spring-boot-samples
Dave Syer aa2b020660 Refactor metrics to expose richer feature set
Main user-facing interface is still Counter/GaugeService but the
back end behind that has more options. The Default*Services write
metrics to a MetricWriter and there are some variants of that, and
also variants of MetricReader (basic read-only actions).

MetricRepository is now a combination of MetricReader, MetricWriter
and some more methods that make it a bit more repository like.

There is also a MultiMetricReader and a MultiMetricRepository for
the common case where metrics are stored in related (often open
ended) groups. Examples would be complex metrics like histograms
and "rich" metrics with averages and statistics attached (which
are both closed) and "field counters" which count the occurrences
of values of a particular named field or slot in an incoming message
(e.g. counting Twitter hastags, open ended).

In memory and redis implementations are provided for the repositories.
Generally speaking the in memory repository should be used as a
local buffer and then scheduled "exports" can be executed to copy
metric values accross to a remote repository for aggregation.
There is an Exporter interface to support this and a few implementations
dealing with different strategies for storing the results (singly or
grouped).

Codahale metrics are also supported through the MetricWriter interface.
Currently implemented through a naming convention (since Codahale has
a fixed object model this makes sense): metrics beginning with "histogram"
are Histograms, "timer" for Timers, "meter" for Meters etc.

Support for message driven metric consumption and production are provided
through a MetricWriterMessageHandler and a MessageChannelMetricWriter.

No support yet for pagination in the repositories, or for HATEOAS style
HTTP endpoints.
2013-12-30 10:32:42 +00:00
..
spring-boot-sample-actuator Refactor metrics to expose richer feature set 2013-12-30 10:32:42 +00:00
spring-boot-sample-actuator-log4j Polish 2013-12-16 14:38:52 -08:00
spring-boot-sample-actuator-noweb Add actuator-noweb sample 2013-12-18 20:05:33 -08:00
spring-boot-sample-actuator-ui Use ServletWrappingController for jolokia instead of Servlet 2013-12-20 19:49:48 +00:00
spring-boot-sample-amqp Polish 2013-10-08 21:17:39 -07:00
spring-boot-sample-aop
spring-boot-sample-batch
spring-boot-sample-data-jpa Polish 2013-12-16 14:38:52 -08:00
spring-boot-sample-data-mongodb
spring-boot-sample-data-redis Add PoolConfig to Redis 2013-12-23 12:28:24 +00:00
spring-boot-sample-integration
spring-boot-sample-jetty Source format and clean-up 2013-11-16 00:08:18 -08:00
spring-boot-sample-profile Polish 2013-11-25 17:12:56 -08:00
spring-boot-sample-secure Switch to thymeleaf-spring4 2013-12-19 13:40:24 +00:00
spring-boot-sample-servlet Split SecurityAutoConfiguration 2013-12-17 17:17:05 +00:00
spring-boot-sample-simple Add build.gradle samples and rename runJar->bootRun 2013-12-10 11:10:04 +00:00
spring-boot-sample-tomcat Split MessageConverters auto config out into separate class 2013-12-16 16:13:39 +00:00
spring-boot-sample-traditional Add provided scope for tomcat 2013-11-25 17:22:14 +00:00
spring-boot-sample-web-jsp Add @Value injection to JSP (WAR) sample 2013-12-19 08:28:06 +00:00
spring-boot-sample-web-static
spring-boot-sample-web-ui Switch to thymeleaf-spring4 2013-12-19 13:40:24 +00:00
spring-boot-sample-websocket Fix for upstream Spring 4.0 changes 2013-12-03 11:51:51 -08:00
spring-boot-sample-xml Add explicit test for config file and SpringApplication 2013-11-28 16:46:21 +00:00
pom.xml Add PoolConfig to Redis 2013-12-23 12:28:24 +00:00
README.md

Spring Boot - Samples

We are currently still working on documentation for Spring Boot. Please check back in the future.