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
2c5c539b
Commit
2c5c539b
authored
Jan 20, 2017
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document automatic scheduling of metrics export
Closes gh-8040
parent
d9a0a552
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+4
-0
No files found.
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
2c5c539b
...
...
@@ -1160,6 +1160,10 @@ metric updates every 5 seconds (configured via `spring.metrics.export.delay-mill
In
addition
,
any
`
MetricReader
`
that
you
define
and
mark
as
`@
ExportMetricReader
`
will
have
its
values
exported
by
the
default
exporter
.
NOTE
:
This
feature
is
enabling
scheduling
in
your
application
(`@
EnableScheduling
`)
which
can
be
a
problem
if
you
run
an
integration
tests
as
your
own
scheduled
tasks
will
start
.
You
can
disable
this
behaviour
by
setting
`
spring
.
metrics
.
export
.
enabled
`
to
`
false
`.
The
default
exporter
is
a
`
MetricCopyExporter
`
which
tries
to
optimize
itself
by
not
copying
values
that
haven
't changed since it was last called (the optimization can be
switched off using a flag `spring.metrics.export.send-latest`). Note also that the
...
...
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