Skip to content

Commit

Permalink
Add aws-smithy-observability and aws-smithy-observability-otel cr…
Browse files Browse the repository at this point in the history
…ates (#4003)

## 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 <[email protected]>
  • Loading branch information
landonxjames and Zelda Hessler authored Feb 14, 2025
1 parent 66692b3 commit 61f4ed0
Show file tree
Hide file tree
Showing 25 changed files with 2,534 additions and 6 deletions.
4 changes: 3 additions & 1 deletion buildSrc/src/main/kotlin/CrateSet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ object CrateSet {
"aws-smithy-compression",
"aws-smithy-client",
"aws-smithy-eventstream",
"aws-smithy-experimental",
"aws-smithy-http",
"aws-smithy-http-auth",
"aws-smithy-http-tower",
"aws-smithy-json",
"aws-smithy-mocks-experimental",
"aws-smithy-experimental",
"aws-smithy-observability",
"aws-smithy-observability-otel",
"aws-smithy-protocol-test",
"aws-smithy-query",
"aws-smithy-runtime",
Expand Down
Loading

0 comments on commit 61f4ed0

Please sign in to comment.