Bläddra i källkod

Make list of actuator endpoints a little more readable

Greg Turnquist 13 år sedan
förälder
incheckning
511533845c
2 ändrade filer med 16 tillägg och 20 borttagningar
  1. 8
    10
      README.ftl.md
  2. 8
    10
      README.md

+ 8
- 10
README.ftl.md Visa fil

@@ -228,16 +228,14 @@ You will see a new set of RESTful end points added to the application. These are
228 228
 2013-08-01 08:03:42.845  INFO 43851 ... Mapped URL path [/shutdown] onto handler of type [class org.springframework.boot.ops.endpoint.ShutdownEndpoint]
229 229
 ```
230 230
 
231
-They include:
232
-- Errors
233
-- [Environment](http://localhost:8080/env)
234
-- [Health](http://localhost:8080/health)
235
-- [Beans](http://localhost:8080/beans)
236
-- [Info](http://localhost:8080/info)
237
-- [Metrics](http://localhost:8080/metrics)
238
-- [Trace](http://localhost:8080/trace)
239
-- [Dump](http://localhost:8080/dump)
240
-- Shutdown
231
+They include: errors, [environment](http://localhost:8080/env), [health](http://localhost:8080/health), [beans](http://localhost:8080/beans), [info](http://localhost:8080/info), [metrics](http://localhost:8080/metrics), [trace](http://localhost:8080/trace), [dump](http://localhost:8080/dump), and shutdown.
232
+
233
+It's easy to check the health of the app.
234
+
235
+```sh
236
+$ curl localhost:8080/health
237
+ok
238
+```
241 239
 
242 240
 You can invoke shutdown through curl.
243 241
 

+ 8
- 10
README.md Visa fil

@@ -396,16 +396,14 @@ You will see a new set of RESTful end points added to the application. These are
396 396
 2013-08-01 08:03:42.845  INFO 43851 ... Mapped URL path [/shutdown] onto handler of type [class org.springframework.boot.ops.endpoint.ShutdownEndpoint]
397 397
 ```
398 398
 
399
-They include:
400
-- Errors
401
-- [Environment](http://localhost:8080/env)
402
-- [Health](http://localhost:8080/health)
403
-- [Beans](http://localhost:8080/beans)
404
-- [Info](http://localhost:8080/info)
405
-- [Metrics](http://localhost:8080/metrics)
406
-- [Trace](http://localhost:8080/trace)
407
-- [Dump](http://localhost:8080/dump)
408
-- Shutdown
399
+They include: errors, [environment](http://localhost:8080/env), [health](http://localhost:8080/health), [beans](http://localhost:8080/beans), [info](http://localhost:8080/info), [metrics](http://localhost:8080/metrics), [trace](http://localhost:8080/trace), [dump](http://localhost:8080/dump), and shutdown.
400
+
401
+It's easy to check the health of the app.
402
+
403
+```sh
404
+$ curl localhost:8080/health
405
+ok
406
+```
409 407
 
410 408
 You can invoke shutdown through curl.
411 409