Commit 61f4ed0
## 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 -->
This PR is an updated version of
#3912 and
#3986 moving back to the
`dyn Trait` based implementation since some issues came up in the review
of the Associated Types based implementation
## Description
<!--- Describe your changes in detail -->
Add two new crates
* `aws-smithy-observability` - contains traits for our observability
solution and a `global` module for managing the global telemetry
provider
* `aws-smithy-observability-otel` - contains an OpenTelemetry based
implementation of the traits
## 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. -->
Various unit tests in both new crates.
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
Note: leaving out a changelog entry for now since these crates won't
offer much value until we instrument our runtime crates in some
subsequent PRs
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by: Zelda Hessler <zhessler@amazon.com>
1 parent 66692b3 commit 61f4ed0
File tree
25 files changed
+2534
-6
lines changed- buildSrc/src/main/kotlin
- rust-runtime
- aws-smithy-observability-otel
- benches
- src
- aws-smithy-observability
- src
25 files changed
+2534
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
0 commit comments