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
5632d043
Commit
5632d043
authored
Jan 30, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix enums following upstream micrometer change
See gh-11575
parent
134628a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
SimpleProperties.java
...autoconfigure/metrics/export/simple/SimpleProperties.java
+1
-1
StatsdProperties.java
...autoconfigure/metrics/export/statsd/StatsdProperties.java
+1
-1
MetricsEndpointTests.java
...gframework/boot/actuate/metrics/MetricsEndpointTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/simple/SimpleProperties.java
View file @
5632d043
...
@@ -46,7 +46,7 @@ public class SimpleProperties {
...
@@ -46,7 +46,7 @@ public class SimpleProperties {
/**
/**
* Counting mode.
* Counting mode.
*/
*/
private
CountingMode
mode
=
CountingMode
.
C
umulative
;
private
CountingMode
mode
=
CountingMode
.
C
UMULATIVE
;
public
boolean
getEnabled
()
{
public
boolean
getEnabled
()
{
return
this
.
enabled
;
return
this
.
enabled
;
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/statsd/StatsdProperties.java
View file @
5632d043
...
@@ -40,7 +40,7 @@ public class StatsdProperties {
...
@@ -40,7 +40,7 @@ public class StatsdProperties {
/**
/**
* StatsD line protocol to use.
* StatsD line protocol to use.
*/
*/
private
StatsdFlavor
flavor
=
StatsdFlavor
.
D
atadog
;
private
StatsdFlavor
flavor
=
StatsdFlavor
.
D
ATADOG
;
/**
/**
* Host of the StatsD server to receive exported metrics.
* Host of the StatsD server to receive exported metrics.
...
...
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/MetricsEndpointTests.java
View file @
5632d043
...
@@ -131,7 +131,7 @@ public class MetricsEndpointTests {
...
@@ -131,7 +131,7 @@ public class MetricsEndpointTests {
private
Optional
<
Double
>
getCount
(
MetricsEndpoint
.
MetricResponse
response
)
{
private
Optional
<
Double
>
getCount
(
MetricsEndpoint
.
MetricResponse
response
)
{
return
response
.
getMeasurements
().
stream
()
return
response
.
getMeasurements
().
stream
()
.
filter
((
ms
)
->
ms
.
getStatistic
().
equals
(
Statistic
.
C
ount
)).
findAny
()
.
filter
((
ms
)
->
ms
.
getStatistic
().
equals
(
Statistic
.
C
OUNT
)).
findAny
()
.
map
(
MetricsEndpoint
.
Sample
::
getValue
);
.
map
(
MetricsEndpoint
.
Sample
::
getValue
);
}
}
...
...
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