Skip to content

Commit bb93362

Browse files
committed
Updated directory trees #357
1 parent 68d959c commit bb93362

File tree

12 files changed

+38
-47
lines changed

12 files changed

+38
-47
lines changed

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/1-agent/1-1-validation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Here’s how to validate your configuration:
1717
> cat agent.yaml | pbcopy
1818
> ```
1919
20-
2. At the top of the page, make sure **Splunk OpenTelemetry Collector** is selected as the validation target.
20+
2. At the top of the page, make sure **Splunk OpenTelemetry Collector** is selected as the validation target. If you **don't** select this option, then you will see warnings in the UI stating `Receiver "hostmetrics" is unused. (Line 8)`.
21+
2122
3. Once validated, refer to the image representation below to confirm your pipelines are set up correctly.
2223
2324
In most cases, we’ll display only the **key pipeline**. However, if all three pipelines (Traces, Metrics, and Logs) share the same structure, we’ll note this instead of showing each one individually.

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/1-agent/1-3-fileexporter/1-test-fileexporter.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ weight: 1
3434
**Verify that the `agent.out` file is written**: Check that a file named `agent.out` is written in the current directory.
3535

3636
```text { title="Updated Directory Structure" }
37-
[WORKSHOP]
38-
└── 1-agent
39-
   └── agent.out # OTLP/Json output created by the File Exporter
40-
   └── agent.yaml
37+
.
38+
├── agent.out # OTLP/Json output created by the File Exporter
39+
└── agent.yaml
4140
```
4241

4342
**Verify the span format**:

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/1-agent/1-3-fileexporter/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 1.3 File Exporter
33
linkTitle: 1.3 File Exporter
4-
weight: 1
4+
weight: 2
55
---
66

77
To capture more than just debug output on the screen, we also want to generate output during the export phase of the pipeline. For this, we'll add a **File Exporter** to write OTLP data to files for comparison.

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,9 @@ service: # Service configuration
104104
```
105105
106106
```text { title="Updated Directory Structure" }
107-
[WORKSHOP]
108-
└── 2-gateway
109-
   └── agent.yaml
110-
   └── gateway.yaml
107+
.
108+
├── agent.yaml
109+
└── gateway.yaml
111110
```
112111

113112
{{% /notice %}}

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/3-filelog/3-2-test-filelog.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ LogRecord #1
3232
At this point, your directory structure will appear as follows:
3333

3434
```text { title="Updated Directory Structure" }
35-
[WORKSHOP]
36-
└── 3-filelog
37-
   ├── agent.out
38-
   ├── agent.yaml
39-
   ├── gateway-logs.out # Output from the logs pipeline
40-
   ├── gateway-metrics.out # Output from the metrics pipeline
41-
   ├── gateway-traces.out # Output from the traces pipeline
42-
   ├── gateway.yaml
43-
   └── quotes.log # File containing Random log lines
35+
.
36+
├── agent.out
37+
├── agent.yaml
38+
├── gateway-logs.out # Output from the logs pipeline
39+
├── gateway-metrics.out # Output from the metrics pipeline
40+
├── gateway-traces.out # Output from the traces pipeline
41+
├── gateway.yaml
42+
└── quotes.log # File containing Random log lines
4443
```
4544

4645
**Examine a log line**: In `gateway-logs.out` compare a log line with the snippet below. Verify that the log entry includes the same attributes as we have seen in metrics and traces data previously:

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ The **FileLog receiver** in the `agent` will read these log lines and send them
3838
> **Change _ALL_ terminal windows to the `[WORKSHOP]/3-filelog` directory.**
3939
4040
```text { title="Updated Directory Structure" }
41-
[WORKSHOP]
42-
└── 3-filelog
43-
   ├── agent.yaml
44-
   └── gateway.yaml
41+
.
42+
├── agent.yaml
43+
└── gateway.yaml
4544
```
4645

4746
Start the `loadgen` and this will begin writing lines to a file named `quotes.log`:

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/4-building-resilience/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ For logs, there are plans to implement a more enterprise-ready solution in one o
2828
Your updated directory structure will now look like this:
2929

3030
```text { title="Updated Directory Structure" }
31-
WORKSHOP
32-
└── 4-resilience
33-
│   ├── agent.yaml
34-
│   └── gateway.yaml
31+
.
32+
├── agent.yaml
33+
└── gateway.yaml
3534
```
3635

3736
{{% /notice %}}

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/5-dropping-spans/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ Specifically, we will drop traces based on the span name, which is commonly used
2020
Your updated directory structure will now look like this:
2121

2222
```text { title="Updated Directory Structure" }
23-
[WORKSHOP]
24-
└── 5-dropping-spans
25-
├── agent.yaml
26-
└── gateway.yaml
23+
.
24+
├── agent.yaml
25+
└── gateway.yaml
2726
```
2827

2928
{{% /notice %}}

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/6-sensitive-data/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ We'll walk through configuring key processors in the OpenTelemetry Collector, in
2323
Your updated directory structure will now look like this:
2424

2525
```text { title="Updated Directory Structure" }
26-
[WORKSHOP]
27-
└── 6-sensitive-data
28-
├── agent.yaml
29-
└── gateway.yaml
26+
.
27+
├── agent.yaml
28+
└── gateway.yaml
3029
```
3130

3231
{{% /notice %}}

content/en/ninja-workshops/3-opentelemetry-collector-workshops/2-advanced-collector/7-transform-data/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ Logs often contain structured data encoded as JSON within the log body. Extracti
3636
Your updated directory structure will now look like this:
3737

3838
```text { title="Updated Directory Structure" }
39-
WORKSHOP
40-
└── 7-transform-data
41-
├── agent.yaml
42-
└── gateway.yaml
39+
.
40+
├── agent.yaml
41+
└── gateway.yaml
4342
```
4443

4544
{{% /notice %}}

0 commit comments

Comments
 (0)