Skip to content

Commit

Permalink
Fix health and metrics URLs. Mention health returns 204
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Dec 18, 2023
1 parent e19d535 commit 6289ef4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/se/guides/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,21 @@ Helidon provides built-in support for health and metrics endpoints.
[source,bash]
.Health
----
curl -s -X GET http://localhost:8080/health
curl -sv -X GET http://localhost:8080/observe/health
----
Notice we use the `-v` option to curl so that you can see that the health endpoint returns 204 (No Content) by default.
[source,bash]
.Metrics in Prometheus Format
----
curl -s -X GET http://localhost:8080/metrics
curl -s -X GET http://localhost:8080/observe/metrics
----
[source,bash]
.Metrics in JSON Format
----
curl -H 'Accept: application/json' -X GET http://localhost:8080/metrics
curl -H 'Accept: application/json' -X GET http://localhost:8080/observe/metrics
----
== Build a Docker Image
Expand Down

0 comments on commit 6289ef4

Please sign in to comment.