-
Notifications
You must be signed in to change notification settings - Fork 30
refactor!: observability API and OTeL provider #886
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
Conversation
TODO: Remove or update existing tracing/observability design. |
I recommend to update, which I believe may help users write their own observability integrations and/or use observability hooks. |
{ | ||
"id": "44708ceb-cc8c-478c-bd35-af82aa79f546", | ||
"type": "misc", | ||
"description": "**BREAKING**: Refactor observability API and configuration." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I recommend including a link to the breaking discussion post.
public val requestsQueuedDuration: DoubleHistogram = meter.createDoubleHistogram( | ||
"smithy.client.http.requests.queued_duration", | ||
"s", | ||
"The amount of time a requests spent queued waiting to be executed by the HTTP client", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "a request"
attempts++ | ||
if (attempts > 1) { | ||
metrics.rpcRetryCount.add(1L, perRpcAttributes, metrics.provider.contextManager.current()) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is counting the first attempt as a retry, is that correct?
edit: nvm
Kudos, SonarCloud Quality Gate passed!
|
* feat: identity API upstream changes (#864) * track upstream codegen changes (#879) * track upstream IdentityProvider and Attributes changes (#881) * add base class for credentials config (#883) BREAKING CHANGE: `CredentialsProvider` method name and signature changed. `signer` property removed from service client config in favor of `authSchemes` override.
Issue #
n/a
Description of changes
This is the final PR to main that refactors the observability instrumentation (telemetry) APIs. This also includes an implementation of a
TelemetryProvider
based on OpenTelemetry.Incremental PRs already reviewed:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.