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

fix for #985 #987

Merged
merged 1 commit into from
Dec 15, 2020
Merged

fix for #985 #987

merged 1 commit into from
Dec 15, 2020

Conversation

beniwohli
Copy link
Contributor

What does this pull request do?

Apparently, it's possible for an environment to have the
memory.limit_in_bytes file, but not the memory.usage_in_bytes.

To avoid raising FileDoesNotExist errors, we now check if the
files are readable when the metric set is initialized.

Related issues

closes #985

Apparently, it's possible for an environment to have the
memory.limit_in_bytes file, but not the memory.usage_in_bytes.

To avoid raising FileDoesNotExist errors, we now check if the
files are readable when the metric set is initialized.
@apmmachine
Copy link
Contributor

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #987 opened

  • Start Time: 2020-12-14T08:46:33.830+0000

  • Duration: 23 min 48 sec

Test stats 🧪

Test Results
Failed 0
Passed 12143
Skipped 8375
Total 20518

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 12143
Skipped 8375
Total 20518

@beniwohli beniwohli merged commit b2b6d8e into elastic:master Dec 15, 2020
@beniwohli beniwohli deleted the fix-985 branch December 15, 2020 10:09
beniwohli added a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
Apparently, it's possible for an environment to have the
memory.limit_in_bytes file, but not the memory.usage_in_bytes.

To avoid raising FileDoesNotExist errors, we now check if the
files are readable when the metric set is initialized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileNotFoundError in Google App Engine
2 participants