Skip to content
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

Add aws-smithy-observability and aws-smithy-observability-otel crates #3986

Open
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

landonxjames
Copy link
Contributor

@landonxjames landonxjames commented Jan 24, 2025

Motivation and Context

This PR is an updated version of #3912 featuring an Associated Type based implementation of of the SRA metrics interfaces instead of the previous dyn Trait based implementations.

Description

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

Various unit tests in both new crates.

Checklist

Note: leaving out a changelog entry for now since these crates won't offer much value until we instrument our runtime crates


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

landonxjames and others added 30 commits December 3, 2024 12:07
Also fix all warnings in both observability crates
The updates caused CI to fail since it depended on the newly added
crates, but those were not yet present in the main lockfile that is
copied around for tests
* Update some clippy style issues
* Config the aws-smithy-observability-otel crate to not compile on powerpc
* Run tests for global module serially so they don't poison the RwLock
Pin version of value-bag in otel crate

Powerpc dep updates

Pin more transitive deps
Aligns with standard introduced in #3065

Update doc comments

External types updates
Remove non-public type from docs
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@landonxjames landonxjames marked this pull request as ready for review January 27, 2025 03:40
@landonxjames landonxjames requested review from a team as code owners January 27, 2025 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant