Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
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
openSource
spring-cloud-netflix
Commits
1a660214
Commit
1a660214
authored
May 28, 2015
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gh354b' of
https://github.com/brenuart/spring-cloud-netflix
into brenuart-gh354b
parents
dbef27ac
28f89098
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DefaultServoMetricNaming.java
...amework/cloud/netflix/servo/DefaultServoMetricNaming.java
+2
-2
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/servo/DefaultServoMetricNaming.java
View file @
1a660214
...
@@ -48,7 +48,7 @@ public class DefaultServoMetricNaming implements ServoMetricNaming {
...
@@ -48,7 +48,7 @@ public class DefaultServoMetricNaming implements ServoMetricNaming {
private
String
handleMetric
(
MonitorConfig
config
,
TagList
tags
)
{
private
String
handleMetric
(
MonitorConfig
config
,
TagList
tags
)
{
String
type
=
cleanValue
(
tags
.
getTag
(
DataSourceType
.
KEY
),
false
);
String
type
=
cleanValue
(
tags
.
getTag
(
DataSourceType
.
KEY
),
false
);
String
instanceName
=
cleanValue
(
tags
.
getTag
(
"instance"
),
false
);
String
instanceName
=
cleanValue
(
tags
.
getTag
(
"instance"
),
false
);
String
name
=
cleanupIllegalCharacters
(
config
.
getName
(),
fals
e
);
String
name
=
cleanupIllegalCharacters
(
config
.
getName
(),
tru
e
);
String
statistic
=
cleanValue
(
tags
.
getTag
(
"statistic"
),
false
);
String
statistic
=
cleanValue
(
tags
.
getTag
(
"statistic"
),
false
);
StringBuilder
nameBuilder
=
new
StringBuilder
();
StringBuilder
nameBuilder
=
new
StringBuilder
();
...
@@ -74,7 +74,7 @@ public class DefaultServoMetricNaming implements ServoMetricNaming {
...
@@ -74,7 +74,7 @@ public class DefaultServoMetricNaming implements ServoMetricNaming {
String
domain
=
cleanValue
(
tags
.
getTag
(
JMX_DOMAIN_KEY
),
true
);
String
domain
=
cleanValue
(
tags
.
getTag
(
JMX_DOMAIN_KEY
),
true
);
String
type
=
cleanValue
(
tags
.
getTag
(
"Jmx.type"
),
false
);
String
type
=
cleanValue
(
tags
.
getTag
(
"Jmx.type"
),
false
);
String
instanceName
=
cleanValue
(
tags
.
getTag
(
"Jmx.instance"
),
false
);
String
instanceName
=
cleanValue
(
tags
.
getTag
(
"Jmx.instance"
),
false
);
String
name
=
cleanValue
(
tags
.
getTag
(
"Jmx.name"
),
fals
e
);
String
name
=
cleanValue
(
tags
.
getTag
(
"Jmx.name"
),
tru
e
);
String
fieldName
=
cleanupIllegalCharacters
(
config
.
getName
(),
false
);
String
fieldName
=
cleanupIllegalCharacters
(
config
.
getName
(),
false
);
StringBuilder
nameBuilder
=
new
StringBuilder
();
StringBuilder
nameBuilder
=
new
StringBuilder
();
...
...
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