Skip to content

Commit 030cfee

Browse files
committed
Minor updates
1 parent c3b0a85 commit 030cfee

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

content/en/conf/1-advanced-collector/2-building-resilience/2-3-failure.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ To assess the **Agent's** resilience, we'll simulate a temporary **Gateway** out
1616

1717
**Send traces**: In the **Loadgen terminal** window send five more traces using the `loadgen`.
1818

19+
```bash { title="Start Load Generator" }
20+
../loadgen -count 5
21+
```
22+
1923
Notice that the agent’s retry mechanism is activated as it continuously attempts to resend the data. In the agent’s console output, you will see repeated messages similar to the following:
2024

2125
```text

content/en/conf/1-advanced-collector/2-building-resilience/2-4-recovery.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,31 @@ In this exercise, we’ll test how the **OpenTelemetry Collector** recovers from
2020
../otelcol --config=agent.yaml
2121
```
2222

23-
{{% /notice %}}
24-
25-
After the **Agent** is up and running, the **File_Storage** extension will detect buffered data in the checkpoint folder.
26-
It will start to dequeue the stored spans from the last checkpoint folder, ensuring no data is lost.
27-
28-
{{% notice title="Exercise" style="green" icon="running" %}}
23+
> After the **Agent** is up and running, the **File_Storage** extension will detect buffered data in the checkpoint folder. It will start to dequeue the stored spans from the last checkpoint folder, ensuring no data is lost.
2924
30-
**Verify the Agent Debug output**
31-
Note that the Agent Debug Screen does **NOT** change and still shows the following line indicating no new data is being exported.
25+
**Verify the Agent Debug output:** Note that the **Agent** debug output does **NOT** change and still shows the following line indicating no new data is being exported:
3226

3327
```text
34-
2025-02-07T13:40:12.195+0100 info service@v0.120.0/service.go:253 Everything is ready. Begin running and processing data.
28+
2025-07-11T08:31:58.176Z info service@v0.126.0/service.go:289 Everything is ready. Begin running and processing data. {"resource": {}}
3529
```
3630

3731
**Watch the Gateway Debug output**
38-
You should see from the **Gateway** debug screen, it has started receiving the previously missed traces without requiring any additional action on your part.
32+
You should see from the **Gateway** debug screen, it has started receiving the previously missed traces without requiring any additional action on your part e.g.:
3933

4034
```txt
41-
2025-02-07T12:44:32.651+0100 info [email protected]/service.go:253 Everything is ready. Begin running and processing data.
42-
2025-02-07T12:47:46.721+0100 info Traces {"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 4, "spans": 4}
43-
2025-02-07T12:47:46.721+0100 info ResourceSpans #0
44-
Resource SchemaURL: https://opentelemetry.io/schemas/1.6.1
45-
Resource attributes:
35+
Attributes:
36+
-> user.name: Str(Luke Skywalker)
37+
-> user.phone_number: Str(+1555-867-5309)
38+
-> user.email: Str([email protected])
39+
-> user.password: Str(LOTR>StarWars1-2-3)
40+
-> user.visa: Str(4111 1111 1111 1111)
41+
-> user.amex: Str(3782 822463 10005)
42+
-> user.mastercard: Str(5555 5555 5555 4444)
43+
-> payment.amount: Double(75.75)
44+
{"resource": {}, "otelcol.component.id": "debug", "otelcol.component.kind": "exporter", "otelcol.signal": "traces"}
4645
```
4746

48-
**Check the `gateway-traces.out` file**
49-
Using `jq`, count the number of traces in the recreated `gateway-traces.out`. It should match the number you send when the **Gateway** was down.
47+
**Check the `gateway-traces.out` file:** Using `jq`, count the number of traces in the recreated `gateway-traces.out`. It should match the number you send when the **Gateway** was down.
5048

5149
{{% tabs %}}
5250
{{% tab title="Check Gateway Traces Out File" %}}

0 commit comments

Comments
 (0)