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

aws: deprecate classes #1142

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@

/**
* A MetricCollector that captures SDK metrics.
*
* @deprecated Users should migrate to AWS SDK for Java V2. AWS will drop support
* for V1 after 2025.
*/
@Deprecated
public class SpectatorMetricCollector extends MetricCollector {
private final RequestMetricCollector requestMetricCollector;
private final ServiceMetricCollector serviceMetricCollector;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@

/**
* A {@link RequestMetricCollector} that captures request level metrics for AWS clients.
*
* @deprecated Users should migrate to AWS SDK for Java V2. AWS will drop support
* for V1 after 2025.
*/
@Deprecated
public class SpectatorRequestMetricCollector extends RequestMetricCollector {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
/**
* A {@link ServiceMetricCollector} that captures the time it takes to get a connection
* from the pool.
*
* @deprecated Users should migrate to AWS SDK for Java V2. AWS will drop support
* for V1 after 2025.
*/
@Deprecated
class SpectatorServiceMetricCollector extends ServiceMetricCollector {

private final Timer clientGetConnectionTime;
Expand Down
Loading