Add updated README.adoc to mp-opentracing-traced folder
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/6ff0b8c3 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/6ff0b8c3 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/6ff0b8c3 Branch: refs/heads/master Commit: 6ff0b8c3c67d45bead4ffcfb6aabc2b67f8aa27f Parents: 403d446 Author: Michael P. Redlich <[email protected]> Authored: Fri Dec 21 05:00:12 2018 -0500 Committer: Michael P. Redlich <[email protected]> Committed: Fri Dec 21 05:00:12 2018 -0500 ---------------------------------------------------------------------- examples/mp-opentracing-traced/README.adoc | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/6ff0b8c3/examples/mp-opentracing-traced/README.adoc ---------------------------------------------------------------------- diff --git a/examples/mp-opentracing-traced/README.adoc b/examples/mp-opentracing-traced/README.adoc new file mode 100644 index 0000000..7151c16 --- /dev/null +++ b/examples/mp-opentracing-traced/README.adoc @@ -0,0 +1,64 @@ +index-group=Traced +type=page +status=in progress +~~~~~~ + +== Microprofile OpenTracing @Traced + +This is an example on how to use the @Traced annotation in TomEE. + +NOTE: This example is a work in progress. + +===== Run the application: + + mvn clean install tomee:run + + +NOTE: Add text here for information about the endpoint. + +===== Request: + + curl -X GET http://localhost:8080/mp-opentracing-traced/... + +NOTE: Complete the URL for the above `curl` command. + +===== Response: + +NOTE: Add the response from the example application + +==== @Traced Feature + +NOTE: Add text here to include how to implement and some source code. + +===== For the traced status: + + GET http://localhost:8080/mp-opentracing-traced/... + +NOTE: Complete the URL for the above `curl` command. + +===== Reponse: + + +===== Expected Prometheus format: + +===== Request: + + curl -X GET http://localhost:8080/mp-opentracing-traced/... + +NOTE: Complete the URL for the above `curl` command. + +===== Response: + +==== Metric Metadata: + +===== Request: + + curl -X OPTIONS http://localhost:8080/mp-opentracing/traced/... + +NOTE: Complete the URL for the above `curl` command. + +===== Response: + +===== Test the application: + + mvn test
