You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
11 years ago
..
spring-boot-sample-actuator Refactor metrics to expose richer feature set 11 years ago
spring-boot-sample-actuator-log4j Polish 11 years ago
spring-boot-sample-actuator-noweb Add actuator-noweb sample 11 years ago
spring-boot-sample-actuator-ui Use ServletWrappingController for jolokia instead of Servlet 11 years ago
spring-boot-sample-amqp Polish 11 years ago
spring-boot-sample-aop Polish 11 years ago
spring-boot-sample-batch Rework POMs to support automated CI release 11 years ago
spring-boot-sample-data-jpa Polish 11 years ago
spring-boot-sample-data-mongodb Source format and clean-up 11 years ago
spring-boot-sample-data-redis Add PoolConfig to Redis 11 years ago
spring-boot-sample-integration Source format and clean-up 11 years ago
spring-boot-sample-jetty Source format and clean-up 11 years ago
spring-boot-sample-profile Polish 11 years ago
spring-boot-sample-secure Switch to thymeleaf-spring4 11 years ago
spring-boot-sample-servlet Split SecurityAutoConfiguration 11 years ago
spring-boot-sample-simple Add build.gradle samples and rename runJar->bootRun 11 years ago
spring-boot-sample-tomcat Split MessageConverters auto config out into separate class 11 years ago
spring-boot-sample-traditional Add provided scope for tomcat 11 years ago
spring-boot-sample-web-jsp Add @Value injection to JSP (WAR) sample 11 years ago
spring-boot-sample-web-static Source format and clean-up 11 years ago
spring-boot-sample-web-ui Switch to thymeleaf-spring4 11 years ago
spring-boot-sample-websocket Fix for upstream Spring 4.0 changes 11 years ago
spring-boot-sample-xml Add explicit test for config file and SpringApplication 11 years ago
README.md Documentation 11 years ago
pom.xml Add PoolConfig to Redis 11 years ago

README.md

Spring Boot - Samples

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