open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.09k stars 2.38k forks source link

[Debug] Error fetching info for pid 1: user: unknown userid 1000 #31193

Open zendesk-shweta opened 9 months ago

zendesk-shweta commented 9 months ago

Component(s)

No response

Describe the issue you're reporting

hi , I am getting this issue while deploying the otel-collectors using datadog as an exporter , how can we address this ? would appreciate your help on this.

Attributes: -> health: Str(Good) {"kind": "exporter", "data_type": "traces", "name": "debug"} 1707289106260380523 [Debug] Error fetching info for pid 1: user: unknown userid 1000 2024-02-07T06:58:29.084Z warn datadogexporter@v0.91.0/zaplogger.go:49 Trace writer payload rejected by edge: 404 Not Found {"kind": "exporter", "data_type": "traces", "name": "datadog"} 2024-02-07T06:58:49.080Z warn datadogexporter@v0.91.0/zaplogger.go:49 Stats writer payload rejected by edge: 404 Not Found {"kind": "exporter", "data_type": "traces", "name": "datadog"} 2024-02-07T06:58:52.885Z info TracesExporter {"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 1, "spans": 1}

############################# DOCKERFILE ######################

FROM ubuntu:22.04 WORKDIR /app RUN apt update && apt install curl tar \ && curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.91.0/otelcol-contrib_0.91.0_linux_amd64.tar.gz \ && tar -xvf otelcol-contrib_0.91.0_linux_amd64.tar.gz \ && rm otelcol-contrib_0.91.0_linux_amd64.tar.gz

COPY ./otelcol-contrib .

RUN chmod a+x ./otelcol-contrib COPY ./config.yaml . ENTRYPOINT ["/app/otelcol-contrib", "--config", "/app/config.yaml"]

CMD ["./otelcol", "--config", "config.yaml"]

github-actions[bot] commented 8 months ago

Pinging code owners for exporter/datadog: @mx-psi @dineshg13 @liustanley @songy23 @mackjmr. See Adding Labels via Comments if you do not have permissions to add labels yourself.

crobert-1 commented 8 months ago

Hello @zendesk-shweta, can you share the contents of the config file you're using that's hitting this issue?

mx-psi commented 8 months ago

I believe this comes from https://github.com/DataDog/datadog-agent/issues/21487

github-actions[bot] commented 6 months ago

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] commented 4 months ago

This issue has been closed as inactive because it has been stale for 120 days with no activity.