Skip to content

Commit fd59201

Browse files
committed
Minor fixes to text #357
1 parent 6c2c9df commit fd59201

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/2-gateway/2-2-configure-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ weight: 2
99
**Add the `otlphttp` exporter**: The [**OTLP/HTTP Exporter**](https://docs.splunk.com/observability/en/gdi/opentelemetry/components/otlphttp-exporter.html) is used to send data from the agent to the gateway using the **OTLP/HTTP** protocol.
1010

1111
1. Switch to your **Agent terminal** window.
12-
2. Validate that `gateway-logs.out`, `gateway-metrics.out`, and `gateway-traces.out` files are present in the directory.
12+
2. Validate that the newly generated `gateway-logs.out`, `gateway-metrics.out`, and `gateway-traces.out` are present in the directory.
1313
3. Open the `agent.yaml` file in your editor.
1414
4. Add the `otlphttp` exporter configuration to the `exporters:` section:
1515

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/2-gateway/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ service: # Service configuration
103103
- file/logs
104104
```
105105
106+
> [!NOTE]
107+
> When the `gateway` is started it will generate three files: `gateway-traces.out`, `gateway-metrics.out`, and `gateway-logs.out`. These files will eventually contain the telemetry data received by the gateway.
108+
106109
```text { title="Updated Directory Structure" }
107110
.
108111
├── agent.yaml

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/8-routing-data/8-2-pipelines.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,36 +23,36 @@ weight: 2
2323
2424
**Add both the `standard` and `security` traces pipelines**:
2525

26-
1. **Add the Standard pipeline**: This pipeline processes all spans that do not match the routing rule.
27-
This pipeline is using `routing` as its receiver. Place it below the existing `traces:` pipeline, keeping its configuration unchanged for now:
26+
1. **Configure the Security pipeline**: This pipeline will handle all spans that match the routing rule for `security`.
27+
This uses `routing` as its receiver. Place it below the existing `traces:` pipeline:
2828

2929
```yaml
30-
traces/standard: # Default pipeline for unmatched spans
30+
traces/security: # New Security Traces/Spans Pipeline
3131
receivers:
3232
- routing # Receive data from the routing connector
3333
processors:
3434
- memory_limiter # Memory Limiter Processor
3535
- resource/add_mode # Adds collector mode metadata
3636
- batch
3737
exporters:
38-
- debug # Debug exporter
39-
- file/traces/standard # File exporter for unmatched spans
38+
- debug # Debug Exporter
39+
- file/traces/security # File Exporter for spans matching rule
4040
```
4141

42-
2. **Configure the Security pipeline**: This pipeline will handle all spans that match the routing rule.
43-
This also uses `routing` as its receiver. Add this below the Standard one:
42+
2. **Add the Standard pipeline**: This pipeline processes all spans that do not match the routing rule.
43+
This pipeline is also using `routing` as its receiver. Add this below the `traces/security` one:
4444

4545
```yaml
46-
traces/security: # New Security Traces/Spans Pipeline
46+
traces/standard: # Default pipeline for unmatched spans
4747
receivers:
4848
- routing # Receive data from the routing connector
4949
processors:
5050
- memory_limiter # Memory Limiter Processor
5151
- resource/add_mode # Adds collector mode metadata
5252
- batch
5353
exporters:
54-
- debug # Debug Exporter
55-
- file/traces/security # File Exporter for spans matching rule
54+
- debug # Debug exporter
55+
- file/traces/standard # File exporter for unmatched spans
5656
```
5757

5858
{{% /notice %}}

0 commit comments

Comments
 (0)