You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/conf/1-advanced-collector/2-building-resilience/2-3-failure.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ To assess the **Agent's** resilience, we'll simulate a temporary **Gateway** out
16
16
17
17
**Send traces**: In the **Loadgen terminal** window send five more traces using the `loadgen`.
18
18
19
+
```bash { title="Start Load Generator" }
20
+
../loadgen -count 5
21
+
```
22
+
19
23
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:
> 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.
29
24
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:
32
26
33
27
```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.176Zinfo service@v0.126.0/service.go:289 Everything is ready. Begin running and processing data. {"resource": {}}
35
29
```
36
30
37
31
**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.:
39
33
40
34
```txt
41
-
2025-02-07T12:44:32.651+0100 info [email protected]/service.go:253 Everything is ready. Begin running and processing data.
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.
0 commit comments