Fix archival client metrics
@@ -1291,6 +1291,7 @@ const (
HistoryArchiverArchiveNonRetryableErrorCount
HistoryArchiverArchiveTransientErrorCount
+ HistoryArchiverArchiveSuccessCount
HistoryArchiverHistoryMutatedCount
HistoryArchiverTotalUploadSize
HistoryArchiverHistorySize
@@ -1428,6 +1429,9 @@ const (
WorkflowFailedCount
WorkflowTimeoutCount
WorkflowTerminateCount
+ ArchiverClientSendSignalFailureCount
+ ArchiverClientInlineArchiveAttemptCount
+ ArchiverClientInlineArchiveFailureCount
NumHistoryMetrics
)
@@ -1500,9 +1504,6 @@ const (
ArchiverPumpedNotEqualHandledCount
ArchiverHandleAllRequestsLatency
ArchiverWorkflowStoppingCount
- ArchiverClientSendSignalFailureCount
- ArchiverClientInlineArchiveAttemptCount
- ArchiverClientInlineArchiveFailureCount
TaskProcessedCount
TaskDeletedCount
TaskListProcessedCount
@@ -1574,7 +1575,8 @@ var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
HistoryArchiverArchiveNonRetryableErrorCount: {metricName: "history_archiver_archive_non_retryable_error", metricType: Counter},
HistoryArchiverArchiveTransientErrorCount: {metricName: "history_archiver_archive_transient_error", metricType: Counter},
- HistoryArchiverHistoryMutatedCount: {metricName: "history_archiver_history_mutated_count", metricType: Counter},
+ HistoryArchiverArchiveSuccessCount: {metricName: "history_archiver_archive_success", metricType: Counter},
+ HistoryArchiverHistoryMutatedCount: {metricName: "history_archiver_history_mutated", metricType: Counter},
HistoryArchiverTotalUploadSize: {metricName: "history_archiver_total_upload_size", metricType: Timer},
HistoryArchiverHistorySize: {metricName: "history_archiver_history_size", metricType: Timer},
HistoryArchiverBlobExistsCount: {metricName: "history_archiver_blob_exists", metricType: Counter},
@@ -1703,6 +1705,9 @@ var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
WorkflowFailedCount: {metricName: "workflow_failed", metricType: Counter},
WorkflowTimeoutCount: {metricName: "workflow_timeout", metricType: Counter},
WorkflowTerminateCount: {metricName: "workflow_terminate", metricType: Counter},
+ ArchiverClientSendSignalFailureCount: {metricName: "archiver_client_send_signal_error", metricType: Counter},
+ ArchiverClientInlineArchiveAttemptCount: {metricName: "archiver_client_inline_archive_attempt", metricType: Counter},
+ ArchiverClientInlineArchiveFailureCount: {metricName: "archiver_client_inline_archive_failure", metricType: Counter},
},
Matching: {
PollSuccessCounter: {metricName: "poll_success"},
@@ -1767,9 +1772,6 @@ var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
ArchiverPumpedNotEqualHandledCount: {metricName: "archiver_pumped_not_equal_handled"},
ArchiverHandleAllRequestsLatency: {metricName: "archiver_handle_all_requests_latency"},
ArchiverWorkflowStoppingCount: {metricName: "archiver_workflow_stopping"},
- ArchiverClientSendSignalFailureCount: {metricName: "archiver_client_send_signal_error"},
- ArchiverClientInlineArchiveAttemptCount: {metricName: "archiver_client_inline_archive_attempt"},
- ArchiverClientInlineArchiveFailureCount: {metricName: "archiver_client_inline_archive_failure"},
TaskProcessedCount: {metricName: "task_processed", metricType: Gauge},
TaskDeletedCount: {metricName: "task_deleted", metricType: Gauge},
TaskListProcessedCount: {metricName: "tasklist_processed", metricType: Gauge},
