Skip to content

feat: Reduce size limits, remove experimental ddtrace bins - #445

Merged
astuyve merged 5 commits into
mainfrom
aj/strip-ddtrace-experiments
Mar 12, 2024
Merged

astuyve merged 5 commits into
mainfrom
aj/strip-ddtrace-experiments

Conversation

@astuyve

@astuyve astuyve commented Mar 12, 2024

Copy link
Copy Markdown
Contributor

What does this PR do?

Motivation

Testing Guidelines

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@astuyve
astuyve requested a review from a team as a code owner March 12, 2024 01:35
@astuyve astuyve changed the title feat: Reduce size limits, strip unused ddtrace bins feat: Reduce size limits, remove experimental ddtrace bins Mar 12, 2024
Comment thread Dockerfile

# Strip symbols from ddtrace's binaries.
# TODO (AJ): remove when ddtrace fixes this upstream
RUN find . -name '*.so' -exec strip -g {} \;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this now happens in ddtrace

set -e
MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 7 \* 1024)
MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 24 \* 1024)
MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 4 \* 1024)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Baller

@astuyve
astuyve merged commit 7e1fa70 into main Mar 12, 2024
@astuyve
astuyve deleted the aj/strip-ddtrace-experiments branch March 12, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants