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
78fa69f8
Commit
78fa69f8
authored
Jun 04, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3110 from izeye/patch-15
* patch-15: polish Document `spring.metrics.export.*` properties
parents
0d1235ee
f6115a07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
MetricExportProperties.java
...k/boot/actuate/metrics/export/MetricExportProperties.java
+3
-0
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+11
-1
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/MetricExportProperties.java
View file @
78fa69f8
...
...
@@ -35,6 +35,9 @@ import org.springframework.util.StringUtils;
@ConfigurationProperties
(
"spring.metrics.export"
)
public
class
MetricExportProperties
extends
TriggerProperties
{
/**
* Specific trigger properties per MetricWriter bean name.
*/
private
Map
<
String
,
SpecificTriggerProperties
>
triggers
=
new
LinkedHashMap
<
String
,
SpecificTriggerProperties
>();
...
...
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
78fa69f8
...
...
@@ -229,7 +229,7 @@ content into your application; rather pick only the properties that you need.
spring.mustache.check-template-location=true
spring.mustache.content-type=UTF-8
spring.mustache.enabled=true # enable MVC view resolution
spring.mustache.prefix
spring.mustache.prefix
=
spring.mustache.suffix=.html
spring.mustache.view-names= # whitelist of view names that can be resolved
...
...
@@ -652,6 +652,16 @@ content into your application; rather pick only the properties that you need.
shell.auth.simple.user.name=
shell.auth.simple.user.password=
shell.auth.spring.roles=
# METRICS EXPORT ({sc-spring-boot-actuator}/metrics/export/MetricExportProperties.{sc-ext}[MetricExportProperties])
spring.metrics.export.enabled=true # flag to disable all metric exports (assuming any MetricWriters are available)
spring.metrics.export.delay-millis=5000 # delay in milliseconds between export ticks
spring.metrics.export.send-latest=true # flag to switch off any available optimizations based on not exporting unchanged metric values
spring.metrics.export.includes= # list of patterns for metric names to include
spring.metrics.export.excludes= # list of patterns for metric names to exclude. Applied after the includes
spring.metrics.export.redis.prefix=spring.metrics # prefix for redis repository if active
spring.metrics.export.redis.key=keys.spring.metrics # key for redis repository export (if active)
spring.metrics.export.triggers.*= # specific trigger properties per MetricWriter bean name
# SENDGRID ({sc-spring-boot-autoconfigure}/sendgrid/SendGridAutoConfiguration.{sc-ext}[SendGridAutoConfiguration])
spring.sendgrid.username= # SendGrid account username
...
...
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