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/4-sensitive-data/4-1-configuration.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ In this step, we'll modify `agent.yaml` to include the `attributes` and `redacti
9
9
Previously, you may have noticed that some span attributes displayed in the console contained personal and sensitive data. We'll now configure the necessary processors to filter out and redact this information effectively.
Switch to your **Agent terminal** window and open the `agent.yaml` file in your editor. We’ll add two processors to enhance the security and privacy of your telemetry data: the Attributes Processor and the Redaction Processor.
25
+
Switch to your **Agent terminal** window and open the `agent.yaml` file in your editor. We’ll add two processors to enhance the security and privacy of your telemetry data.
27
26
28
-
**Add an `attributes` Processor**: The [**Attributes Processor**](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/attributesprocessor) allows you to modify span attributes (tags) by updating, deleting, or hashing their values. This is particularly useful for obfuscating sensitive information before it is exported.
27
+
**1. Add an `attributes` Processor**: The [**Attributes Processor**](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/attributesprocessor) allows you to modify span attributes (tags) by updating, deleting, or hashing their values. This is particularly useful for obfuscating sensitive information before it is exported.
29
28
30
29
In this step, we’ll:
31
30
@@ -45,7 +44,7 @@ In this step, we’ll:
45
44
action: delete # Delete the password
46
45
```
47
46
48
-
**Add a `redaction` Processor**: The [**Redaction Processor**](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/redactionprocessor) detects and redacts sensitive data in span attributes based on predefined patterns, such as credit card numbers or other personally identifiable information (PII).
47
+
**2. Add a `redaction` Processor**: The [**Redaction Processor**](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/redactionprocessor) detects and redacts sensitive data in span attributes based on predefined patterns, such as credit card numbers or other personally identifiable information (PII).
49
48
50
49
In this step:
51
50
@@ -64,10 +63,7 @@ In this step:
64
63
summary: debug # Show debug details about redaction
65
64
```
66
65
67
-
**Update the `traces` Pipeline**: Integrate both processors into the `traces` pipeline. Make sure that you comment out the redaction processor at first (we will enable it later in a separate exercise):
68
-
69
-
> [!NOTE]
70
-
> Leave the `redaction/redact` processor commented out in this exercise. We will enable it in an upcoming exercise.
66
+
**Update the `traces` Pipeline**: Integrate both processors into the `traces` pipeline. Make sure that you comment out the redaction processor at first (we will enable it later in a separate exercise). Your configuration should look like this:
71
67
72
68
```yaml
73
69
traces:
@@ -88,6 +84,7 @@ In this step:
88
84
89
85
{{% /notice %}}
90
86
87
+
<!--
91
88
Validate the agent configuration using **[otelbin.io](https://www.otelbin.io/)**. For reference, the `traces:` section of your pipelines will look similar to this:
Copy file name to clipboardExpand all lines: content/en/conf/1-advanced-collector/4-sensitive-data/4-2-test-delete-tag.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ In this exercise, we will **delete** the `user.account_password`, **update** the
26
26
../loadgen -count 1
27
27
```
28
28
29
-
**Check the debug output**: For both the **Agent** and **Gateway**debug output, confirm that `user.account_password` has been removed, and both `user.phone_number` & `user.email` have been updated.
29
+
**Check the debug output**: For both the **Agent** and **Gateway** confirm that `user.account_password` has been removed, and both `user.phone_number` & `user.email` have been updated:
0 commit comments