Skip to content

Commit

Permalink
Fixed URL and includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayclifford345 committed Aug 2, 2024
1 parent 86f40b5 commit 9f1cbf4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions loki/otel-collector-getting-started/finish.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Head back to where you started from to continue with the Loki documentation: [Lo

For more information on the OpenTelemetry Collector and the native OTLP endpoint of Loki, refer to the following resources:

- [Loki OTLP endpoint]({{< relref “./” >}})
- [Loki OTLP endpoint](https://grafana.com/docs/loki/latest/send-data/otel/)

- [How is native OTLP endpoint different from Loki Exporter]({{< relref “./native_otlp_vs_loki_exporter” >}})
- [How is native OTLP endpoint different from Loki Exporter](https://grafana.com/docs/loki/latest/send-data/otel/native_otlp_vs_loki_exporter)

- [OpenTelemetry Collector Configuration](https://opentelemetry.io/docs/collector/configuration/)

Expand Down
10 changes: 1 addition & 9 deletions loki/otel-collector-getting-started/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ In this step, we will set up our environment by cloning the repository that cont
✔ Container loki-fundamentals_otel-collector_1 Started
```{{copy}}
<!-- raw HTML omitted -->
{{< admonition type=“note” >}}
The OpenTelemetry Collector container will show as `Stopped`{{copy}}. This is expected as we have provided an empty configuration file. We will update this file in the next step.
{{< /admonition >}}
<!-- raw HTML omitted -->
***Note:** The OpenTelemetry Collector container will show as `Stopped`. This is expected as we have provided an empty configuration file. We will update this file in the next step.*
**Note:** The OpenTelemetry Collector container will show as `Stopped`{{copy}}. This is expected as we have provided an empty configuration file. We will update this file in the next step.
Once we have finished configuring the OpenTelemetry Collector and sending logs to Loki, we will be able to view the logs in Grafana. To check if Grafana is up and running, navigate to the following URL: [http://localhost:3000]({{TRAFFIC_HOST1_3000}})
6 changes: 6 additions & 0 deletions loki/otel-collector-getting-started/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ This will restart the OpenTelemetry Collector container with the new configurati
docker logs loki-fundamentals_otel-collector_1
```{{exec}}

Within the logs, you should see the following message:

```console
2024-08-02T13:10:25.136Z info [email protected]/service.go:225 Everything is ready. Begin running and processing data.
```{{exec}}

# Stuck? Need help?

If you get stuck or need help creating the configuration, you can copy and replace the entire `otel-config.yaml`{{copy}} using the completed configuration file:
Expand Down

0 comments on commit 9f1cbf4

Please sign in to comment.