Skip to content

Commit 870b657

Browse files
committed
Add structure
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
1 parent acae353 commit 870b657

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

example/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ The telemetry data have been provided by js application in `app` directory.
88
* metrics.js: OpenTelemetry instrumented application that exports metrics to an endpoint (Fluentd) using the otlp protocol
99
* tracing.js: OpenTelemetry instrumented application that exports trace data to an endpoint (Fluentd) using the otlp protocol
1010

11+
### Structure
12+
13+
```mermaid
14+
flowchart LR
15+
A[app/metrics.js] -->|metric data / otlp| C[Fluentd]
16+
B[app/tracing.js] -->|trace data / otlp| C[Fluentd]
17+
C[Fluentd] -->|metric data / otlp| D[Otel Collector]
18+
C[Fluentd] -->|trace data / otlp| D[Otel Collector]
19+
C[Fluentd] -->|sample log / Fluentd Forward Protocol| D[Otel Collector]
20+
D[Otel Collector] -->|metric data| E[Prometheus / Grafana]
21+
D[Otel Collector] -->|trace data| F[Jaeger]
22+
D[Otel Collector] -->|sample log| G[Elasticsearch / Kibana]
23+
```
24+
1125
### Setup
1226

1327
1. Run `docker-compose up -d --build` to start the application

0 commit comments

Comments
 (0)