Skip to content

Commit 0d1e2ba

Browse files
committed
Minor edits
1 parent 1fe786f commit 0d1e2ba

File tree

2 files changed

+1130
-7
lines changed

2 files changed

+1130
-7
lines changed

content/en/conf/1-advanced-collector/3-dropping-spans/3-2-test-filter.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ To test your configuration, you'll need to generate some trace data that include
2525
```bash
2626
../loadgen -health -count 5
2727
```
28-
The debug out put in the agetn terminal should show additional _Helathz spans,:
28+
29+
The debug output in the **Agent terminal** will show `_healthz` spans:
30+
2931
```text
3032
InstrumentationScope healthz 1.0.0
3133
Span #0
@@ -39,11 +41,10 @@ Span #0
3941
Status code : Ok
4042
Status message : Success
4143
```
42-
They should not be present in the Gatyeway debug as they are dropped by the gateway.
43-
Let's check both out files from the test windows:
4444

45+
They will not be present in the **Gateway** debug as they are dropped by the filter processor that was configured earlier.
4546

46-
**Verify `agent.out`**: Using `jq` confirm the name of the spans received by the **Agent**:
47+
**Verify `agent.out`**: Using `jq`, in the **Test terminal**, confirm the name of the spans received by the **Agent**:
4748

4849
{{% tabs %}}
4950
{{% tab title="Check spans in agent.out" %}}
@@ -100,10 +101,9 @@ The `gateway-metrics.out` file will not contain any spans named `/_healthz`.
100101

101102
{{% notice title="Tip" style="primary" icon="lightbulb" %}}
102103

103-
When using the `Filter` processor, make sure you understand the look of your incoming data and test the configuration thoroughly. In general, use **as specific a configuration as possible** to lower the risk of the wrong data being dropped.
104-
105-
You can further extend this configuration to filter out spans based on different attributes, tags, or other criteria, making the OpenTelemetry Collector more customizable and efficient for your observability needs.
104+
To ensure optimal performance with the Filter processor, thoroughly understand your incoming data format and rigorously test your configuration. **Use the most specific filtering criteria possible** to minimize the risk of inadvertently dropping important data.
106105

106+
This configuration can be extended to filter spans based on various attributes, tags, or custom criteria, enhancing the OpenTelemetry Collector's flexibility and efficiency for your specific observability requirements.
107107
{{% /notice %}}
108108

109109
> [!IMPORTANT]

0 commit comments

Comments
 (0)