Skip to content

Commit cc7ab30

Browse files
authored
RFC: Server Request Metrics (#4458)
## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> ## Description <!--- Describe your changes in detail --> [See rendered preview](https://github.com/smithy-lang/smithy-rs/blob/8a296f0ed02d078b2a9ffb8c363bbd700e6928b6/design/src/rfcs/rfc0046_server_request_metrics.md) ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [ ] For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "client," "server," or both in the `applies_to` key. - [ ] 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._
1 parent f9be9a0 commit cc7ab30

File tree

56 files changed

+4334
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4334
-188
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,11 @@ jobs:
259259
- target: powerpc-unknown-linux-gnu
260260
build_smithy_rs_features: ''
261261
build_aws_exclude: --exclude aws-inlineable
262-
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
262+
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client --exclude aws-smithy-http-server-metrics --exclude aws-smithy-http-server-metrics-macro
263263
test_smithy_rs_features: ''
264264
test_aws_features: ''
265265
test_aws_exclude: --exclude aws-inlineable
266-
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
266+
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client --exclude aws-smithy-http-server-metrics --exclude aws-smithy-http-server-metrics-macro
267267
- target: powerpc64-unknown-linux-gnu
268268
build_smithy_rs_features: ''
269269
build_aws_exclude: --exclude aws-inlineable

aws/rust-runtime/aws-credential-types/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-credential-types"
3-
version = "1.2.12"
3+
version = "1.2.13"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
55
description = "Types for AWS SDK credentials."
66
edition = "2021"
@@ -21,7 +21,7 @@ zeroize = "1.7.0"
2121
[dev-dependencies]
2222
async-trait = "0.1.74" # used to test compatibility
2323
aws-smithy-runtime-api = { path = "../../../rust-runtime/aws-smithy-runtime-api", features = ["test-util"] }
24-
tokio = { version = "1.23.1", features = ["full", "test-util", "rt"] }
24+
tokio = { version = "1.49.0", features = ["full", "test-util", "rt"] }
2525

2626
[package.metadata.docs.rs]
2727
all-features = true

aws/rust-runtime/aws-inlineable/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ hmac = "0.12"
3939
lru = "0.16.3"
4040
ring = "0.17.5"
4141
sha2 = "0.10"
42-
tokio = "1.46.0"
43-
tracing = "0.1.40"
42+
tokio = "1.49.0"
43+
tracing = "0.1.44"
4444
url = "2.5.4"
4545

4646

@@ -50,7 +50,7 @@ aws-smithy-async = { path = "../../../rust-runtime/aws-smithy-async", features =
5050
aws-smithy-http = { path = "../../../rust-runtime/aws-smithy-http", features = ["rt-tokio"] }
5151
aws-smithy-runtime-api = { path = "../../../rust-runtime/aws-smithy-runtime-api", features = ["test-util"] }
5252
tempfile = "3.16.0"
53-
tokio = { version = "1.23.1", features = ["macros", "rt", "io-util"] }
53+
tokio = { version = "1.49.0", features = ["macros", "rt", "io-util"] }
5454
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
5555
tracing-test = { version = "0.2", features = ["no-env-filter"] }
5656

aws/rust-runtime/aws-runtime/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-runtime"
3-
version = "1.7.0"
3+
version = "1.7.1"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
55
description = "Runtime support code for the AWS SDK. This crate isn't intended to be used directly."
66
edition = "2021"
@@ -36,7 +36,7 @@ http-body-1x = { package = "http-body", version = "1.0.1"}
3636
percent-encoding = "2.3.1"
3737
pin-project-lite = "0.2.14"
3838
regex-lite = { version = "0.1.5", optional = true }
39-
tracing = "0.1.40"
39+
tracing = "0.1.44"
4040
uuid = { version = "1" }
4141

4242
[dev-dependencies]
@@ -53,7 +53,7 @@ http-body-util = "0.1.3"
5353
proptest = "1.2"
5454
serde = { version = "1", features = ["derive"]}
5555
serde_json = "1"
56-
tokio = { version = "1.23.1", features = ["macros", "rt", "time"] }
56+
tokio = { version = "1.49.0", features = ["macros", "rt", "time"] }
5757
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
5858
tracing-test = "0.2.4"
5959

aws/rust-runtime/aws-sigv4/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-sigv4"
3-
version = "1.4.0"
3+
version = "1.4.1"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "David Barsky <me@davidbarsky.com>"]
55
description = "SigV4 signer for HTTP requests and Event Stream messages."
66
edition = "2021"
@@ -36,7 +36,7 @@ sha2 = "0.10"
3636
crypto-bigint = { version = "0.5.4", optional = true }
3737
subtle = { version = "2.5.0", optional = true }
3838
time = "0.3.5"
39-
tracing = "0.1.40"
39+
tracing = "0.1.44"
4040
zeroize = { version = "^1.7.0", optional = true }
4141

4242
[dev-dependencies]

aws/rust-runtime/aws-types/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-types"
3-
version = "1.3.12"
3+
version = "1.3.13"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
55
description = "Cross-service types for the AWS SDK."
66
edition = "2021"
@@ -18,7 +18,7 @@ aws-smithy-async = { path = "../../../rust-runtime/aws-smithy-async" }
1818
aws-smithy-types = { path = "../../../rust-runtime/aws-smithy-types" }
1919
aws-smithy-runtime = { path = "../../../rust-runtime/aws-smithy-runtime", optional = true }
2020
aws-smithy-runtime-api = { path = "../../../rust-runtime/aws-smithy-runtime-api", features = ["client"] }
21-
tracing = "0.1.40"
21+
tracing = "0.1.44"
2222
# cargo does not support optional test dependencies, so to completely disable rustls
2323
# we need to add the webpki-roots feature here.
2424
# https://github.com/rust-lang/cargo/issues/1596

design/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@
6868
- [RFC-0043: Identity Cache Partitions](./rfcs/rfc0043_identity_cache_partitions.md)
6969
- [RFC-0044: Environment-defined service configuration](./rfcs/rfc0044_env_defined_service_config.md)
7070
- [RFC-0045: Configurable Serde](./rfcs/rfc0045_configurable_serde.md)
71+
- [RFC-0046: Server request metrics](./rfcs/rfc0046_server_request_metrics.md)
7172
- [Contributing](./contributing/overview.md)
7273
- [Writing and debugging a low-level feature that relies on HTTP](./contributing/writing_and_debugging_a_low-level_feature_that_relies_on_HTTP.md)

0 commit comments

Comments
 (0)