Skip to content

Commit 9445c4a

Browse files
committed
quickstart added
1 parent ce370f3 commit 9445c4a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ Applications used to demonstrate distributed tracing with OpenTelemetry with som
44
For simplicity each application specific code is placed inside module with common code in `common` module.
55
Also for simplicity each app uses the same postgres db (however different tables inside, normally that should be separate db).
66

7+
## Quickstart
8+
9+
You just need docker
10+
```shell
11+
cd run-local/
12+
docker compose up -d
13+
curl -s -XPOST localhost:9500/app/init-load
14+
curl -s localhost:9500/app/order | jq
15+
curl -s -XPUT localhost:9500/generator
16+
curl -XPOST -s localhost:9500/common/forward -d '{"ttl": 7, "beforeMillis": 5, "afterMillis": 1}' | jq
17+
18+
# jaeger:
19+
# http://localhost:16686 # service: view, operation: forward -> Find Traces
20+
21+
# prometheus
22+
# http://localhost:9090 # query: jobs_running
23+
24+
docker compose down -v
25+
```
26+
27+
728
## If you come here from Scala world
829

930
Then below you may be interested in the following:

0 commit comments

Comments
 (0)