Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Jun 11, 2024
1 parent 45151e8 commit a71a5b5
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,13 @@ protected String collectMetrics(String metricsPodIp, String podName)
* during the collection attempts and throws a corresponding specialized exception based on the last known error
* state.</p>
*
* @param timeoutDuration the maximum time in milliseconds to wait for metrics collection.
* This duration dictates how long the system should attempt to collect metrics
* before timing out.
* @throws MetricsCollectionException if the collection process fails due to any error such as no data,
* incomplete data, or an exception during the collection process.
* This exception encapsulates detailed error information, including
* the original cause of the failure when applicable.
* @param timeoutDuration the maximum time in milliseconds to wait for metrics collection.
* This duration dictates how long the system should attempt to collect metrics
* before timing out.
* @throws MetricsCollectionException if the collection process fails due to any error such as no data,
* incomplete data, or an exception during the collection process.
* This exception encapsulates detailed error information, including
* the original cause of the failure when applicable.
*/
public final void collectMetricsFromPods(long timeoutDuration) {
final MetricsCollectionStatus status = new MetricsCollectionStatus();
Expand Down

0 comments on commit a71a5b5

Please sign in to comment.