Skip to content

Commit ee65055

Browse files
authored
Fix health and metrics URLs. Mention health returns 204 (helidon-io#8160)
1 parent 13e6ea0 commit ee65055

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/se/guides/quickstart.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)