Skip to content

Commit

Permalink
[chore] Add warning to the awscontainerinsightsreceiver (#23817)
Browse files Browse the repository at this point in the history
**Description:** Add warning section to the awscontainerinsightsreceiver

**Link to tracking Issue:** #19172

Signed-off-by: Raphael Silva <[email protected]>
  • Loading branch information
rapphil authored Jun 28, 2023
1 parent 0ab552c commit 7e74bd3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions receiver/awscontainerinsightreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
| ------------- |-----------|
| Stability | [beta]: metrics |
| Distributions | [contrib], [aws], [observiq], [sumo] |
| Warnings | [Other](#warnings) |

[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
Expand Down Expand Up @@ -875,3 +876,17 @@ To deploy to an ECS cluster check this [doc](https://aws-otel.github.io/docs/set
| EBSVolumeId |
<br/><br/>
<br/><br/>

# Warnings

## Root permissions

When using this component, the collector process needs root permission to be able to read the content of the files located in the following locations:
* `/`
* `/var/run/docker.sock`
* `/var/lib/docker`
* `/run/containerd/containerd.sock`
* `/sys`
* `/dev/disk`

This requirement comes from the fact that this component is based on [cAdvisor](https://github.com/google/cadvisor).
1 change: 1 addition & 0 deletions receiver/awscontainerinsightreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ status:
stability:
beta: [metrics]
distributions: [contrib, aws, observiq, sumo]
warnings: [Other]

0 comments on commit 7e74bd3

Please sign in to comment.