-
Notifications
You must be signed in to change notification settings - Fork 8
feat: Add support for Ruby 3.2 #76
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
862621f
update `ddtrace` gem to `1.11.0`
duncanista f120226
update `Dockerfile` with latest `ddtrace` gem
duncanista 2a4a330
update `build_layers.sh`
duncanista 1e12d44
update scripts to list, publish, and sign layers
duncanista e175ae1
update github actions
duncanista 7a8f732
update `README.md`
duncanista 037ebac
update test scripts
duncanista 268a149
update how options are being sent to the tracer
duncanista 594af93
update integration tests `.yml` to use correct zip
duncanista 723b094
remove runtime specific check
duncanista 7160a45
update integration tests script to mask changing values
duncanista 5c3bacf
mask changing logs in correct command
duncanista 141d8dd
update logs and snapshots
duncanista 133fddd
update base image and `Dockerfile`
duncanista 2d3e54c
update `Dockerfile`
duncanista 1bab09d
revert changes to base image and `Dockerfile`
duncanista d279a61
add another step to install crossbuild deps in gh actions
duncanista 5cfcacd
add `--fix-missing` and update
duncanista 9a9a074
update integration tests to use the same return values for every runtime
duncanista e5d98f0
add crossbuild deps step for check-size
duncanista b3c5ede
specify layer arch to check size
duncanista 6f6ddce
allow Datadog Lambda Extension use
duncanista 4a9dc36
update Dockerfile to strip aws sdk and binaries for old ruby versions
duncanista b43d7fa
strip `linux-musl`
duncanista 95cb508
Update lib/datadog/lambda/utils/extension.rb
duncanista 4b86b23
update snapshots
duncanista File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
END Duration: XXXX ms (init: XXXX ms) Memory Used: XXXX MB | ||
END Duration: XXXX ms (init: XXXX) Memory Used: XXXX MB | ||
END Duration: XXXX ms (init: XXXX) Memory Used: XXXX MB | ||
I, [XXXX] INFO XXXX[ddtrace] DATADOG CONFIGURATION - {"date":"XXXX","os_name":"x86_64-pc-linux","version":"1.11.0","lang":"ruby","lang_version":"3.2.2","enabled":true,"service":"runtime","debug":false,"analytics_enabled":false,"tags":"_dd.origin:lambda","runtime_metrics_enabled":false,"vm":"ruby-3.2.2","partial_flushing_enabled":false,"priority_sampling_enabled":false,"health_metrics_enabled":false,"profiling_enabled":false} | ||
Processed APIGateway request | ||
Processed SNS request | ||
Processed SQS request | ||
START | ||
START | ||
START | ||
{"e":XXXX,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby32","functionname:integration-tests-rb-XXXX-async-metrics_ruby32","region:eu-west-1","account_id:XXXX","memorysize:1024","cold_start:false","runtime:Ruby 3.2.X","resource:integration-tests-rb-XXXX-async-metrics_ruby32","datadog_lambda:2.17.0","dd_trace:1.XX.X"],"v":1} | ||
{"e":XXXX,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby32","functionname:integration-tests-rb-XXXX-async-metrics_ruby32","region:eu-west-1","account_id:XXXX","memorysize:1024","cold_start:false","runtime:Ruby 3.2.X","resource:integration-tests-rb-XXXX-async-metrics_ruby32","datadog_lambda:2.17.0","dd_trace:1.XX.X"],"v":1} | ||
{"e":XXXX,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby32","functionname:integration-tests-rb-XXXX-async-metrics_ruby32","region:eu-west-1","account_id:XXXX","memorysize:1024","cold_start:true","runtime:Ruby 3.2.X","resource:integration-tests-rb-XXXX-async-metrics_ruby32","datadog_lambda:2.17.0","dd_trace:1.XX.X"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.execution","t":["dd_lambda_layer:datadog-ruby32","tagkey:tagvalue","eventsource:APIGateway"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.execution","t":["dd_lambda_layer:datadog-ruby32","tagkey:tagvalue","eventsource:SNS"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.execution","t":["dd_lambda_layer:datadog-ruby32","tagkey:tagvalue","eventsource:SQS"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.records_processed","t":["dd_lambda_layer:datadog-ruby32","tagkey:tagvalue","eventsource:SNS"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.records_processed","t":["dd_lambda_layer:datadog-ruby32","tagkey:tagvalue","eventsource:SQS"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.records_processed","t":["dd_lambda_layer:datadog-ruby32","tagkey:tagvalue","eventsource:SQS"],"v":1} | ||
{"traces":[[{"error":0,"meta":{"XXXX": "XXXX"},"metrics":{"XXXX": "XXXX"},"name":"aws.lambda","parent_id":"XXXX","resource":"integration-tests-rb-XXXX-async-metrics_ruby32","service":"aws.lambda","span_id":"XXXX","trace_id":"XXXX","type":"serverless","start":XXXX,"duration":XXXX}]]} | ||
{"traces":[[{"error":0,"meta":{"XXXX": "XXXX"},"metrics":{"XXXX": "XXXX"},"name":"aws.lambda","parent_id":"XXXX","resource":"integration-tests-rb-XXXX-async-metrics_ruby32","service":"aws.lambda","span_id":"XXXX","trace_id":"XXXX","type":"serverless","start":XXXX,"duration":XXXX}]]} | ||
{"traces":[[{"error":0,"meta":{"XXXX": "XXXX"},"metrics":{"XXXX": "XXXX"},"name":"aws.lambda","parent_id":"XXXX","resource":"integration-tests-rb-XXXX-async-metrics_ruby32","service":"aws.lambda","span_id":"XXXX","trace_id":"XXXX","type":"serverless","start":XXXX,"duration":XXXX}]]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
END Duration: XXXX ms (init: XXXX ms) Memory Used: XXXX MB | ||
END Duration: XXXX ms (init: XXXX) Memory Used: XXXX MB | ||
END Duration: XXXX ms (init: XXXX) Memory Used: XXXX MB | ||
I, [XXXX] INFO XXXX[ddtrace] DATADOG CONFIGURATION - {"date":"XXXX","os_name":"x86_64-pc-linux","version":"1.11.0","lang":"ruby","lang_version":"3.2.2","enabled":true,"service":"runtime","debug":false,"analytics_enabled":false,"tags":"_dd.origin:lambda","runtime_metrics_enabled":false,"vm":"ruby-3.2.2","partial_flushing_enabled":false,"priority_sampling_enabled":false,"health_metrics_enabled":false,"profiling_enabled":false} | ||
START | ||
START | ||
START | ||
Snapshot test http requests successfully made to URLs: https://httpstat.us/400 | ||
Snapshot test http requests successfully made to URLs: https://httpstat.us/400 | ||
Snapshot test http requests successfully made to URLs: https://httpstat.us/400 | ||
{"e":XXXX,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby32","functionname:integration-tests-rb-XXXX-http-error_ruby32","region:eu-west-1","account_id:XXXX","memorysize:1024","cold_start:false","runtime:Ruby 3.2.X","resource:integration-tests-rb-XXXX-http-error_ruby32","datadog_lambda:2.17.0","dd_trace:1.XX.X"],"v":1} | ||
{"e":XXXX,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby32","functionname:integration-tests-rb-XXXX-http-error_ruby32","region:eu-west-1","account_id:XXXX","memorysize:1024","cold_start:false","runtime:Ruby 3.2.X","resource:integration-tests-rb-XXXX-http-error_ruby32","datadog_lambda:2.17.0","dd_trace:1.XX.X"],"v":1} | ||
{"e":XXXX,"m":"aws.lambda.enhanced.invocations","t":["dd_lambda_layer:datadog-ruby32","functionname:integration-tests-rb-XXXX-http-error_ruby32","region:eu-west-1","account_id:XXXX","memorysize:1024","cold_start:true","runtime:Ruby 3.2.X","resource:integration-tests-rb-XXXX-http-error_ruby32","datadog_lambda:2.17.0","dd_trace:1.XX.X"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.execution","t":["dd_lambda_layer:datadog-ruby32","function:http-request"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.execution","t":["dd_lambda_layer:datadog-ruby32","function:http-request"],"v":1} | ||
{"e":XXXX,"m":"serverless.integration_test.execution","t":["dd_lambda_layer:datadog-ruby32","function:http-request"],"v":1} | ||
{"traces":[[{"error":0,"meta":{"XXXX": "XXXX"},"metrics":{"XXXX": "XXXX"},"name":"aws.lambda","parent_id":"XXXX","resource":"integration-tests-rb-XXXX-http-error_ruby32","service":"aws.lambda","span_id":"XXXX","trace_id":"XXXX","type":"serverless","start":XXXX,"duration":XXXX}]]} | ||
{"traces":[[{"error":0,"meta":{"XXXX": "XXXX"},"metrics":{"XXXX": "XXXX"},"name":"aws.lambda","parent_id":"XXXX","resource":"integration-tests-rb-XXXX-http-error_ruby32","service":"aws.lambda","span_id":"XXXX","trace_id":"XXXX","type":"serverless","start":XXXX,"duration":XXXX}]]} | ||
{"traces":[[{"error":0,"meta":{"XXXX": "XXXX"},"metrics":{"XXXX": "XXXX"},"name":"aws.lambda","parent_id":"XXXX","resource":"integration-tests-rb-XXXX-http-error_ruby32","service":"aws.lambda","span_id":"XXXX","trace_id":"XXXX","type":"serverless","start":XXXX,"duration":XXXX}]]} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.