Skip to content

Commit

Permalink
Update docker-opentelemetry.md (#4626)
Browse files Browse the repository at this point in the history
removing duplicate command from example.

Co-authored-by: Kim (Sumo Logic) <[email protected]>
  • Loading branch information
bradtho and kimsauce authored Oct 8, 2024
1 parent 945b472 commit c73bcfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Metrics are collected through the [Docker Stats Receiver](https://github.com/ope
To collect the Docker container event logs, the following command needs to be executed on the host machine and needs to be kept running, for monitoring all the Docker container-related events. The following command also needs a JSON file path where these container events can be dumped.

```
docker events docker events -f 'type=container' --format '{{json .}}' > <PATH_TO_JSON> & disown
docker events -f 'type=container' --format '{{json .}}' > <PATH_TO_JSON> & disown
```
Path to this JSON file will be required in the [next step](#step-2-configure-integration), where events are sent to Sumo Logic through a filelog receiver and seen as part of the **Docker - Overview** dashboard. Also, you can add additional parameters to this command to send events for specific containers. [Learn more](https://docs.docker.com/engine/reference/commandline/events/).

Expand Down

0 comments on commit c73bcfe

Please sign in to comment.