Commit c9e2e6d
authored
feat: add periodic WARNING metrics to assist in debugging (googleapis#12976)
The periodic warning will be emitted every 15 seconds. One of the following thresholds must be met in order to trigger the warning:
private Duration responseWaitTimeThreshold = Duration.ofSeconds(5);
private Duration latencyThreshold = Duration.ofSeconds(5);
private int percentErrorResponsesThreshold = 10;
private long queuedRequestsThreshold = 100;
private int percentRetriesThreshold = 25;
private long queuedBytesThreshold = 50 * 1024 * 1024;
private long connectionAttemptThreshold = 1;
private long connectionCloseThreshold = 1;1 parent afb222f commit c9e2e6d
3 files changed
Lines changed: 673 additions & 9 deletions
File tree
- java-bigquerystorage/google-cloud-bigquerystorage/src
- main/java/com/google/cloud/bigquery/storage/v1
- test/java/com/google/cloud/bigquery/storage/v1
0 commit comments