mirror of https://github.com/smithy-lang/smithy-rs
c0f817330c
## Motivation and Context This PR lays the groundwork for emitting and tracking business metrics related to features like waiters, request compression, and S3 express within the Rust SDKs. It introduces `BusinessMetric` to the `user_agent` module and updates `AwsUserAgent` to support its integration. ## Description While establishing the groundwork for the said motivation, this PR does not send metrics from features yet. The PR deprecates existing feature and config metadata, which are now superseded by the new business metrics. Related tasks include - implementing versioning for the user agent string format, e.g. `ua/2.0` (note that including a user agent version string to `x-amz-user-agent` could cause many connection recording tests to fail and may also break semver check in CI just like the [content-length enforcement test](https://github.com/smithy-lang/smithy-rs/pull/3620) needed to be disabled to work around it) - sending metrics from recently implement features, maybe starting with request compression and RPC V2 Cbor (this will also modify `x-amz-user-agent` in connection recording tests, so the argument above applies) ## Testing - Added unit tests for `BusinessMetric` and `AwsUserAgent` - Existing tests in CI ## Checklist - [x] For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "aws-sdk-rust" in the `applies_to` key. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ |
||
---|---|---|
.. | ||
.cargo | ||
ci-build | ||
ci-cdk | ||
ci-resources/tls-stub | ||
ci-scripts | ||
echo-server | ||
__init__.py |