Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed URL and includes #91

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading