File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,19 +104,21 @@ Helidon provides built-in support for health and metrics endpoints.
104104[source,bash]
105105.Health
106106----
107- curl -s -X GET http://localhost:8080/health
107+ curl -sv -X GET http://localhost:8080/observe /health
108108----
109109
110+ Notice we use the `-v` option to curl so that you can see that the health endpoint returns 204 (No Content) by default.
111+
110112[source,bash]
111113.Metrics in Prometheus Format
112114----
113- curl -s -X GET http://localhost:8080/metrics
115+ curl -s -X GET http://localhost:8080/observe/ metrics
114116----
115117
116118[source,bash]
117119.Metrics in JSON Format
118120----
119- curl -H 'Accept: application/json' -X GET http://localhost:8080/metrics
121+ curl -H 'Accept: application/json' -X GET http://localhost:8080/observe/ metrics
120122----
121123
122124== Build a Docker Image
You can’t perform that action at this time.
0 commit comments