Skip to content

Commit

Permalink
Add otelcol config snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
julianocosta89 committed Nov 11, 2024
1 parent 7805ab4 commit 30a0352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/posts/mastodon-otel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Below is an example of the `Dockerfile`:

And finally, here's an example of the `otelcol-config.yaml` file:

{{% snippet otelcol-config.yaml yaml %}}

{{< alert >}}
Note that you can only use the components previously added to the manifest file, as the custom Collector includes only
those components. If you try to use a component not defined in the manifest, the Collector will fail to start.
Expand Down

0 comments on commit 30a0352

Please sign in to comment.