Skip to content

Commit

Permalink
fix readme for metrics
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <[email protected]>
  • Loading branch information
tvallin committed Nov 16, 2023
1 parent 230f4dd commit 629821c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,12 @@ curl -H 'Accept: application/json' -X GET http://localhost:8080/metrics
```
# Prometheus Format
curl -s -X GET http://localhost:8080/metrics
curl -s -X GET http://localhost:8080/observe/metrics
# TYPE base:gc_g1_young_generation_count gauge
. . .
# 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
{"base":...
. . .
```
Expand Down

0 comments on commit 629821c

Please sign in to comment.