@@ -12,6 +12,7 @@ For stack analysis patterns (KQL, Dev Tools queries, trends, top classes/methods
1212
1313## Table of Contents
1414
15+ - [ Architecture] ( #architecture )
1516- [ What You Get] ( #what-you-get )
1617- [ 1) Start the ELK Stack] ( #1-start-the-elk-stack )
1718- [ 2) Open Kibana UI] ( #2-open-kibana-ui )
@@ -23,6 +24,43 @@ For stack analysis patterns (KQL, Dev Tools queries, trends, top classes/methods
2324- [ Troubleshooting] ( #troubleshooting )
2425- [ Stop the Stack] ( #stop-the-stack )
2526
27+ ## Architecture
28+
29+ ```
30+ Your JVM (instrumented app)
31+ ┌─────────────────────────────────────────────────────────────┐
32+ │ │
33+ │ ┌──────────────────────┐ ┌───────────────────────┐ │
34+ │ │ JCT Agent │ │ Recorder │ │
35+ │ │ -javaagent:jct.jar │────▶│ records call stacks │ │
36+ │ └──────────────────────┘ └─────────────┬─────────┘ │
37+ │ │ │
38+ │ ┌──────────────────▼────────────┐ │
39+ │ │ Stack Processor │ │
40+ │ │ AsyncUdpStackProcessor or │ │
41+ │ │ AsyncTcpStackProcessor │ │
42+ │ └──────────────────┬────────────┘ │
43+ └─────────────────────────────────────────────┼───────────────┘
44+ │
45+ UDP / TCP ▼ port 9999
46+ ┌────────────────────────────────────────┐
47+ │ Docker Compose │
48+ ├────────────────────────────────────────┤
49+ │ │
50+ │ ┌──────────────┐ ┌───────────────┐ │
51+ │ │ Logstash │─▶│Elasticsearch │ │
52+ │ │ UDP + TCP │ │ jct-events-* │ │
53+ │ │ :9999 │ │ :9200 │ │
54+ │ └──────────────┘ └───────┬───────┘ │
55+ │ │ │
56+ │ ┌────────────▼────────┐ │
57+ │ │ Kibana │ │
58+ │ │ Discover / Lens / │ │
59+ │ │ Dev Tools :5601 │ │
60+ │ └─────────────────────┘ │
61+ └────────────────────────────────────────┘
62+ ```
63+
2664## What You Get
2765
2866- Elasticsearch on ` http://localhost:9200 `
0 commit comments