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

datadog exporter throwing exception failed to retrieve filesystem/platform metadata #23189

Closed
rackerWard opened this issue Jun 6, 2023 · 4 comments

Comments

@rackerWard
Copy link

rackerWard commented Jun 6, 2023

Component(s)

exporter/datadog

Describe the issue you're reporting

Related to new posts to this closed ticket #14186

otel/opentelemetry-collector-contrib:0.78.0

Configure datadog exporter
Run the collector

In the log
2023-06-06 16:10:45 2023-06-06T21:10:45.983Z info gohai/gohai.go:36 Failed to retrieve filesystem metadata {"kind": "exporter", "data_type": "traces", "name": "datadog", "error": "df failed to collect filesystem data: %!s()"}
2023-06-06 16:10:45 2023-06-06T21:10:45.988Z info gohai/gohai.go:55 Failed to retrieve platform metadata {"kind": "exporter", "data_type": "traces", "name": "datadog", "error": "exec: "uname": executable file not found in $PATH"}

@rackerWard rackerWard added the needs triage New item requiring triage label Jun 6, 2023
@songy23 songy23 added the exporter/datadog Datadog components label Jun 7, 2023
@songy23
Copy link
Member

songy23 commented Jun 7, 2023

Copying @dineshg13 's response from #14186:

to clarify, this error message shouldn't stop datadog exporter from reporting metrics or have any other issues. This is happening as the docker image doesn't have required dependencies.

There are few routes we can take.

Classify the warning as info, with additional information that it doesn't impact the exporter. (preferred )

I think you can safely discard this info log.

@songy23 songy23 added waiting for author and removed needs triage New item requiring triage labels Jun 7, 2023
@philipcwhite
Copy link

I am also getting this in Kubernetes running v.80 contrib. Please fix or suppress this message. Thanks.

2023-06-27T15:50:17.153Z	info	gohai/gohai.go:55	Failed to retrieve platform metadata	{"kind": "exporter", "data_type": "metrics", "name": "datadog", "error": "exec: \"uname\": executable file not found in $PATH"}
1687881017154423678 [Debug] Error fetching info for pid 1: open /etc/passwd: no such file or directory
2023-06-27T15:50:26.611Z	info	hostmetadata/metadata.go:194	Sent host metadata	{"kind": "exporter", "data_type": "metrics", "name": "datadog"}```

@github-actions
Copy link
Contributor

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 github-actions bot added the Stale label Aug 28, 2023
@github-actions
Copy link
Contributor

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants