Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
b191974f
Commit
b191974f
authored
Nov 01, 2016
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect Java 7/8 differences in javadoc for metric repository auto-config
Closes gh-6985
parent
ae4b8dc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
MetricRepositoryAutoConfiguration.java
...uate/autoconfigure/MetricRepositoryAutoConfiguration.java
+6
-7
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java
View file @
b191974f
...
@@ -28,7 +28,6 @@ import org.springframework.boot.actuate.metrics.buffer.GaugeBuffers;
...
@@ -28,7 +28,6 @@ import org.springframework.boot.actuate.metrics.buffer.GaugeBuffers;
import
org.springframework.boot.actuate.metrics.export.Exporter
;
import
org.springframework.boot.actuate.metrics.export.Exporter
;
import
org.springframework.boot.actuate.metrics.export.MetricCopyExporter
;
import
org.springframework.boot.actuate.metrics.export.MetricCopyExporter
;
import
org.springframework.boot.actuate.metrics.repository.InMemoryMetricRepository
;
import
org.springframework.boot.actuate.metrics.repository.InMemoryMetricRepository
;
import
org.springframework.boot.actuate.metrics.repository.MetricRepository
;
import
org.springframework.boot.actuate.metrics.writer.DefaultCounterService
;
import
org.springframework.boot.actuate.metrics.writer.DefaultCounterService
;
import
org.springframework.boot.actuate.metrics.writer.DefaultGaugeService
;
import
org.springframework.boot.actuate.metrics.writer.DefaultGaugeService
;
import
org.springframework.boot.actuate.metrics.writer.MetricWriter
;
import
org.springframework.boot.actuate.metrics.writer.MetricWriter
;
...
@@ -46,12 +45,12 @@ import org.springframework.messaging.MessageChannel;
...
@@ -46,12 +45,12 @@ import org.springframework.messaging.MessageChannel;
* user-facing {@link GaugeService} and {@link CounterService} instances, and also back
* user-facing {@link GaugeService} and {@link CounterService} instances, and also back
* end repositories to catch the data pumped into them.
* end repositories to catch the data pumped into them.
* <p>
* <p>
*
An {@link InMemoryMetricRepository} is always created unless another
*
In general, even if metric data needs to be stored and analysed remotely, it is
*
{@link MetricRepository} is already provided by the user. In general, even if metric
*
recommended to use in-memory storage to buffer metric updates locally as is done by the
* d
ata needs to be stored and analysed remotely, it is recommended to use an in-memory
* d
efault {@link InMemoryMetricRepository} (Java 7) or {@link CounterBuffers} and
*
repository to buffer metric updates locally. The values can be exported (e.g. on a
*
{@link GaugeBuffers} (Java 8). The values can be exported (e.g. on a periodic basis)
*
periodic basis) using an {@link Exporter}, most implementations of which have
*
using an {@link Exporter}, most implementations of which have optimizations for sending
*
optimizations for sending
data to remote repositories.
* data to remote repositories.
* <p>
* <p>
* If Spring Messaging is on the classpath and a {@link MessageChannel} called
* If Spring Messaging is on the classpath and a {@link MessageChannel} called
* "metricsChannel" is also available, all metric update events are published additionally
* "metricsChannel" is also available, all metric update events are published additionally
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment