Skip to content

Commit 03b9fd2

Browse files
committed
Minor edits
1 parent ca30865 commit 03b9fd2

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

content/en/conf/1-advanced-collector/4-sensitive-data/4-1-configuration.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ In this step, we'll modify `agent.yaml` to include the `attributes` and `redacti
99
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.
1010

1111
```text
12-
<snip>
1312
Attributes:
1413
-> user.name: Str(George Lucas)
1514
-> user.phone_number: Str(+1555-867-5309)
@@ -23,9 +22,9 @@ Attributes:
2322

2423
{{% notice title="Exercise" style="green" icon="running" %}}
2524

26-
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.
2726

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.
2928

3029
In this step, we’ll:
3130

@@ -45,7 +44,7 @@ In this step, we’ll:
4544
action: delete # Delete the password
4645
```
4746
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).
4948

5049
In this step:
5150

@@ -64,10 +63,7 @@ In this step:
6463
summary: debug # Show debug details about redaction
6564
```
6665

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:
7167

7268
```yaml
7369
traces:
@@ -88,6 +84,7 @@ In this step:
8884

8985
{{% /notice %}}
9086

87+
<!--
9188
Validate the agent configuration using **[otelbin.io](https://www.otelbin.io/)**. For reference, the `traces:` section of your pipelines will look similar to this:
9289

9390
```mermaid
@@ -109,18 +106,19 @@ graph LR
109106
subgraph " "
110107
subgraph subID1[**Traces**]
111108
direction LR
112-
REC1 --> PRML
113-
PRML --> PRUP
114-
PRUP --> PRRD
115-
PRRD --> PRRS
116-
PRRS --> PRBA
117-
PRBA --> EXP2
118-
PRBA --> EXP3
119-
PRBA --> EXP1
109+
REC1 -- > PRML
110+
PRML -- > PRUP
111+
PRUP -- > PRRD
112+
PRRD -- > PRRS
113+
PRRS -- > PRBA
114+
PRBA -- > EXP2
115+
PRBA -- > EXP3
116+
PRBA -- > EXP1
120117
end
121118
end
122119
classDef receiver,exporter fill:#8b5cf6,stroke:#333,stroke-width:1px,color:#fff;
123120
classDef processor fill:#6366f1,stroke:#333,stroke-width:1px,color:#fff;
124121
classDef con-receive,con-export fill:#45c175,stroke:#333,stroke-width:1px,color:#fff;
125122
classDef sub-traces stroke:#fbbf24,stroke-width:1px, color:#fbbf24,stroke-dasharray: 3 3;
126123
```
124+
-->

content/en/conf/1-advanced-collector/4-sensitive-data/4-2-test-delete-tag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this exercise, we will **delete** the `user.account_password`, **update** the
2626
../loadgen -count 1
2727
```
2828

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:
3030

3131
{{% tabs %}}
3232
{{% tab title="New Debug Output" %}}

0 commit comments

Comments
 (0)