Skip to content

Commit 6c2c9df

Browse files
committed
Mention *.out files #357
1 parent c947137 commit 6c2c9df

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ 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. Open the `agent.yaml` file that you copied earlier in your editor.
13-
3. Add the `otlphttp` exporter configuration to the `exporters` section:
12+
2. Validate that `gateway-logs.out`, `gateway-metrics.out`, and `gateway-traces.out` files are present in the directory.
13+
3. Open the `agent.yaml` file in your editor.
14+
4. Add the `otlphttp` exporter configuration to the `exporters:` section:
1415

1516
```yaml
1617
otlphttp: # Exporter Type
@@ -19,7 +20,7 @@ weight: 2
1920
2021
**Add a Batch Processor configuration**: The [**Batch Processor**](https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/batchprocessor/README.md) will accept spans, metrics, or logs and place them into batches. Batching helps better compress the data and reduce the number of outgoing connections required to transmit the data. It is highly recommended configuring the batch processor on every collector.
2122
22-
1. Add the `batch` processor configuration to the `processors` section:
23+
1. Add the `batch` processor configuration to the `processors:` section:
2324

2425
```yaml
2526
batch: # Processor Type

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The gateway is useful because it centralizes telemetry data collection, enabling
1616
> [!IMPORTANT]
1717
> **Change _ALL_ terminal windows to the `[WORKSHOP]/2-gateway` directory.**
1818
19-
- Next, copy `agent.yaml` from the `1-agent` directory into `2-gateway`.
19+
- Back in the **Gateway terminal** window, copy `agent.yaml` from the `1-agent` directory into `2-gateway`.
2020
- Create a file called `gateway.yaml` and add the following initial configuration:
2121

2222
```yaml { title="gateway.yaml" }

0 commit comments

Comments
 (0)