-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* README.md corrections Signed-off-by: Maxim Nesen <[email protected]>
- Loading branch information
Showing
31 changed files
with
212 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Helidon Metrics Filtering MP Example | ||
|
||
This project implements a simple Hello World REST service using Helidon SE and demonstrates the | ||
optional metrics exemplar support. | ||
|
||
## Build and run | ||
|
||
With JDK11+ | ||
```bash | ||
mvn package | ||
java -jar target/helidon-examples-metrics-filtering-mp.jar | ||
``` | ||
|
||
## Exercise the application | ||
|
||
``` | ||
curl -X GET http://localhost:8080/greet | ||
{"message":"Hello World!"} | ||
curl -X GET http://localhost:8080/greet/Joe | ||
{"message":"Hello Joe!"} | ||
curl -X PUT -H "Content-Type: application/json" -d '{"message" : "Hola"}' http://localhost:8080/greet/greeting | ||
curl -X GET http://localhost:8080/greet/Jose | ||
{"message":"Hola Jose!"} | ||
curl -X GET http://localhost:8080/greet | ||
{"message":"Hola World!"} | ||
``` | ||
|
||
## Retrieve application metrics | ||
|
||
``` | ||
# Prometheus format with exemplars | ||
curl -s -X GET http://localhost:8080/metrics/application | ||
# TYPE application_counterForPersonalizedGreetings_total counter | ||
# HELP application_counterForPersonalizedGreetings_total | ||
application_counterForPersonalizedGreetings_total 2 # {trace_id="78e61eed351f4c9d"} 1 1617812495.016000 | ||
. . . | ||
# TYPE application_timerForGets_mean_seconds gauge | ||
application_timerForGets_mean_seconds 0.005772598385062112 # {trace_id="b22f13c37ba8b879"} 0.001563945 1617812578.687000 | ||
# TYPE application_timerForGets_max_seconds gauge | ||
application_timerForGets_max_seconds 0.028018165 # {trace_id="a1b127002725143c"} 0.028018165 1617812467.524000 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Helidon Filtering Metrics SE Example | ||
|
||
This project implements a simple Hello World REST service using Helidon SE and demonstrates the | ||
optional metrics exemplar support. | ||
|
||
## Build and run | ||
|
||
With JDK11+ | ||
```bash | ||
mvn package | ||
java -jar target/helidon-examples-metrics-se.jar | ||
``` | ||
|
||
## Exercise the application | ||
|
||
``` | ||
curl -X GET http://localhost:8080/greet | ||
{"message":"Hello World!"} | ||
curl -X GET http://localhost:8080/greet/Joe | ||
{"message":"Hello Joe!"} | ||
curl -X PUT -H "Content-Type: application/json" -d '{"greeting" : "Hola"}' http://localhost:8080/greet/greeting | ||
curl -X GET http://localhost:8080/greet/Jose | ||
{"message":"Hola Jose!"} | ||
curl -X GET http://localhost:8080/greet | ||
{"message":"Hola World!"} | ||
``` | ||
|
||
## Retrieve application metrics | ||
|
||
``` | ||
# Prometheus format with exemplars | ||
curl -s -X GET http://localhost:8080/metrics/application | ||
# TYPE application_counterForPersonalizedGreetings_total counter | ||
# HELP application_counterForPersonalizedGreetings_total | ||
application_counterForPersonalizedGreetings_total 2 # {trace_id="78e61eed351f4c9d"} 1 1617812495.016000 | ||
. . . | ||
# TYPE application_timerForGets_mean_seconds gauge | ||
application_timerForGets_mean_seconds 0.005772598385062112 # {trace_id="b22f13c37ba8b879"} 0.001563945 1617812578.687000 | ||
# TYPE application_timerForGets_max_seconds gauge | ||
application_timerForGets_max_seconds 0.028018165 # {trace_id="a1b127002725143c"} 0.028018165 1617812467.524000 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# OpenAPI Helidon Quickstart | ||
# Helidon Client with OpenAPI | ||
|
||
This is a sample for Helidon Quickstart project. | ||
## Build and run | ||
|
||
With JDK11+ | ||
```bash | ||
mvn package | ||
java -jar target/openapi-mp-client.jar | ||
``` | ||
|
||
## Overview | ||
This project was generated using the Helidon OpenAPI Generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.