[Response Ops][Task Manager] Increasing max bucket size for task delay and overdue by histograms (#167192)

## Summary

With the serverless circuit breakers we're setting, we could see delays
up to 64 minutes so we need to increase the max bucket allowed when
capturing task run delays.
This commit is contained in:
Ying Mao 2023-09-26 09:22:43 -04:00 committed by GitHub
parent 591df706da
commit 329e84508d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ import {
import { TaskManagerMetrics } from './task_metrics_collector';
import { ITaskMetricsAggregator } from './types';
const HDR_HISTOGRAM_MAX = 1800; // 30 minutes
const HDR_HISTOGRAM_MAX = 5400; // 90 minutes
const HDR_HISTOGRAM_BUCKET_SIZE = 10; // 10 seconds
const OVERDUE_BY_KEY = 'overdue_by';

View file

@ -25,7 +25,7 @@ import {
} from './lib';
import { ITaskMetricsAggregator } from './types';
const HDR_HISTOGRAM_MAX = 1800; // 30 minutes
const HDR_HISTOGRAM_MAX = 5400; // 90 minutes
const HDR_HISTOGRAM_BUCKET_SIZE = 10; // 10 seconds
enum TaskRunKeys {