File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docs/src/reference/asciidoc
spring-statemachine-samples/monitoring/src/test/java/demo/monitoring Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1522,7 +1522,7 @@ Metrics can be viewed from Boot.
1522
1522
1523
1523
[source,json]
1524
1524
----
1525
- # curl http://localhost:8080/metrics
1525
+ # curl http://localhost:8080/application/ metrics
1526
1526
1527
1527
{
1528
1528
"gauge.ssm.transition.INITIAL_S1.duration":0.0,
@@ -1544,7 +1544,7 @@ Tracing can be viewed from Boot.
1544
1544
1545
1545
[source,json]
1546
1546
----
1547
- # curl http://localhost:8080/trace
1547
+ # curl http://localhost:8080/application/ trace
1548
1548
1549
1549
[{
1550
1550
"timestamp":1478419121956,
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public void testMetrics() throws Exception {
79
79
perform (get ("/state" ).param ("events" , "E1" )).
80
80
andExpect (status ().isOk ());
81
81
mvc .
82
- perform (get ("/metrics" )).
82
+ perform (get ("/application/ metrics" )).
83
83
andExpect (jsonPath ("$.['counter.ssm.transition.INITIAL_S1.transit']" , is (1 )));
84
84
}
85
85
@@ -89,7 +89,7 @@ public void testTrace() throws Exception {
89
89
perform (get ("/state" )).
90
90
andExpect (status ().isOk ());
91
91
mvc .
92
- perform (get ("/trace" )).
92
+ perform (get ("/application/ trace" )).
93
93
andExpect (jsonPath ("$.*.info.transition" , containsInAnyOrder ("INITIAL_S1" )));
94
94
}
95
95
You can’t perform that action at this time.
0 commit comments