Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
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-boot-admin
Commits
95cf1f90
Commit
95cf1f90
authored
Apr 30, 2018
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup watchers
parent
f38a8609
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
56 additions
and
110 deletions
+56
-110
cache-chart.vue
...src/main/frontend/views/instances/details/cache-chart.vue
+1
-3
datasource-chart.vue
...ain/frontend/views/instances/details/datasource-chart.vue
+1
-3
details-cache.vue
...c/main/frontend/views/instances/details/details-cache.vue
+0
-6
details-datasource.vue
...n/frontend/views/instances/details/details-datasource.vue
+0
-6
details-gc.vue
.../src/main/frontend/views/instances/details/details-gc.vue
+0
-5
details-threads.vue
...main/frontend/views/instances/details/details-threads.vue
+0
-6
mem-chart.vue
...i/src/main/frontend/views/instances/details/mem-chart.vue
+1
-3
process-uptime.js
...c/main/frontend/views/instances/details/process-uptime.js
+1
-3
threads-chart.vue
...c/main/frontend/views/instances/details/threads-chart.vue
+1
-3
env-manager.vue
...-ui/src/main/frontend/views/instances/env/env-manager.vue
+3
-5
traces-chart.vue
.../main/frontend/views/instances/httptrace/traces-chart.vue
+1
-3
index.vue
...er-ui/src/main/frontend/views/instances/jolokia/index.vue
+3
-3
m-bean-operation-invocation.vue
...d/views/instances/jolokia/m-bean-operation-invocation.vue
+0
-2
m-bean-operations.vue
...in/frontend/views/instances/jolokia/m-bean-operations.vue
+1
-8
index.vue
...r-ui/src/main/frontend/views/instances/sessions/index.vue
+3
-5
threads-list.vue
...main/frontend/views/instances/threaddump/threads-list.vue
+37
-41
hex-mesh.vue
...-server-ui/src/main/frontend/views/wallboard/hex-mesh.vue
+3
-5
No files found.
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/cache-chart.vue
View file @
95cf1f90
...
...
@@ -111,9 +111,7 @@
this
.
drawChart
(
this
.
data
);
},
watch
:
{
data
(
newVal
)
{
this
.
drawChart
(
newVal
);
}
data
:
'drawChart'
}
}
</
script
>
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/datasource-chart.vue
View file @
95cf1f90
...
...
@@ -108,9 +108,7 @@
this
.
drawChart
(
this
.
data
);
},
watch
:
{
data
(
newVal
)
{
this
.
drawChart
(
newVal
);
}
data
:
'drawChart'
}
}
</
script
>
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/details-cache.vue
View file @
95cf1f90
...
...
@@ -91,12 +91,6 @@
return
'-'
;
}
},
watch
:
{
dataSource
()
{
this
.
current
=
null
;
this
.
chartData
=
[];
}
},
methods
:
{
async
fetchMetrics
()
{
const
responseHit
=
this
.
instance
.
fetchMetric
(
'cache.gets'
,
{
name
:
this
.
cacheName
,
result
:
'hit'
});
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/details-datasource.vue
View file @
95cf1f90
...
...
@@ -78,12 +78,6 @@
current
:
null
,
chartData
:
[],
}),
watch
:
{
dataSource
()
{
this
.
current
=
null
;
this
.
chartData
=
[];
}
},
methods
:
{
async
fetchMetrics
()
{
const
responseActive
=
this
.
instance
.
fetchMetric
(
'data.source.active.connections'
,
{
name
:
this
.
dataSource
});
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/details-gc.vue
View file @
95cf1f90
...
...
@@ -69,11 +69,6 @@
error
:
null
,
current
:
null
,
}),
watch
:
{
dataSource
()
{
this
.
current
=
null
;
}
},
methods
:
{
async
fetchMetrics
()
{
const
response
=
await
this
.
instance
.
fetchMetric
(
'jvm.gc.pause'
);
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/details-threads.vue
View file @
95cf1f90
...
...
@@ -73,12 +73,6 @@
current
:
null
,
chartData
:
[],
}),
watch
:
{
dataSource
()
{
this
.
current
=
null
;
this
.
chartData
=
[];
}
},
methods
:
{
async
fetchMetrics
()
{
const
responseLive
=
this
.
instance
.
fetchMetric
(
'jvm.threads.live'
);
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/mem-chart.vue
View file @
95cf1f90
...
...
@@ -134,9 +134,7 @@
this
.
drawChart
(
this
.
data
);
},
watch
:
{
data
(
newVal
)
{
this
.
drawChart
(
newVal
);
}
data
:
'drawChart'
}
}
</
script
>
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/process-uptime.js
View file @
95cf1f90
...
...
@@ -38,9 +38,7 @@ export default {
}
},
watch
:
{
value
()
{
this
.
subscribe
();
}
value
:
'subscribe'
},
methods
:
{
createSubscription
()
{
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/details/threads-chart.vue
View file @
95cf1f90
...
...
@@ -109,9 +109,7 @@
this
.
drawChart
(
this
.
data
);
},
watch
:
{
data
(
newVal
)
{
this
.
drawChart
(
newVal
);
}
data
:
'drawChart'
}
}
</
script
>
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/env/env-manager.vue
View file @
95cf1f90
...
...
@@ -214,12 +214,10 @@
});
}
},
created
()
{
this
.
updateManagedProperties
(
this
.
managerPropertySource
);
},
watch
:
{
managerPropertySource
(
newVal
)
{
this
.
updateManagedProperties
(
newVal
);
managerPropertySource
:
{
handler
:
'updateManagedProperties'
,
immediate
:
true
},
managedProperties
:
{
deep
:
true
,
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/httptrace/traces-chart.vue
View file @
95cf1f90
...
...
@@ -266,9 +266,7 @@
this
.
drawChart
(
this
.
chartData
);
},
watch
:
{
chartData
(
newVal
)
{
this
.
drawChart
(
newVal
);
},
chartData
:
'drawChart'
,
hovered
(
newVal
)
{
if
(
newVal
)
{
this
.
hover
.
attr
(
'opacity'
,
1
)
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/jolokia/index.vue
View file @
95cf1f90
...
...
@@ -158,12 +158,12 @@
}
},
created
()
{
this
.
updateSelection
();
this
.
fetchMBeans
();
},
watch
:
{
'$route.query'
()
{
this
.
updateSelection
();
'$route.query'
:
{
handler
:
'updateSelection'
,
immediate
:
true
},
selected
()
{
if
(
!
_
.
isEqual
(
this
.
selected
,
!
this
.
$route
.
query
))
{
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/jolokia/m-bean-operation-invocation.vue
View file @
95cf1f90
...
...
@@ -182,7 +182,5 @@
beforeDestroy
()
{
document
.
removeEventListener
(
'keyup'
,
this
.
keyHandler
)
},
watch
:
{}
}
</
script
>
spring-boot-admin-server-ui/src/main/frontend/views/instances/jolokia/m-bean-operations.vue
View file @
95cf1f90
...
...
@@ -59,13 +59,6 @@
execute
(
args
)
{
return
this
.
instance
.
invokeMBeanOperation
(
this
.
domain
,
this
.
mBean
.
descriptor
.
raw
,
this
.
invocation
.
name
,
args
);
}
},
created
()
{
},
watch
:
{}
}
}
</
script
>
<
style
lang=
"scss"
>
@import
"~@/assets/css/utilities"
;
</
style
>
spring-boot-admin-server-ui/src/main/frontend/views/instances/sessions/index.vue
View file @
95cf1f90
...
...
@@ -122,12 +122,10 @@
},
{
type
:
null
,
value
:
''
});
}
},
mounted
()
{
this
.
updateFilter
();
},
watch
:
{
'$route.query'
()
{
this
.
updateFilter
();
'$route.query'
:
{
handler
:
'updateFilter'
,
immediate
:
true
},
filter
:
{
deep
:
true
,
...
...
spring-boot-admin-server-ui/src/main/frontend/views/instances/threaddump/threads-list.vue
View file @
95cf1f90
...
...
@@ -122,15 +122,11 @@
components
:
{
threadTag
},
mounted
()
{
this
.
drawTimelines
(
this
.
threadTimelines
);
},
watch
:
{
threadTimelines
:
{
deep
:
true
,
handler
(
newVal
)
{
this
.
drawTimelines
(
newVal
);
}
handler
:
'drawTimelines'
,
immediate
:
true
}
},
methods
:
{
...
...
@@ -193,49 +189,49 @@
}
</
script
>
<
style
lang=
"scss"
>
@import
"~@/assets/css/utilities"
;
@import
"~@/assets/css/utilities"
;
.threads
{
table-layout
:
fixed
;
.threads
{
table-layout
:
fixed
;
&
__thread-name
{
width
:
250px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
&
__thread-name
{
width
:
250px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
&
__timeline
{
width
:
auto
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
padding-left
:
0
!
important
;
padding-right
:
0
!
important
;
&
__timeline
{
width
:
auto
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
padding-left
:
0
!
important
;
padding-right
:
0
!
important
;
&
svg
{
display
:
block
;
//prevent margin bottom on svg
}
}
&
svg
{
display
:
block
;
//prevent margin bottom on svg
}
}
&
__scale
{
&
.domain
{
display
:
none
;
}
}
&
__scale
{
&
.domain
{
display
:
none
;
}
}
}
.thread
{
&
--runnable
{
fill
:
$success
;
}
.thread
{
&
--runnable
{
fill
:
$success
;
}
&
--timed_waiting
,
&
--waiting
{
fill
:
$warning
;
}
&
--timed_waiting
,
&
--waiting
{
fill
:
$warning
;
}
&
--blocked
{
fill
:
$danger
;
}
&
--blocked
{
fill
:
$danger
;
}
}
</
style
>
spring-boot-admin-server-ui/src/main/frontend/views/wallboard/hex-mesh.vue
View file @
95cf1f90
...
...
@@ -155,15 +155,13 @@
return
this
.
sideLength
*
(
2
+
(
this
.
rows
-
1
)
*
1.5
);
}
},
mounted
()
{
this
.
updateLayout
();
},
watch
:
{
sideLength
(
newVal
)
{
this
.
$el
.
style
[
'font-size'
]
=
`
${
newVal
/
9.5
}
px`
;
},
itemCount
()
{
this
.
updateLayout
();
itemCount
:
{
handler
:
'updateLayout'
,
immediate
:
true
}
}
};
...
...
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