metrics

package
v1.2.13-prerelease01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 9 Imported by: 49

Documentation

Index

Constants

View Source
const (
	Common = iota
	Frontend
	History
	Matching
	Worker
	NumServices
)

Service names for all services that emit metrics.

View Source
const (
	OperationTagName      = "operation"
	CadenceRoleTagName    = "cadence_role"
	CadenceServiceTagName = "cadence_service"
	StatsTypeTagName      = "stats_type"
	CacheTypeTagName      = "cache_type"
)

Common tags for all services

View Source
const (
	HistoryClientRoleTagValue  = "history_client"
	MatchingClientRoleTagValue = "matching_client"
	FrontendClientRoleTagValue = "frontend_client"
	AdminClientRoleTagValue    = "admin_client"
	DCRedirectionRoleTagValue  = "dc_redirection"
	BlobstoreRoleTagValue      = "blobstore"

	SizeStatsTypeTagValue  = "size"
	CountStatsTypeTagValue = "count"

	MutableStateCacheTypeTagValue = "mutablestate"
	EventsCacheTypeTagValue       = "events"
)

Common tag values

View Source
const (
	RestartCount         = "restarts"
	NumGoRoutinesGauge   = "num_goroutines"
	GoMaxProcsGauge      = "gomaxprocs"
	MemoryAllocatedGauge = "memory_allocated"
	MemoryHeapGauge      = "memory_heap"
	MemoryHeapIdleGauge  = "memory_heapidle"
	MemoryHeapInuseGauge = "memory_heapinuse"
	MemoryStackGauge     = "memory_stack"
	NumGCCounter         = "memory_num_gc"
	GcPauseMsTimer       = "memory_gc_pause_ms"
)

Common service base metrics

View Source
const (

	// PersistenceCreateShardScope tracks CreateShard calls made by service to persistence layer
	PersistenceCreateShardScope = iota
	// PersistenceGetShardScope tracks GetShard calls made by service to persistence layer
	PersistenceGetShardScope
	// PersistenceUpdateShardScope tracks UpdateShard calls made by service to persistence layer
	PersistenceUpdateShardScope
	// PersistenceCreateWorkflowExecutionScope tracks CreateWorkflowExecution calls made by service to persistence layer
	PersistenceCreateWorkflowExecutionScope
	// PersistenceGetWorkflowExecutionScope tracks GetWorkflowExecution calls made by service to persistence layer
	PersistenceGetWorkflowExecutionScope
	// PersistenceUpdateWorkflowExecutionScope tracks UpdateWorkflowExecution calls made by service to persistence layer
	PersistenceUpdateWorkflowExecutionScope
	// PersistenceConflictResolveWorkflowExecutionScope tracks ConflictResolveWorkflowExecution calls made by service to persistence layer
	PersistenceConflictResolveWorkflowExecutionScope
	// PersistenceResetWorkflowExecutionScope tracks ResetWorkflowExecution calls made by service to persistence layer
	PersistenceResetWorkflowExecutionScope
	// PersistenceDeleteWorkflowExecutionScope tracks DeleteWorkflowExecution calls made by service to persistence layer
	PersistenceDeleteWorkflowExecutionScope
	// PersistenceDeleteCurrentWorkflowExecutionScope tracks DeleteCurrentWorkflowExecution calls made by service to persistence layer
	PersistenceDeleteCurrentWorkflowExecutionScope
	// PersistenceGetCurrentExecutionScope tracks GetCurrentExecution calls made by service to persistence layer
	PersistenceGetCurrentExecutionScope
	// PersistenceIsWorkflowExecutionExistsScope tracks IsWorkflowExecutionExists calls made by service to persistence layer
	PersistenceIsWorkflowExecutionExistsScope
	// PersistenceListCurrentExecutionsScope tracks ListCurrentExecutions calls made by service to persistence layer
	PersistenceListCurrentExecutionsScope
	// PersistenceListConcreteExecutionsScope tracks ListConcreteExecutions calls made by service to persistence layer
	PersistenceListConcreteExecutionsScope
	// PersistenceGetTransferTasksScope tracks GetTransferTasks calls made by service to persistence layer
	PersistenceGetTransferTasksScope
	// PersistenceCompleteTransferTaskScope tracks CompleteTransferTasks calls made by service to persistence layer
	PersistenceCompleteTransferTaskScope
	// PersistenceRangeCompleteTransferTaskScope tracks CompleteTransferTasks calls made by service to persistence layer
	PersistenceRangeCompleteTransferTaskScope
	// PersistenceGetCrossClusterTasksScope tracks GetCrossClusterTasks calls made by service to persistence layer
	PersistenceGetCrossClusterTasksScope
	// PersistenceCompleteCrossClusterTaskScope tracks CompleteCrossClusterTasks calls made by service to persistence layer
	PersistenceCompleteCrossClusterTaskScope
	// PersistenceRangeCompleteCrossClusterTaskScope tracks CompleteCrossClusterTasks calls made by service to persistence layer
	PersistenceRangeCompleteCrossClusterTaskScope
	// PersistenceGetReplicationTasksScope tracks GetReplicationTasks calls made by service to persistence layer
	PersistenceGetReplicationTasksScope
	// PersistenceCompleteReplicationTaskScope tracks CompleteReplicationTasks calls made by service to persistence layer
	PersistenceCompleteReplicationTaskScope
	// PersistenceRangeCompleteReplicationTaskScope tracks RangeCompleteReplicationTasks calls made by service to persistence layer
	PersistenceRangeCompleteReplicationTaskScope
	// PersistencePutReplicationTaskToDLQScope tracks PersistencePutReplicationTaskToDLQScope calls made by service to persistence layer
	PersistencePutReplicationTaskToDLQScope
	// PersistenceGetReplicationTasksFromDLQScope tracks PersistenceGetReplicationTasksFromDLQScope calls made by service to persistence layer
	PersistenceGetReplicationTasksFromDLQScope
	// PersistenceGetReplicationDLQSizeScope tracks PersistenceGetReplicationDLQSizeScope calls made by service to persistence layer
	PersistenceGetReplicationDLQSizeScope
	// PersistenceDeleteReplicationTaskFromDLQScope tracks PersistenceDeleteReplicationTaskFromDLQScope calls made by service to persistence layer
	PersistenceDeleteReplicationTaskFromDLQScope
	// PersistenceRangeDeleteReplicationTaskFromDLQScope tracks PersistenceRangeDeleteReplicationTaskFromDLQScope calls made by service to persistence layer
	PersistenceRangeDeleteReplicationTaskFromDLQScope
	// PersistenceCreateFailoverMarkerTasksScope tracks CreateFailoverMarkerTasks calls made by service to persistence layer
	PersistenceCreateFailoverMarkerTasksScope
	// PersistenceGetTimerIndexTasksScope tracks GetTimerIndexTasks calls made by service to persistence layer
	PersistenceGetTimerIndexTasksScope
	// PersistenceCompleteTimerTaskScope tracks CompleteTimerTasks calls made by service to persistence layer
	PersistenceCompleteTimerTaskScope
	// PersistenceRangeCompleteTimerTaskScope tracks CompleteTimerTasks calls made by service to persistence layer
	PersistenceRangeCompleteTimerTaskScope
	// PersistenceCreateTasksScope tracks CreateTask calls made by service to persistence layer
	PersistenceCreateTasksScope
	// PersistenceGetTasksScope tracks GetTasks calls made by service to persistence layer
	PersistenceGetTasksScope
	// PersistenceCompleteTaskScope tracks CompleteTask calls made by service to persistence layer
	PersistenceCompleteTaskScope
	// PersistenceCompleteTasksLessThanScope is the metric scope for persistence.TaskManager.PersistenceCompleteTasksLessThan API
	PersistenceCompleteTasksLessThanScope
	// PersistenceGetOrphanTasksScope is the metric scope for persistence.TaskManager.GetOrphanTasks API
	PersistenceGetOrphanTasksScope
	// PersistenceLeaseTaskListScope tracks LeaseTaskList calls made by service to persistence layer
	PersistenceLeaseTaskListScope
	// PersistenceUpdateTaskListScope tracks PersistenceUpdateTaskListScope calls made by service to persistence layer
	PersistenceUpdateTaskListScope
	// PersistenceListTaskListScope is the metric scope for persistence.TaskManager.ListTaskList API
	PersistenceListTaskListScope
	// PersistenceDeleteTaskListScope is the metric scope for persistence.TaskManager.DeleteTaskList API
	PersistenceDeleteTaskListScope
	// PersistenceGetTaskListSizeScope is the metric scope for persistence.TaskManager.GetTaskListSize API
	PersistenceGetTaskListSizeScope
	// PersistenceAppendHistoryEventsScope tracks AppendHistoryEvents calls made by service to persistence layer
	PersistenceAppendHistoryEventsScope
	// PersistenceGetWorkflowExecutionHistoryScope tracks GetWorkflowExecutionHistory calls made by service to persistence layer
	PersistenceGetWorkflowExecutionHistoryScope
	// PersistenceDeleteWorkflowExecutionHistoryScope tracks DeleteWorkflowExecutionHistory calls made by service to persistence layer
	PersistenceDeleteWorkflowExecutionHistoryScope
	// PersistenceCreateDomainScope tracks CreateDomain calls made by service to persistence layer
	PersistenceCreateDomainScope
	// PersistenceGetDomainScope tracks GetDomain calls made by service to persistence layer
	PersistenceGetDomainScope
	// PersistenceUpdateDomainScope tracks UpdateDomain calls made by service to persistence layer
	PersistenceUpdateDomainScope
	// PersistenceDeleteDomainScope tracks DeleteDomain calls made by service to persistence layer
	PersistenceDeleteDomainScope
	// PersistenceDeleteDomainByNameScope tracks DeleteDomainByName calls made by service to persistence layer
	PersistenceDeleteDomainByNameScope
	// PersistenceListDomainsScope tracks DeleteDomainByName calls made by service to persistence layer
	PersistenceListDomainsScope
	// PersistenceGetMetadataScope tracks DeleteDomainByName calls made by service to persistence layer
	PersistenceGetMetadataScope
	// PersistenceRecordWorkflowExecutionStartedScope tracks RecordWorkflowExecutionStarted calls made by service to persistence layer
	PersistenceRecordWorkflowExecutionStartedScope
	// PersistenceRecordWorkflowExecutionClosedScope tracks RecordWorkflowExecutionClosed calls made by service to persistence layer
	PersistenceRecordWorkflowExecutionClosedScope
	// PersistenceRecordWorkflowExecutionUninitializedScope tracks RecordWorkflowExecutionUninitialized calls made by service to persistence layer
	PersistenceRecordWorkflowExecutionUninitializedScope
	// PersistenceUpsertWorkflowExecutionScope tracks UpsertWorkflowExecution calls made by service to persistence layer
	PersistenceUpsertWorkflowExecutionScope
	// PersistenceListOpenWorkflowExecutionsScope tracks ListOpenWorkflowExecutions calls made by service to persistence layer
	PersistenceListOpenWorkflowExecutionsScope
	// PersistenceListClosedWorkflowExecutionsScope tracks ListClosedWorkflowExecutions calls made by service to persistence layer
	PersistenceListClosedWorkflowExecutionsScope
	// PersistenceListOpenWorkflowExecutionsByTypeScope tracks ListOpenWorkflowExecutionsByType calls made by service to persistence layer
	PersistenceListOpenWorkflowExecutionsByTypeScope
	// PersistenceListClosedWorkflowExecutionsByTypeScope tracks ListClosedWorkflowExecutionsByType calls made by service to persistence layer
	PersistenceListClosedWorkflowExecutionsByTypeScope
	// PersistenceListOpenWorkflowExecutionsByWorkflowIDScope tracks ListOpenWorkflowExecutionsByWorkflowID calls made by service to persistence layer
	PersistenceListOpenWorkflowExecutionsByWorkflowIDScope
	// PersistenceListClosedWorkflowExecutionsByWorkflowIDScope tracks ListClosedWorkflowExecutionsByWorkflowID calls made by service to persistence layer
	PersistenceListClosedWorkflowExecutionsByWorkflowIDScope
	// PersistenceListClosedWorkflowExecutionsByStatusScope tracks ListClosedWorkflowExecutionsByStatus calls made by service to persistence layer
	PersistenceListClosedWorkflowExecutionsByStatusScope
	// PersistenceGetClosedWorkflowExecutionScope tracks GetClosedWorkflowExecution calls made by service to persistence layer
	PersistenceGetClosedWorkflowExecutionScope
	// PersistenceVisibilityDeleteWorkflowExecutionScope is the metrics scope for persistence.VisibilityManager.DeleteWorkflowExecution
	PersistenceVisibilityDeleteWorkflowExecutionScope
	// PersistenceDeleteUninitializedWorkflowExecutionScope tracks DeleteUninitializedWorkflowExecution calls made by service to persistence layer
	PersistenceDeleteUninitializedWorkflowExecutionScope
	// PersistenceListWorkflowExecutionsScope tracks ListWorkflowExecutions calls made by service to persistence layer
	PersistenceListWorkflowExecutionsScope
	// PersistenceScanWorkflowExecutionsScope tracks ScanWorkflowExecutions calls made by service to persistence layer
	PersistenceScanWorkflowExecutionsScope
	// PersistenceCountWorkflowExecutionsScope tracks CountWorkflowExecutions calls made by service to persistence layer
	PersistenceCountWorkflowExecutionsScope
	// PersistenceEnqueueMessageScope tracks Enqueue calls made by service to persistence layer
	PersistenceEnqueueMessageScope
	// PersistenceEnqueueMessageToDLQScope tracks Enqueue DLQ calls made by service to persistence layer
	PersistenceEnqueueMessageToDLQScope
	// PersistenceReadMessagesScope tracks ReadMessages calls made by service to persistence layer
	PersistenceReadMessagesScope
	// PersistenceReadMessagesFromDLQScope tracks ReadMessagesFromDLQ calls made by service to persistence layer
	PersistenceReadMessagesFromDLQScope
	// PersistenceDeleteMessagesBeforeScope tracks DeleteMessages calls made by service to persistence layer
	PersistenceDeleteMessagesBeforeScope
	// PersistenceDeleteMessageFromDLQScope tracks DeleteMessageFromDLQ calls made by service to persistence layer
	PersistenceDeleteMessageFromDLQScope
	// PersistenceRangeDeleteMessagesFromDLQScope tracks RangeDeleteMessagesFromDLQ calls made by service to persistence layer
	PersistenceRangeDeleteMessagesFromDLQScope
	// PersistenceUpdateAckLevelScope tracks UpdateAckLevel calls made by service to persistence layer
	PersistenceUpdateAckLevelScope
	// PersistenceGetAckLevelsScope tracks GetAckLevel calls made by service to persistence layer
	PersistenceGetAckLevelsScope
	// PersistenceUpdateDLQAckLevelScope tracks UpdateDLQAckLevel calls made by service to persistence layer
	PersistenceUpdateDLQAckLevelScope
	// PersistenceGetDLQAckLevelsScope tracks GetDLQAckLevel calls made by service to persistence layer
	PersistenceGetDLQAckLevelsScope
	// PersistenceGetDLQSizeScope tracks GetDLQSize calls made by service to persistence layer
	PersistenceGetDLQSizeScope
	// PersistenceFetchDynamicConfigScope tracks FetchDynamicConfig calls made by service to persistence layer
	PersistenceFetchDynamicConfigScope
	// PersistenceUpdateDynamicConfigScope tracks UpdateDynamicConfig calls made by service to persistence layer
	PersistenceUpdateDynamicConfigScope
	// PersistenceShardRequestCountScope tracks number of persistence calls made to each shard
	PersistenceShardRequestCountScope

	// ResolverHostNotFoundScope is a simple low level error indicating a lookup failed in the membership resolver
	ResolverHostNotFoundScope
	// HashringScope is a metrics scope for emitting events for the service hashrhing
	HashringScope
	// HistoryClientStartWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientStartWorkflowExecutionScope
	// HistoryClientDescribeHistoryHostScope tracks RPC calls to history service
	HistoryClientDescribeHistoryHostScope
	// HistoryClientRemoveTaskScope tracks RPC calls to history service
	HistoryClientRemoveTaskScope
	// HistoryClientCloseShardScope tracks RPC calls to history service
	HistoryClientCloseShardScope
	// HistoryClientResetQueueScope tracks RPC calls to history service
	HistoryClientResetQueueScope
	// HistoryClientDescribeQueueScope tracks RPC calls to history service
	HistoryClientDescribeQueueScope
	// HistoryClientRecordActivityTaskHeartbeatScope tracks RPC calls to history service
	HistoryClientRecordActivityTaskHeartbeatScope
	// HistoryClientRespondDecisionTaskCompletedScope tracks RPC calls to history service
	HistoryClientRespondDecisionTaskCompletedScope
	// HistoryClientRespondDecisionTaskFailedScope tracks RPC calls to history service
	HistoryClientRespondDecisionTaskFailedScope
	// HistoryClientRespondActivityTaskCompletedScope tracks RPC calls to history service
	HistoryClientRespondActivityTaskCompletedScope
	// HistoryClientRespondActivityTaskFailedScope tracks RPC calls to history service
	HistoryClientRespondActivityTaskFailedScope
	// HistoryClientRespondActivityTaskCanceledScope tracks RPC calls to history service
	HistoryClientRespondActivityTaskCanceledScope
	// HistoryClientDescribeMutableStateScope tracks RPC calls to history service
	HistoryClientDescribeMutableStateScope
	// HistoryClientGetMutableStateScope tracks RPC calls to history service
	HistoryClientGetMutableStateScope
	// HistoryClientPollMutableStateScope tracks RPC calls to history service
	HistoryClientPollMutableStateScope
	// HistoryClientResetStickyTaskListScope tracks RPC calls to history service
	HistoryClientResetStickyTaskListScope
	// HistoryClientDescribeWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientDescribeWorkflowExecutionScope
	// HistoryClientRecordDecisionTaskStartedScope tracks RPC calls to history service
	HistoryClientRecordDecisionTaskStartedScope
	// HistoryClientRecordActivityTaskStartedScope tracks RPC calls to history service
	HistoryClientRecordActivityTaskStartedScope
	// HistoryClientRequestCancelWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientRequestCancelWorkflowExecutionScope
	// HistoryClientSignalWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientSignalWorkflowExecutionScope
	// HistoryClientSignalWithStartWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientSignalWithStartWorkflowExecutionScope
	// HistoryClientRemoveSignalMutableStateScope tracks RPC calls to history service
	HistoryClientRemoveSignalMutableStateScope
	// HistoryClientTerminateWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientTerminateWorkflowExecutionScope
	// HistoryClientResetWorkflowExecutionScope tracks RPC calls to history service
	HistoryClientResetWorkflowExecutionScope
	// HistoryClientScheduleDecisionTaskScope tracks RPC calls to history service
	HistoryClientScheduleDecisionTaskScope
	// HistoryClientRecordChildExecutionCompletedScope tracks RPC calls to history service
	HistoryClientRecordChildExecutionCompletedScope
	// HistoryClientSyncShardStatusScope tracks RPC calls to history service
	HistoryClientReplicateEventsV2Scope
	// HistoryClientReplicateRawEventsV2Scope tracks RPC calls to history service
	HistoryClientSyncShardStatusScope
	// HistoryClientSyncActivityScope tracks RPC calls to history service
	HistoryClientSyncActivityScope
	// HistoryClientGetReplicationTasksScope tracks RPC calls to history service
	HistoryClientGetReplicationTasksScope
	// HistoryClientGetDLQReplicationTasksScope tracks RPC calls to history service
	HistoryClientGetDLQReplicationTasksScope
	// HistoryClientQueryWorkflowScope tracks RPC calls to history service
	HistoryClientQueryWorkflowScope
	// HistoryClientReapplyEventsScope tracks RPC calls to history service
	HistoryClientReapplyEventsScope
	// HistoryClientCountDLQMessagesScope tracks RPC calls to history service
	HistoryClientCountDLQMessagesScope
	// HistoryClientReadDLQMessagesScope tracks RPC calls to history service
	HistoryClientReadDLQMessagesScope
	// HistoryClientPurgeDLQMessagesScope tracks RPC calls to history service
	HistoryClientPurgeDLQMessagesScope
	// HistoryClientMergeDLQMessagesScope tracks RPC calls to history service
	HistoryClientMergeDLQMessagesScope
	// HistoryClientRefreshWorkflowTasksScope tracks RPC calls to history service
	HistoryClientRefreshWorkflowTasksScope
	// HistoryClientNotifyFailoverMarkersScope tracks RPC calls to history service
	HistoryClientNotifyFailoverMarkersScope
	// HistoryClientGetCrossClusterTasksScope tracks RPC calls to history service
	HistoryClientGetCrossClusterTasksScope
	// HistoryClientRespondCrossClusterTasksCompletedScope tracks RPC calls to history service
	HistoryClientRespondCrossClusterTasksCompletedScope
	// HistoryClientGetFailoverInfoScope tracks RPC calls to history service
	HistoryClientGetFailoverInfoScope
	// HistoryClientGetDLQReplicationMessagesScope tracks RPC calls to history service
	HistoryClientGetDLQReplicationMessagesScope
	// HistoryClientGetReplicationMessagesScope tracks RPC calls to history service
	HistoryClientGetReplicationMessagesScope
	// HistoryClientWfIDCacheScope tracks workflow ID cache metrics
	HistoryClientWfIDCacheScope
	// HistoryClientRatelimitUpdateScope tracks global ratelimiter related calls to history service
	HistoryClientRatelimitUpdateScope

	// MatchingClientPollForDecisionTaskScope tracks RPC calls to matching service
	MatchingClientPollForDecisionTaskScope
	// MatchingClientPollForActivityTaskScope tracks RPC calls to matching service
	MatchingClientPollForActivityTaskScope
	// MatchingClientAddActivityTaskScope tracks RPC calls to matching service
	MatchingClientAddActivityTaskScope
	// MatchingClientAddDecisionTaskScope tracks RPC calls to matching service
	MatchingClientAddDecisionTaskScope
	// MatchingClientQueryWorkflowScope tracks RPC calls to matching service
	MatchingClientQueryWorkflowScope
	// MatchingClientRespondQueryTaskCompletedScope tracks RPC calls to matching service
	MatchingClientRespondQueryTaskCompletedScope
	// MatchingClientCancelOutstandingPollScope tracks RPC calls to matching service
	MatchingClientCancelOutstandingPollScope
	// MatchingClientDescribeTaskListScope tracks RPC calls to matching service
	MatchingClientDescribeTaskListScope
	// MatchingClientListTaskListPartitionsScope tracks RPC calls to matching service
	MatchingClientListTaskListPartitionsScope
	// MatchingClientGetTaskListsByDomainScope tracks RPC calls to matching service
	MatchingClientGetTaskListsByDomainScope
	// FrontendClientDeprecateDomainScope tracks RPC calls to frontend service
	FrontendClientDeprecateDomainScope
	// FrontendClientDescribeDomainScope tracks RPC calls to frontend service
	FrontendClientDescribeDomainScope
	// FrontendClientDescribeTaskListScope tracks RPC calls to frontend service
	FrontendClientDescribeTaskListScope
	// FrontendClientDescribeWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientDescribeWorkflowExecutionScope
	// FrontendClientGetWorkflowExecutionHistoryScope tracks RPC calls to frontend service
	FrontendClientGetWorkflowExecutionHistoryScope
	// FrontendClientGetWorkflowExecutionRawHistoryScope tracks RPC calls to frontend service
	FrontendClientGetWorkflowExecutionRawHistoryScope
	// FrontendClientPollForWorkflowExecutionRawHistoryScope tracks RPC calls to frontend service
	FrontendClientPollForWorkflowExecutionRawHistoryScope
	// FrontendClientListArchivedWorkflowExecutionsScope tracks RPC calls to frontend service
	FrontendClientListArchivedWorkflowExecutionsScope
	// FrontendClientListClosedWorkflowExecutionsScope tracks RPC calls to frontend service
	FrontendClientListClosedWorkflowExecutionsScope
	// FrontendClientListDomainsScope tracks RPC calls to frontend service
	FrontendClientListDomainsScope
	// FrontendClientListOpenWorkflowExecutionsScope tracks RPC calls to frontend service
	FrontendClientListOpenWorkflowExecutionsScope
	// FrontendClientPollForActivityTaskScope tracks RPC calls to frontend service
	FrontendClientPollForActivityTaskScope
	// FrontendClientPollForDecisionTaskScope tracks RPC calls to frontend service
	FrontendClientPollForDecisionTaskScope
	// FrontendClientQueryWorkflowScope tracks RPC calls to frontend service
	FrontendClientQueryWorkflowScope
	// FrontendClientRecordActivityTaskHeartbeatScope tracks RPC calls to frontend service
	FrontendClientRecordActivityTaskHeartbeatScope
	// FrontendClientRecordActivityTaskHeartbeatByIDScope tracks RPC calls to frontend service
	FrontendClientRecordActivityTaskHeartbeatByIDScope
	// FrontendClientRegisterDomainScope tracks RPC calls to frontend service
	FrontendClientRegisterDomainScope
	// FrontendClientRequestCancelWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientRequestCancelWorkflowExecutionScope
	// FrontendClientResetStickyTaskListScope tracks RPC calls to frontend service
	FrontendClientResetStickyTaskListScope
	// FrontendClientRefreshWorkflowTasksScope tracks RPC calls to frontend service
	FrontendClientRefreshWorkflowTasksScope
	// FrontendClientResetWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientResetWorkflowExecutionScope
	// FrontendClientRespondActivityTaskCanceledScope tracks RPC calls to frontend service
	FrontendClientRespondActivityTaskCanceledScope
	// FrontendClientRespondActivityTaskCanceledByIDScope tracks RPC calls to frontend service
	FrontendClientRespondActivityTaskCanceledByIDScope
	// FrontendClientRespondActivityTaskCompletedScope tracks RPC calls to frontend service
	FrontendClientRespondActivityTaskCompletedScope
	// FrontendClientRespondActivityTaskCompletedByIDScope tracks RPC calls to frontend service
	FrontendClientRespondActivityTaskCompletedByIDScope
	// FrontendClientRespondActivityTaskFailedScope tracks RPC calls to frontend service
	FrontendClientRespondActivityTaskFailedScope
	// FrontendClientRespondActivityTaskFailedByIDScope tracks RPC calls to frontend service
	FrontendClientRespondActivityTaskFailedByIDScope
	// FrontendClientRespondDecisionTaskCompletedScope tracks RPC calls to frontend service
	FrontendClientRespondDecisionTaskCompletedScope
	// FrontendClientRespondDecisionTaskFailedScope tracks RPC calls to frontend service
	FrontendClientRespondDecisionTaskFailedScope
	// FrontendClientRespondQueryTaskCompletedScope tracks RPC calls to frontend service
	FrontendClientRespondQueryTaskCompletedScope
	// FrontendClientSignalWithStartWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientSignalWithStartWorkflowExecutionScope
	// FrontendClientSignalWorkflowExecutionAsyncScope tracks RPC calls to frontend service
	FrontendClientSignalWithStartWorkflowExecutionAsyncScope
	// FrontendClientSignalWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientSignalWorkflowExecutionScope
	// FrontendClientStartWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientStartWorkflowExecutionScope
	// FrontendClientStartWorkflowExecutionAsyncScope tracks RPC calls to frontend service
	FrontendClientStartWorkflowExecutionAsyncScope
	// FrontendClientRestartWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientRestartWorkflowExecutionScope
	// FrontendClientTerminateWorkflowExecutionScope tracks RPC calls to frontend service
	FrontendClientTerminateWorkflowExecutionScope
	// FrontendClientUpdateDomainScope tracks RPC calls to frontend service
	FrontendClientUpdateDomainScope
	// FrontendClientListWorkflowExecutionsScope tracks RPC calls to frontend service
	FrontendClientListWorkflowExecutionsScope
	// FrontendClientScanWorkflowExecutionsScope tracks RPC calls to frontend service
	FrontendClientScanWorkflowExecutionsScope
	// FrontendClientCountWorkflowExecutionsScope tracks RPC calls to frontend service
	FrontendClientCountWorkflowExecutionsScope
	// FrontendClientGetSearchAttributesScope tracks RPC calls to frontend service
	FrontendClientGetSearchAttributesScope
	// FrontendClientGetReplicationTasksScope tracks RPC calls to frontend service
	FrontendClientGetReplicationTasksScope
	// FrontendClientGetDomainReplicationTasksScope tracks RPC calls to frontend service
	FrontendClientGetDomainReplicationTasksScope
	// FrontendClientGetDLQReplicationTasksScope tracks RPC calls to frontend service
	FrontendClientGetDLQReplicationTasksScope
	// FrontendClientReapplyEventsScope tracks RPC calls to frontend service
	FrontendClientReapplyEventsScope
	// FrontendClientGetClusterInfoScope tracks RPC calls to frontend
	FrontendClientGetClusterInfoScope
	// FrontendClientListTaskListPartitionsScope tracks RPC calls to frontend service
	FrontendClientListTaskListPartitionsScope
	// FrontendClientGetTaskListsByDomainScope tracks RPC calls to frontend service
	FrontendClientGetTaskListsByDomainScope

	// AdminClientAddSearchAttributeScope tracks RPC calls to admin service
	AdminClientAddSearchAttributeScope
	// AdminClientCloseShardScope tracks RPC calls to admin service
	AdminClientCloseShardScope
	// AdminClientRemoveTaskScope tracks RPC calls to admin service
	AdminClientRemoveTaskScope
	// AdminClientResetQueueScope tracks RPC calls to admin service
	AdminClientResetQueueScope
	// AdminClientDescribeQueueScope tracks RPC calls to admin service
	AdminClientDescribeQueueScope
	// AdminClientDescribeHistoryHostScope tracks RPC calls to admin service
	AdminClientDescribeHistoryHostScope
	// AdminClientDescribeShardDistributionScope tracks RPC calls to admin service
	AdminClientDescribeShardDistributionScope
	// AdminClientDescribeWorkflowExecutionScope tracks RPC calls to admin service
	AdminClientDescribeWorkflowExecutionScope
	// AdminClientGetWorkflowExecutionRawHistoryV2Scope tracks RPC calls to admin service
	AdminClientGetWorkflowExecutionRawHistoryV2Scope
	// AdminClientDescribeClusterScope tracks RPC calls to admin service
	AdminClientDescribeClusterScope
	// AdminClientCountDLQMessagesScope tracks RPC calls to admin service
	AdminClientCountDLQMessagesScope
	// AdminClientReadDLQMessagesScope tracks RPC calls to admin service
	AdminClientReadDLQMessagesScope
	// AdminClientPurgeDLQMessagesScope tracks RPC calls to admin service
	AdminClientPurgeDLQMessagesScope
	// AdminClientMergeDLQMessagesScope tracks RPC calls to admin service
	AdminClientMergeDLQMessagesScope
	// AdminClientRefreshWorkflowTasksScope tracks RPC calls to admin service
	AdminClientRefreshWorkflowTasksScope
	// AdminClientResendReplicationTasksScope tracks RPC calls to admin service
	AdminClientResendReplicationTasksScope
	// AdminClientGetCrossClusterTasksScope tracks RPC calls to Admin service
	AdminClientGetCrossClusterTasksScope
	// AdminClientRespondCrossClusterTasksCompletedScope tracks RPC calls to Admin service
	AdminClientRespondCrossClusterTasksCompletedScope
	// AdminClientGetDynamicConfigScope tracks RPC calls to admin service
	AdminClientGetDynamicConfigScope
	// AdminClientUpdateDynamicConfigScope tracks RPC calls to admin service
	AdminClientUpdateDynamicConfigScope
	// AdminClientRestoreDynamicConfigScope tracks RPC calls to admin service
	AdminClientRestoreDynamicConfigScope
	// AdminClientListDynamicConfigScope tracks RPC calls to admin service
	AdminClientListDynamicConfigScope
	// AdminClientGetGlobalIsolationGroupsScope is a request to get all the global isolation-groups
	AdminClientGetGlobalIsolationGroupsScope
	// AdminClientUpdateGlobalIsolationGroupsScope is a request to update the global isolation-groups
	AdminClientUpdateGlobalIsolationGroupsScope
	// AdminClientGetDomainIsolationGroupsScope is a request to get the domains' isolation groups
	AdminClientGetDomainIsolationGroupsScope
	// AdminClientUpdateDomainIsolationGroupsScope is a request to update the domains isolation-groups
	AdminClientUpdateDomainIsolationGroupsScope
	// AdminClientDeleteWorkflowScope is the metric scope for admin.DeleteWorkflow
	AdminClientDeleteWorkflowScope
	// AdminClientMaintainCorruptWorkflowScope is the metric scope for admin.MaintainCorruptWorkflow
	AdminClientMaintainCorruptWorkflowScope
	// AdminClientGetReplicationTasksScope is the metric scope for admin.GetReplicationTasks
	AdminClientGetReplicationTasksScope
	// AdminClientReapplyEventsScope is the metric scope for admin.ReapplyEvents
	AdminClientReapplyEventsScope
	// AdminClientGetDLQReplicationMessagesScope is the metric scope for admin.GetDLQReplicationMessages
	AdminClientGetDLQReplicationMessagesScope
	// AdminClientGetDomainReplicationMessagesScope is the metric scope for admin.GetDomainReplicationMessages
	AdminClientGetDomainReplicationMessagesScope
	// AdminClientGetReplicationMessagesScope is the metric scope for admin.GetReplicationMessages
	AdminClientGetReplicationMessagesScope
	// AdminClientGetWorkflowExecutionRawHistoryScope is the metric scope for admin.GetDomainAsyncWorkflow
	AdminClientGetDomainAsyncWorkflowConfiguratonScope
	// AdminClientGetWorkflowExecutionRawHistoryScope is the metric scope for admin.UpdateDomainAsyncWorkflowConfiguration
	AdminClientUpdateDomainAsyncWorkflowConfiguratonScope

	// DCRedirectionDeprecateDomainScope tracks RPC calls for dc redirection
	DCRedirectionDeprecateDomainScope
	// DCRedirectionDescribeDomainScope tracks RPC calls for dc redirection
	DCRedirectionDescribeDomainScope
	// DCRedirectionDescribeTaskListScope tracks RPC calls for dc redirection
	DCRedirectionDescribeTaskListScope
	// DCRedirectionDescribeWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionDescribeWorkflowExecutionScope
	// DCRedirectionGetWorkflowExecutionHistoryScope tracks RPC calls for dc redirection
	DCRedirectionGetWorkflowExecutionHistoryScope
	// DCRedirectionGetWorkflowExecutionRawHistoryScope tracks RPC calls for dc redirection
	DCRedirectionGetWorkflowExecutionRawHistoryScope
	// DCRedirectionPollForWorklfowExecutionRawHistoryScope tracks RPC calls for dc redirection
	DCRedirectionPollForWorklfowExecutionRawHistoryScope
	// DCRedirectionListArchivedWorkflowExecutionsScope tracks RPC calls for dc redirection
	DCRedirectionListArchivedWorkflowExecutionsScope
	// DCRedirectionListClosedWorkflowExecutionsScope tracks RPC calls for dc redirection
	DCRedirectionListClosedWorkflowExecutionsScope
	// DCRedirectionListDomainsScope tracks RPC calls for dc redirection
	DCRedirectionListDomainsScope
	// DCRedirectionListOpenWorkflowExecutionsScope tracks RPC calls for dc redirection
	DCRedirectionListOpenWorkflowExecutionsScope
	// DCRedirectionListWorkflowExecutionsScope tracks RPC calls for dc redirection
	DCRedirectionListWorkflowExecutionsScope
	// DCRedirectionScanWorkflowExecutionsScope tracks RPC calls for dc redirection
	DCRedirectionScanWorkflowExecutionsScope
	// DCRedirectionCountWorkflowExecutionsScope tracks RPC calls for dc redirection
	DCRedirectionCountWorkflowExecutionsScope
	// DCRedirectionGetSearchAttributesScope tracks RPC calls for dc redirection
	DCRedirectionGetSearchAttributesScope
	// DCRedirectionPollForActivityTaskScope tracks RPC calls for dc redirection
	DCRedirectionPollForActivityTaskScope
	// DCRedirectionPollForDecisionTaskScope tracks RPC calls for dc redirection
	DCRedirectionPollForDecisionTaskScope
	// DCRedirectionQueryWorkflowScope tracks RPC calls for dc redirection
	DCRedirectionQueryWorkflowScope
	// DCRedirectionRecordActivityTaskHeartbeatScope tracks RPC calls for dc redirection
	DCRedirectionRecordActivityTaskHeartbeatScope
	// DCRedirectionRecordActivityTaskHeartbeatByIDScope tracks RPC calls for dc redirection
	DCRedirectionRecordActivityTaskHeartbeatByIDScope
	// DCRedirectionRegisterDomainScope tracks RPC calls for dc redirection
	DCRedirectionRegisterDomainScope
	// DCRedirectionRequestCancelWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionRequestCancelWorkflowExecutionScope
	// DCRedirectionResetStickyTaskListScope tracks RPC calls for dc redirection
	DCRedirectionResetStickyTaskListScope
	// DCRedirectionResetWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionResetWorkflowExecutionScope
	// DCRedirectionRespondActivityTaskCanceledScope tracks RPC calls for dc redirection
	DCRedirectionRespondActivityTaskCanceledScope
	// DCRedirectionRespondActivityTaskCanceledByIDScope tracks RPC calls for dc redirection
	DCRedirectionRespondActivityTaskCanceledByIDScope
	// DCRedirectionRespondActivityTaskCompletedScope tracks RPC calls for dc redirection
	DCRedirectionRespondActivityTaskCompletedScope
	// DCRedirectionRespondActivityTaskCompletedByIDScope tracks RPC calls for dc redirection
	DCRedirectionRespondActivityTaskCompletedByIDScope
	// DCRedirectionRespondActivityTaskFailedScope tracks RPC calls for dc redirection
	DCRedirectionRespondActivityTaskFailedScope
	// DCRedirectionRespondActivityTaskFailedByIDScope tracks RPC calls for dc redirection
	DCRedirectionRespondActivityTaskFailedByIDScope
	// DCRedirectionRespondDecisionTaskCompletedScope tracks RPC calls for dc redirection
	DCRedirectionRespondDecisionTaskCompletedScope
	// DCRedirectionRespondDecisionTaskFailedScope tracks RPC calls for dc redirection
	DCRedirectionRespondDecisionTaskFailedScope
	// DCRedirectionRespondQueryTaskCompletedScope tracks RPC calls for dc redirection
	DCRedirectionRespondQueryTaskCompletedScope
	// DCRedirectionSignalWithStartWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionSignalWithStartWorkflowExecutionScope
	// DCRedirectionSignalWithStartWorkflowExecutionAsyncScope tracks RPC calls for dc redirection
	DCRedirectionSignalWithStartWorkflowExecutionAsyncScope
	// DCRedirectionSignalWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionSignalWorkflowExecutionScope
	// DCRedirectionStartWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionStartWorkflowExecutionScope
	// DCRedirectionStartWorkflowExecutionAsyncScope tracks RPC calls for dc redirection
	DCRedirectionStartWorkflowExecutionAsyncScope
	// DCRedirectionTerminateWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionTerminateWorkflowExecutionScope
	// DCRedirectionUpdateDomainScope tracks RPC calls for dc redirection
	DCRedirectionUpdateDomainScope
	// DCRedirectionListTaskListPartitionsScope tracks RPC calls for dc redirection
	DCRedirectionListTaskListPartitionsScope
	// DCRedirectionGetTaskListsByDomainScope tracks RPC calls for dc redirection
	DCRedirectionGetTaskListsByDomainScope
	// DCRedirectionRefreshWorkflowTasksScope tracks RPC calls for dc redirection
	DCRedirectionRefreshWorkflowTasksScope
	// DCRedirectionRestartWorkflowExecutionScope tracks RPC calls for dc redirection
	DCRedirectionRestartWorkflowExecutionScope

	// MessagingPublishScope tracks Publish calls made by service to messaging layer
	MessagingClientPublishScope
	// MessagingPublishBatchScope tracks Publish calls made by service to messaging layer
	MessagingClientPublishBatchScope
	// MessagingClientConsumerScope tracks the consumer activities
	MessagingClientConsumerScope

	// DomainCacheScope tracks domain cache callbacks
	DomainCacheScope
	// HistoryRereplicationByTransferTaskScope tracks history replication calls made by transfer task
	HistoryRereplicationByTransferTaskScope
	// HistoryRereplicationByTimerTaskScope tracks history replication calls made by timer task
	HistoryRereplicationByTimerTaskScope
	// HistoryRereplicationByHistoryReplicationScope tracks history replication calls made by history replication
	HistoryRereplicationByHistoryReplicationScope
	// HistoryRereplicationByHistoryMetadataReplicationScope tracks history replication calls made by history replication
	HistoryRereplicationByHistoryMetadataReplicationScope
	// HistoryRereplicationByActivityReplicationScope tracks history replication calls made by activity replication
	HistoryRereplicationByActivityReplicationScope

	// PersistenceAppendHistoryNodesScope tracks AppendHistoryNodes calls made by service to persistence layer
	PersistenceAppendHistoryNodesScope
	// PersistenceReadHistoryBranchScope tracks ReadHistoryBranch calls made by service to persistence layer
	PersistenceReadHistoryBranchScope
	// PersistenceReadHistoryBranchByBatchScope tracks ReadHistoryBranch calls made by service to persistence layer
	PersistenceReadHistoryBranchByBatchScope
	// PersistenceReadRawHistoryBranchScope tracks ReadHistoryBranch calls made by service to persistence layer
	PersistenceReadRawHistoryBranchScope
	// PersistenceForkHistoryBranchScope tracks ForkHistoryBranch calls made by service to persistence layer
	PersistenceForkHistoryBranchScope
	// PersistenceDeleteHistoryBranchScope tracks DeleteHistoryBranch calls made by service to persistence layer
	PersistenceDeleteHistoryBranchScope
	// PersistenceCompleteForkBranchScope tracks CompleteForkBranch calls made by service to persistence layer
	PersistenceCompleteForkBranchScope
	// PersistenceGetHistoryTreeScope tracks GetHistoryTree calls made by service to persistence layer
	PersistenceGetHistoryTreeScope
	// PersistenceGetAllHistoryTreeBranchesScope tracks GetHistoryTree calls made by service to persistence layer
	PersistenceGetAllHistoryTreeBranchesScope

	// ClusterMetadataArchivalConfigScope tracks ArchivalConfig calls to ClusterMetadata
	ClusterMetadataArchivalConfigScope

	// ElasticsearchRecordWorkflowExecutionStartedScope tracks RecordWorkflowExecutionStarted calls made by service to persistence layer
	ElasticsearchRecordWorkflowExecutionStartedScope
	// ElasticsearchRecordWorkflowExecutionClosedScope tracks RecordWorkflowExecutionClosed calls made by service to persistence layer
	ElasticsearchRecordWorkflowExecutionClosedScope
	// ElasticsearchRecordWorkflowExecutionUninitializedScope tracks RecordWorkflowExecutionUninitialized calls made by service to persistence layer
	ElasticsearchRecordWorkflowExecutionUninitializedScope
	// ElasticsearchUpsertWorkflowExecutionScope tracks UpsertWorkflowExecution calls made by service to persistence layer
	ElasticsearchUpsertWorkflowExecutionScope
	// ElasticsearchListOpenWorkflowExecutionsScope tracks ListOpenWorkflowExecutions calls made by service to persistence layer
	ElasticsearchListOpenWorkflowExecutionsScope
	// ElasticsearchListClosedWorkflowExecutionsScope tracks ListClosedWorkflowExecutions calls made by service to persistence layer
	ElasticsearchListClosedWorkflowExecutionsScope
	// ElasticsearchListOpenWorkflowExecutionsByTypeScope tracks ListOpenWorkflowExecutionsByType calls made by service to persistence layer
	ElasticsearchListOpenWorkflowExecutionsByTypeScope
	// ElasticsearchListClosedWorkflowExecutionsByTypeScope tracks ListClosedWorkflowExecutionsByType calls made by service to persistence layer
	ElasticsearchListClosedWorkflowExecutionsByTypeScope
	// ElasticsearchListOpenWorkflowExecutionsByWorkflowIDScope tracks ListOpenWorkflowExecutionsByWorkflowID calls made by service to persistence layer
	ElasticsearchListOpenWorkflowExecutionsByWorkflowIDScope
	// ElasticsearchListClosedWorkflowExecutionsByWorkflowIDScope tracks ListClosedWorkflowExecutionsByWorkflowID calls made by service to persistence layer
	ElasticsearchListClosedWorkflowExecutionsByWorkflowIDScope
	// ElasticsearchListClosedWorkflowExecutionsByStatusScope tracks ListClosedWorkflowExecutionsByStatus calls made by service to persistence layer
	ElasticsearchListClosedWorkflowExecutionsByStatusScope
	// ElasticsearchGetClosedWorkflowExecutionScope tracks GetClosedWorkflowExecution calls made by service to persistence layer
	ElasticsearchGetClosedWorkflowExecutionScope
	// ElasticsearchListWorkflowExecutionsScope tracks ListWorkflowExecutions calls made by service to persistence layer
	ElasticsearchListWorkflowExecutionsScope
	// ElasticsearchScanWorkflowExecutionsScope tracks ScanWorkflowExecutions calls made by service to persistence layer
	ElasticsearchScanWorkflowExecutionsScope
	// ElasticsearchCountWorkflowExecutionsScope tracks CountWorkflowExecutions calls made by service to persistence layer
	ElasticsearchCountWorkflowExecutionsScope
	// ElasticsearchDeleteWorkflowExecutionsScope tracks DeleteWorkflowExecution calls made by service to persistence layer
	ElasticsearchDeleteWorkflowExecutionsScope
	// ElasticsearchDeleteUninitializedWorkflowExecutionsScope tracks DeleteUninitializedWorkflowExecution calls made by service to persistence layer
	ElasticsearchDeleteUninitializedWorkflowExecutionsScope

	// PinotRecordWorkflowExecutionStartedScope tracks RecordWorkflowExecutionStarted calls made by service to persistence layer
	PinotRecordWorkflowExecutionStartedScope
	// PinotRecordWorkflowExecutionClosedScope tracks RecordWorkflowExecutionClosed calls made by service to persistence layer
	PinotRecordWorkflowExecutionClosedScope
	// PinotRecordWorkflowExecutionUninitializedScope tracks RecordWorkflowExecutionUninitialized calls made by service to persistence layer
	PinotRecordWorkflowExecutionUninitializedScope
	// PinotUpsertWorkflowExecutionScope tracks UpsertWorkflowExecution calls made by service to persistence layer
	PinotUpsertWorkflowExecutionScope
	// PinotListOpenWorkflowExecutionsScope tracks ListOpenWorkflowExecutions calls made by service to persistence layer
	PinotListOpenWorkflowExecutionsScope
	// PinotListClosedWorkflowExecutionsScope tracks ListClosedWorkflowExecutions calls made by service to persistence layer
	PinotListClosedWorkflowExecutionsScope
	// PinotListOpenWorkflowExecutionsByTypeScope tracks ListOpenWorkflowExecutionsByType calls made by service to persistence layer
	PinotListOpenWorkflowExecutionsByTypeScope
	// PinotListClosedWorkflowExecutionsByTypeScope tracks ListClosedWorkflowExecutionsByType calls made by service to persistence layer
	PinotListClosedWorkflowExecutionsByTypeScope
	// PinotListOpenWorkflowExecutionsByWorkflowIDScope tracks ListOpenWorkflowExecutionsByWorkflowID calls made by service to persistence layer
	PinotListOpenWorkflowExecutionsByWorkflowIDScope
	// PinotListClosedWorkflowExecutionsByWorkflowIDScope tracks ListClosedWorkflowExecutionsByWorkflowID calls made by service to persistence layer
	PinotListClosedWorkflowExecutionsByWorkflowIDScope
	// PinotListClosedWorkflowExecutionsByStatusScope tracks ListClosedWorkflowExecutionsByStatus calls made by service to persistence layer
	PinotListClosedWorkflowExecutionsByStatusScope
	// PinotGetClosedWorkflowExecutionScope tracks GetClosedWorkflowExecution calls made by service to persistence layer
	PinotGetClosedWorkflowExecutionScope
	// PinotListWorkflowExecutionsScope tracks ListWorkflowExecutions calls made by service to persistence layer
	PinotListWorkflowExecutionsScope
	// PinotScanWorkflowExecutionsScope tracks ScanWorkflowExecutions calls made by service to persistence layer
	PinotScanWorkflowExecutionsScope
	// PinotCountWorkflowExecutionsScope tracks CountWorkflowExecutions calls made by service to persistence layer
	PinotCountWorkflowExecutionsScope
	// PinotDeleteWorkflowExecutionsScope tracks DeleteWorkflowExecution calls made by service to persistence layer
	PinotDeleteWorkflowExecutionsScope
	// PinotDeleteUninitializedWorkflowExecutionsScope tracks DeleteUninitializedWorkflowExecution calls made by service to persistence layer
	PinotDeleteUninitializedWorkflowExecutionsScope

	// SequentialTaskProcessingScope is used by sequential task processing logic
	SequentialTaskProcessingScope
	// ParallelTaskProcessingScope is used by parallel task processing logic
	ParallelTaskProcessingScope
	// TaskSchedulerScope is used by task scheduler logic
	TaskSchedulerScope

	// HistoryArchiverScope is used by history archivers
	HistoryArchiverScope
	// VisibilityArchiverScope is used by visibility archivers
	VisibilityArchiverScope

	// BlobstoreClientUploadScope tracks Upload calls to blobstore
	BlobstoreClientUploadScope
	// BlobstoreClientDownloadScope tracks Download calls to blobstore
	BlobstoreClientDownloadScope
	// BlobstoreClientGetMetadataScope tracks GetMetadata calls to blobstore
	BlobstoreClientGetMetadataScope
	// BlobstoreClientExistsScope tracks Exists calls to blobstore
	BlobstoreClientExistsScope
	// BlobstoreClientDeleteScope tracks Delete calls to blobstore
	BlobstoreClientDeleteScope
	// BlobstoreClientDirectoryExistsScope tracks DirectoryExists calls to blobstore
	BlobstoreClientDirectoryExistsScope

	// DomainFailoverScope is used in domain failover processor
	DomainFailoverScope
	// DomainReplicationQueueScope is used in domainreplication queue
	DomainReplicationQueueScope
	// ClusterMetadataScope is used for the cluster metadata
	ClusterMetadataScope
	// GetAvailableIsolationGroupsScope is the metric for the default partitioner's getIsolationGroups operation
	GetAvailableIsolationGroupsScope
	// TaskValidatorScope is the metric for the taskvalidator's workflow check operation.
	TaskValidatorScope

	// GlobalRatelimiter is the metrics scope for limiting-side common/quotas/global behavior
	GlobalRatelimiter
	// GlobalRatelimiterAggregator is the metrics scope for aggregator-side common/quotas/global behavior
	GlobalRatelimiterAggregator

	NumCommonScopes
)

Scopes enum

View Source
const (
	// AdminDescribeHistoryHostScope is the metric scope for admin.AdminDescribeHistoryHostScope
	AdminDescribeHistoryHostScope = iota + NumCommonScopes
	// AdminDescribeClusterScope is the metric scope for admin.AdminDescribeClusterScope
	AdminDescribeClusterScope
	// AdminAddSearchAttributeScope is the metric scope for admin.AdminAddSearchAttributeScope
	AdminAddSearchAttributeScope
	// AdminDescribeWorkflowExecutionScope is the metric scope for admin.AdminDescribeWorkflowExecutionScope
	AdminDescribeWorkflowExecutionScope
	// AdminGetWorkflowExecutionRawHistoryScope is the metric scope for admin.GetWorkflowExecutionRawHistoryScope
	AdminGetWorkflowExecutionRawHistoryScope
	// AdminGetWorkflowExecutionRawHistoryV2Scope is the metric scope for admin.GetWorkflowExecutionRawHistoryScope
	AdminGetWorkflowExecutionRawHistoryV2Scope
	// AdminGetReplicationMessagesScope is the metric scope for admin.GetReplicationMessages
	AdminGetReplicationMessagesScope
	// AdminGetDomainReplicationMessagesScope is the metric scope for admin.GetDomainReplicationMessages
	AdminGetDomainReplicationMessagesScope
	// AdminGetDLQReplicationMessagesScope is the metric scope for admin.GetDLQReplicationMessages
	AdminGetDLQReplicationMessagesScope
	// AdminReapplyEventsScope is the metric scope for admin.ReapplyEvents
	AdminReapplyEventsScope
	// AdminRefreshWorkflowTasksScope is the metric scope for admin.RefreshWorkflowTasks
	AdminRefreshWorkflowTasksScope
	// AdminResendReplicationTasksScope is the metric scope for admin.ResendReplicationTasks
	AdminResendReplicationTasksScope
	// AdminRemoveTaskScope is the metric scope for admin.AdminRemoveTaskScope
	AdminRemoveTaskScope
	// AdminCloseShardScope is the metric scope for admin.AdminCloseShardScope
	AdminCloseShardScope
	// AdminResetQueueScope is the metric scope for admin.AdminResetQueueScope
	AdminResetQueueScope
	// AdminDescribeQueueScope is the metrics scope for admin.AdminDescribeQueueScope
	AdminDescribeQueueScope
	// AdminCountDLQMessagesScope is the metric scope for admin.AdminCountDLQMessagesScope
	AdminCountDLQMessagesScope
	// AdminReadDLQMessagesScope is the metric scope for admin.AdminReadDLQMessagesScope
	AdminReadDLQMessagesScope
	// AdminPurgeDLQMessagesScope is the metric scope for admin.AdminPurgeDLQMessagesScope
	AdminPurgeDLQMessagesScope
	// AdminMergeDLQMessagesScope is the metric scope for admin.AdminMergeDLQMessagesScope
	AdminMergeDLQMessagesScope
	// AdminDescribeShardDistributionScope is the metric scope for admin.DescribeShardDistribution
	AdminDescribeShardDistributionScope
	// AdminGetCrossClusterTasksScope is the metric scope for admin.GetCrossClusterTasks
	AdminGetCrossClusterTasksScope
	// AdminRespondCrossClusterTasksCompletedScope is the metric scope for admin.AdminRespondCrossClusterTasksCompleted
	AdminRespondCrossClusterTasksCompletedScope
	// AdminGetDynamicConfigScope is the metric scope for admin.GetDynamicConfig
	AdminGetDynamicConfigScope
	// AdminUpdateDynamicConfigScope is the metric scope for admin.UpdateDynamicConfig
	AdminUpdateDynamicConfigScope
	// AdminRestoreDynamicConfigScope is the metric scope for admin.RestoreDynamicConfig
	AdminRestoreDynamicConfigScope
	// AdminListDynamicConfigScope is the metric scope for admin.ListDynamicConfig
	AdminListDynamicConfigScope
	// AdminDeleteWorkflowScope is the metric scope for admin.DeleteWorkflow
	AdminDeleteWorkflowScope
	// GetGlobalIsolationGroups is the scope for getting global isolation groups
	GetGlobalIsolationGroups
	// UpdateGlobalIsolationGroups is the scope for getting global isolation groups
	UpdateGlobalIsolationGroups
	// GetDomainIsolationGroups is the scope for getting domain isolation groups
	GetDomainIsolationGroups
	// UpdateDomainIsolationGroups is the scope for getting domain isolation groups
	UpdateDomainIsolationGroups
	// GetDomainAsyncWorkflowConfiguraton is the scope for getting domain async workflow configuration
	GetDomainAsyncWorkflowConfiguraton
	// UpdateDomainAsyncWorkflowConfiguraton is the scope for updating domain async workflow configuration
	UpdateDomainAsyncWorkflowConfiguraton

	NumAdminScopes
)

-- Operation scopes for Admin service --

View Source
const (
	// FrontendRestartWorkflowExecutionScope is the metric for frontend.RestartWorkflowExecution
	FrontendRestartWorkflowExecutionScope = iota + NumAdminScopes
	// FrontendStartWorkflowExecutionScope is the metric scope for frontend.StartWorkflowExecution
	FrontendStartWorkflowExecutionScope
	// FrontendStartWorkflowExecutionAsyncScope is the metric scope for frontend.StartWorkflowExecutionAsync
	FrontendStartWorkflowExecutionAsyncScope
	// PollForDecisionTaskScope is the metric scope for frontend.PollForDecisionTask
	FrontendPollForDecisionTaskScope
	// FrontendPollForActivityTaskScope is the metric scope for frontend.PollForActivityTask
	FrontendPollForActivityTaskScope
	// FrontendRecordActivityTaskHeartbeatScope is the metric scope for frontend.RecordActivityTaskHeartbeat
	FrontendRecordActivityTaskHeartbeatScope
	// FrontendRecordActivityTaskHeartbeatByIDScope is the metric scope for frontend.RespondDecisionTaskCompleted
	FrontendRecordActivityTaskHeartbeatByIDScope
	// FrontendRespondDecisionTaskCompletedScope is the metric scope for frontend.RespondDecisionTaskCompleted
	FrontendRespondDecisionTaskCompletedScope
	// FrontendRespondDecisionTaskFailedScope is the metric scope for frontend.RespondDecisionTaskFailed
	FrontendRespondDecisionTaskFailedScope
	// FrontendRespondQueryTaskCompletedScope is the metric scope for frontend.RespondQueryTaskCompleted
	FrontendRespondQueryTaskCompletedScope
	// FrontendRespondActivityTaskCompletedScope is the metric scope for frontend.RespondActivityTaskCompleted
	FrontendRespondActivityTaskCompletedScope
	// FrontendRespondActivityTaskFailedScope is the metric scope for frontend.RespondActivityTaskFailed
	FrontendRespondActivityTaskFailedScope
	// FrontendRespondActivityTaskCanceledScope is the metric scope for frontend.RespondActivityTaskCanceled
	FrontendRespondActivityTaskCanceledScope
	// FrontendRespondActivityTaskCompletedScope is the metric scope for frontend.RespondActivityTaskCompletedByID
	FrontendRespondActivityTaskCompletedByIDScope
	// FrontendRespondActivityTaskFailedScope is the metric scope for frontend.RespondActivityTaskFailedByID
	FrontendRespondActivityTaskFailedByIDScope
	// FrontendRespondActivityTaskCanceledScope is the metric scope for frontend.RespondActivityTaskCanceledByID
	FrontendRespondActivityTaskCanceledByIDScope
	// FrontendGetWorkflowExecutionHistoryScope is the metric scope for frontend.GetWorkflowExecutionHistory
	FrontendGetWorkflowExecutionHistoryScope
	// FrontendGetWorkflowExecutionRawHistoryScope is the metric scope for frontend.GetWorkflowExecutionRawHistory
	FrontendGetWorkflowExecutionRawHistoryScope
	// FrontendPollForWorklfowExecutionRawHistoryScope is the metric scope for frontend.GetWorkflowExecutionRawHistory
	FrontendPollForWorklfowExecutionRawHistoryScope
	// FrontendSignalWorkflowExecutionScope is the metric scope for frontend.SignalWorkflowExecution
	FrontendSignalWorkflowExecutionScope
	// FrontendSignalWithStartWorkflowExecutionScope is the metric scope for frontend.SignalWithStartWorkflowExecution
	FrontendSignalWithStartWorkflowExecutionScope
	// FrontendSignalWithStartWorkflowExecutionAsyncScope is the metric scope for frontend.SignalWithStartWorkflowExecutionAsync
	FrontendSignalWithStartWorkflowExecutionAsyncScope
	// FrontendTerminateWorkflowExecutionScope is the metric scope for frontend.TerminateWorkflowExecution
	FrontendTerminateWorkflowExecutionScope
	// FrontendRequestCancelWorkflowExecutionScope is the metric scope for frontend.RequestCancelWorkflowExecution
	FrontendRequestCancelWorkflowExecutionScope
	// FrontendListArchivedWorkflowExecutionsScope is the metric scope for frontend.ListArchivedWorkflowExecutions
	FrontendListArchivedWorkflowExecutionsScope
	// FrontendListOpenWorkflowExecutionsScope is the metric scope for frontend.ListOpenWorkflowExecutions
	FrontendListOpenWorkflowExecutionsScope
	// FrontendListClosedWorkflowExecutionsScope is the metric scope for frontend.ListClosedWorkflowExecutions
	FrontendListClosedWorkflowExecutionsScope
	// FrontendListWorkflowExecutionsScope is the metric scope for frontend.ListWorkflowExecutions
	FrontendListWorkflowExecutionsScope
	// FrontendScanWorkflowExecutionsScope is the metric scope for frontend.ListWorkflowExecutions
	FrontendScanWorkflowExecutionsScope
	// FrontendCountWorkflowExecutionsScope is the metric scope for frontend.CountWorkflowExecutions
	FrontendCountWorkflowExecutionsScope
	// FrontendRegisterDomainScope is the metric scope for frontend.RegisterDomain
	FrontendRegisterDomainScope
	// FrontendDescribeDomainScope is the metric scope for frontend.DescribeDomain
	FrontendDescribeDomainScope
	// FrontendUpdateDomainScope is the metric scope for frontend.DescribeDomain
	FrontendUpdateDomainScope
	// FrontendDeprecateDomainScope is the metric scope for frontend.DeprecateDomain
	FrontendDeprecateDomainScope
	// FrontendQueryWorkflowScope is the metric scope for frontend.QueryWorkflow
	FrontendQueryWorkflowScope
	// FrontendDescribeWorkflowExecutionScope is the metric scope for frontend.DescribeWorkflowExecution
	FrontendDescribeWorkflowExecutionScope
	// FrontendDescribeTaskListScope is the metric scope for frontend.DescribeTaskList
	FrontendDescribeTaskListScope
	// FrontendResetStickyTaskListScope is the metric scope for frontend.ResetStickyTaskList
	FrontendListTaskListPartitionsScope
	// FrontendGetTaskListsByDomainScope is the metric scope for frontend.ResetStickyTaskList
	FrontendGetTaskListsByDomainScope
	// FrontendRefreshWorkflowTasksScope is the metric scope for frontend.RefreshWorkflowTasks
	FrontendRefreshWorkflowTasksScope
	// FrontendResetStickyTaskListScope is the metric scope for frontend.ResetStickyTaskList
	FrontendResetStickyTaskListScope
	// FrontendListDomainsScope is the metric scope for frontend.ListDomain
	FrontendListDomainsScope
	// FrontendResetWorkflowExecutionScope is the metric scope for frontend.ResetWorkflowExecution
	FrontendResetWorkflowExecutionScope
	// FrontendGetSearchAttributesScope is the metric scope for frontend.GetSearchAttributes
	FrontendGetSearchAttributesScope
	// FrontendGetClusterInfoScope is the metric scope for frontend.GetClusterInfo
	FrontendGetClusterInfoScope

	NumFrontendScopes
)

-- Operation scopes for Frontend service --

View Source
const (
	// HistoryStartWorkflowExecutionScope tracks StartWorkflowExecution API calls received by service
	HistoryStartWorkflowExecutionScope = iota + NumCommonScopes
	// HistoryRecordActivityTaskHeartbeatScope tracks RecordActivityTaskHeartbeat API calls received by service
	HistoryRecordActivityTaskHeartbeatScope
	// HistoryRespondDecisionTaskCompletedScope tracks RespondDecisionTaskCompleted API calls received by service
	HistoryRespondDecisionTaskCompletedScope
	// HistoryRespondDecisionTaskFailedScope tracks RespondDecisionTaskFailed API calls received by service
	HistoryRespondDecisionTaskFailedScope
	// HistoryRespondActivityTaskCompletedScope tracks RespondActivityTaskCompleted API calls received by service
	HistoryRespondActivityTaskCompletedScope
	// HistoryRespondActivityTaskFailedScope tracks RespondActivityTaskFailed API calls received by service
	HistoryRespondActivityTaskFailedScope
	// HistoryRespondActivityTaskCanceledScope tracks RespondActivityTaskCanceled API calls received by service
	HistoryRespondActivityTaskCanceledScope
	// HistoryResetQueueScope tracks ResetQueue API calls received by service
	HistoryResetQueueScope
	// HistoryDescribeQueueScope tracks DescribeQueue API calls received by service
	HistoryDescribeQueueScope
	// HistoryDescribeMutabelStateScope tracks DescribeMutableState API calls received by service
	HistoryDescribeMutabelStateScope
	// HistoryGetMutableStateScope tracks GetMutableState API calls received by service
	HistoryGetMutableStateScope
	// HistoryPollMutableStateScope tracks PollMutableState API calls received by service
	HistoryPollMutableStateScope
	// HistoryResetStickyTaskListScope tracks ResetStickyTaskList API calls received by service
	HistoryResetStickyTaskListScope
	// HistoryDescribeWorkflowExecutionScope tracks DescribeWorkflowExecution API calls received by service
	HistoryDescribeWorkflowExecutionScope
	// HistoryRecordDecisionTaskStartedScope tracks RecordDecisionTaskStarted API calls received by service
	HistoryRecordDecisionTaskStartedScope
	// HistoryRecordActivityTaskStartedScope tracks RecordActivityTaskStarted API calls received by service
	HistoryRecordActivityTaskStartedScope
	// HistorySignalWorkflowExecutionScope tracks SignalWorkflowExecution API calls received by service
	HistorySignalWorkflowExecutionScope
	// HistorySignalWithStartWorkflowExecutionScope tracks SignalWithStartWorkflowExecution API calls received by service
	HistorySignalWithStartWorkflowExecutionScope
	// HistoryRemoveSignalMutableStateScope tracks RemoveSignalMutableState API calls received by service
	HistoryRemoveSignalMutableStateScope
	// HistoryTerminateWorkflowExecutionScope tracks TerminateWorkflowExecution API calls received by service
	HistoryTerminateWorkflowExecutionScope
	// HistoryScheduleDecisionTaskScope tracks ScheduleDecisionTask API calls received by service
	HistoryScheduleDecisionTaskScope
	// HistoryRecordChildExecutionCompletedScope tracks CompleteChildExecution API calls received by service
	HistoryRecordChildExecutionCompletedScope
	// HistoryRequestCancelWorkflowExecutionScope tracks RequestCancelWorkflowExecution API calls received by service
	HistoryRequestCancelWorkflowExecutionScope
	// HistoryReplicateEventsScope tracks ReplicateEvents API calls received by service
	HistoryReplicateEventsScope
	// HistoryReplicateRawEventsScope tracks ReplicateEvents API calls received by service
	HistoryReplicateRawEventsScope
	// HistoryReplicateEventsV2Scope tracks ReplicateEvents API calls received by service
	HistoryReplicateEventsV2Scope
	// HistorySyncShardStatusScope tracks HistorySyncShardStatus API calls received by service
	HistorySyncShardStatusScope
	// HistorySyncActivityScope tracks HistoryActivity API calls received by service
	HistorySyncActivityScope
	// HistoryDescribeMutableStateScope tracks HistoryActivity API calls received by service
	HistoryDescribeMutableStateScope
	// GetReplicationMessages tracks GetReplicationMessages API calls received by service
	HistoryGetReplicationMessagesScope
	// HistoryGetDLQReplicationMessagesScope tracks GetReplicationMessages API calls received by service
	HistoryGetDLQReplicationMessagesScope
	// HistoryCountDLQMessagesScope tracks CountDLQMessages API calls received by service
	HistoryCountDLQMessagesScope
	// HistoryReadDLQMessagesScope tracks ReadDLQMessages API calls received by service
	HistoryReadDLQMessagesScope
	// HistoryPurgeDLQMessagesScope tracks PurgeDLQMessages API calls received by service
	HistoryPurgeDLQMessagesScope
	// HistoryMergeDLQMessagesScope tracks MergeDLQMessages API calls received by service
	HistoryMergeDLQMessagesScope
	// HistoryShardControllerScope is the scope used by shard controller
	HistoryShardControllerScope
	// HistoryReapplyEventsScope tracks ReapplyEvents API calls received by service
	HistoryReapplyEventsScope
	// HistoryRefreshWorkflowTasksScope tracks RefreshWorkflowTasks API calls received by service
	HistoryRefreshWorkflowTasksScope
	// HistoryNotifyFailoverMarkersScope is the scope used by notify failover marker API
	HistoryNotifyFailoverMarkersScope
	// HistoryGetCrossClusterTasksScope tracks GetCrossClusterTasks API calls received by service
	HistoryGetCrossClusterTasksScope
	// HistoryRespondCrossClusterTasksCompletedScope tracks RespondCrossClusterTasksCompleted API calls received by service
	HistoryRespondCrossClusterTasksCompletedScope
	// HistoryGetFailoverInfoScope tracks HistoryGetFailoverInfo API calls received by service
	HistoryGetFailoverInfoScope
	// HistoryRatelimitUpdateScope tracks RatelimitUpdate API calls received by the history service
	HistoryRatelimitUpdateScope
	// TaskPriorityAssignerScope is the scope used by all metric emitted by task priority assigner
	TaskPriorityAssignerScope
	// TransferQueueProcessorScope is the scope used by all metric emitted by transfer queue processor
	TransferQueueProcessorScope
	// TransferActiveQueueProcessorScope is the scope used by all metric emitted by transfer queue processor
	TransferActiveQueueProcessorScope
	// TransferStandbyQueueProcessorScope is the scope used by all metric emitted by transfer queue processor
	TransferStandbyQueueProcessorScope
	// TransferActiveTaskActivityScope is the scope used for activity task processing by transfer queue processor
	TransferActiveTaskActivityScope
	// TransferActiveTaskDecisionScope is the scope used for decision task processing by transfer queue processor
	TransferActiveTaskDecisionScope
	// TransferActiveTaskCloseExecutionScope is the scope used for close execution task processing by transfer queue processor
	TransferActiveTaskCloseExecutionScope
	// TransferActiveTaskCancelExecutionScope is the scope used for cancel execution task processing by transfer queue processor
	TransferActiveTaskCancelExecutionScope
	// TransferActiveTaskSignalExecutionScope is the scope used for signal execution task processing by transfer queue processor
	TransferActiveTaskSignalExecutionScope
	// TransferActiveTaskStartChildExecutionScope is the scope used for start child execution task processing by transfer queue processor
	TransferActiveTaskStartChildExecutionScope
	// TransferActiveTaskRecordWorkflowStartedScope is the scope used for record workflow started task processing by transfer queue processor
	TransferActiveTaskRecordWorkflowStartedScope
	// TransferActiveTaskResetWorkflowScope is the scope used for record workflow started task processing by transfer queue processor
	TransferActiveTaskResetWorkflowScope
	// TransferActiveTaskUpsertWorkflowSearchAttributesScope is the scope used for upsert search attributes processing by transfer queue processor
	TransferActiveTaskUpsertWorkflowSearchAttributesScope
	// TransferActiveTaskRecordWorkflowClosedScope is the scope used for record workflow closed task processing by transfer queue processor
	TransferActiveTaskRecordWorkflowClosedScope
	// TransferActiveTaskRecordChildExecutionCompletedScope is the scope used for record child execution completed task processing by transfer queue processor
	TransferActiveTaskRecordChildExecutionCompletedScope
	// TransferActiveTaskApplyParentClosePolicyScope is the scope used for apply parent close policy task processing by transfer queue processor
	TransferActiveTaskApplyParentClosePolicyScope
	// TransferStandbyTaskResetWorkflowScope is the scope used for record workflow started task processing by transfer queue processor
	TransferStandbyTaskResetWorkflowScope
	// TransferStandbyTaskActivityScope is the scope used for activity task processing by transfer queue processor
	TransferStandbyTaskActivityScope
	// TransferStandbyTaskDecisionScope is the scope used for decision task processing by transfer queue processor
	TransferStandbyTaskDecisionScope
	// TransferStandbyTaskCloseExecutionScope is the scope used for close execution task processing by transfer queue processor
	TransferStandbyTaskCloseExecutionScope
	// TransferStandbyTaskCancelExecutionScope is the scope used for cancel execution task processing by transfer queue processor
	TransferStandbyTaskCancelExecutionScope
	// TransferStandbyTaskSignalExecutionScope is the scope used for signal execution task processing by transfer queue processor
	TransferStandbyTaskSignalExecutionScope
	// TransferStandbyTaskStartChildExecutionScope is the scope used for start child execution task processing by transfer queue processor
	TransferStandbyTaskStartChildExecutionScope
	// TransferStandbyTaskRecordWorkflowStartedScope is the scope used for record workflow started task processing by transfer queue processor
	TransferStandbyTaskRecordWorkflowStartedScope
	// TransferStandbyTaskUpsertWorkflowSearchAttributesScope is the scope used for upsert search attributes processing by transfer queue processor
	TransferStandbyTaskUpsertWorkflowSearchAttributesScope
	// TransferActiveTaskRecordWorkflowClosedScope is the scope used for record workflow closed task processing by transfer queue processor
	TransferStandbyTaskRecordWorkflowClosedScope
	// TransferActiveTaskRecordChildExecutionCompletedScope is the scope used for record child execution completed task processing by transfer queue processor
	TransferStandbyTaskRecordChildExecutionCompletedScope
	// TransferActiveTaskApplyParentClosePolicyScope is the scope used for apply parent close policy task processing by transfer queue processor
	TransferStandbyTaskApplyParentClosePolicyScope
	// TimerQueueProcessorScope is the scope used by all metric emitted by timer queue processor
	TimerQueueProcessorScope
	// TimerActiveQueueProcessorScope is the scope used by all metric emitted by timer queue processor
	TimerActiveQueueProcessorScope
	// TimerQueueProcessorScope is the scope used by all metric emitted by timer queue processor
	TimerStandbyQueueProcessorScope
	// TimerActiveTaskActivityTimeoutScope is the scope used by metric emitted by timer queue processor for processing activity timeouts
	TimerActiveTaskActivityTimeoutScope
	// TimerActiveTaskDecisionTimeoutScope is the scope used by metric emitted by timer queue processor for processing decision timeouts
	TimerActiveTaskDecisionTimeoutScope
	// TimerActiveTaskUserTimerScope is the scope used by metric emitted by timer queue processor for processing user timers
	TimerActiveTaskUserTimerScope
	// TimerActiveTaskWorkflowTimeoutScope is the scope used by metric emitted by timer queue processor for processing workflow timeouts.
	TimerActiveTaskWorkflowTimeoutScope
	// TimerActiveTaskActivityRetryTimerScope is the scope used by metric emitted by timer queue processor for processing retry task.
	TimerActiveTaskActivityRetryTimerScope
	// TimerActiveTaskWorkflowBackoffTimerScope is the scope used by metric emitted by timer queue processor for processing retry task.
	TimerActiveTaskWorkflowBackoffTimerScope
	// TimerActiveTaskDeleteHistoryEventScope is the scope used by metric emitted by timer queue processor for processing history event cleanup
	TimerActiveTaskDeleteHistoryEventScope
	// TimerStandbyTaskActivityTimeoutScope is the scope used by metric emitted by timer queue processor for processing activity timeouts
	TimerStandbyTaskActivityTimeoutScope
	// TimerStandbyTaskDecisionTimeoutScope is the scope used by metric emitted by timer queue processor for processing decision timeouts
	TimerStandbyTaskDecisionTimeoutScope
	// TimerStandbyTaskUserTimerScope is the scope used by metric emitted by timer queue processor for processing user timers
	TimerStandbyTaskUserTimerScope
	// TimerStandbyTaskWorkflowTimeoutScope is the scope used by metric emitted by timer queue processor for processing workflow timeouts.
	TimerStandbyTaskWorkflowTimeoutScope
	// TimerStandbyTaskActivityRetryTimerScope is the scope used by metric emitted by timer queue processor for processing retry task.
	TimerStandbyTaskActivityRetryTimerScope
	// TimerStandbyTaskDeleteHistoryEventScope is the scope used by metric emitted by timer queue processor for processing history event cleanup
	TimerStandbyTaskDeleteHistoryEventScope
	// TimerStandbyTaskWorkflowBackoffTimerScope is the scope used by metric emitted by timer queue processor for processing retry task.
	TimerStandbyTaskWorkflowBackoffTimerScope
	// CrossClusterQueueProcessorScope is the scope used by all metric emitted by cross cluster queue processor in the source cluster
	CrossClusterQueueProcessorScope
	// CrossClusterTaskProcessorScope is the scope used by all metric emitted by cross cluster task processor in the target cluster
	CrossClusterTaskProcessorScope
	// CrossClusterTaskFetcherScope is the scope used by all metrics emitted by cross cluster task fetcher in the target cluster
	CrossClusterTaskFetcherScope
	// CrossClusterSourceTaskStartChildExecutionScope is the scope used by metric emitted by cross cluster queue processor for processing start child workflow task.
	CrossClusterSourceTaskStartChildExecutionScope
	// CrossClusterSourceTaskCancelExecutionScope is the scope used by metric emitted by cross cluster queue processor for processing cancel workflow task.
	CrossClusterSourceTaskCancelExecutionScope
	// CrossClusterSourceTaskSignalExecutionScope is the scope used by metric emitted by cross cluster queue processor for processing signal workflow task.
	CrossClusterSourceTaskSignalExecutionScope
	// CrossClusterSourceTaskRecordChildWorkflowExecutionCompleteScope is the scope used by metric emitted by cross cluster queue processor for recording child workflow completion task.
	CrossClusterSourceTaskRecordChildWorkflowExecutionCompleteScope
	// CrossClusterSourceTaskApplyParentClosePolicyScope is the scope used by metric emitted by cross cluster queue processor for processing applying parent close policy
	CrossClusterSourceTaskApplyParentClosePolicyScope
	// CrossClusterTargetTaskStartChildExecutionScope is the scope used by metric emitted by cross cluster queue processor for processing start child workflow task.
	CrossClusterTargetTaskStartChildExecutionScope
	// CrossClusterTargetTaskCancelExecutionScope is the scope used by metric emitted by cross cluster queue processor for processing cancel workflow task.
	CrossClusterTargetTaskCancelExecutionScope
	// CrossClusterTargetTaskSignalExecutionScope is the scope used by metric emitted by cross cluster queue processor for processing signal workflow task.
	CrossClusterTargetTaskSignalExecutionScope
	// CrossClusterTargetTaskRecordChildWorkflowExecutionCompleteScope is the scope used by metric emitted by cross cluster queue processor for recording child workflow completion task.
	CrossClusterTargetTaskRecordChildWorkflowExecutionCompleteScope
	// CrossClusterTargetTaskApplyParentClosePolicyScope is the scope used by metric emitted by cross cluster queue processor for processing applying parent close policy
	CrossClusterTargetTaskApplyParentClosePolicyScope
	// HistoryEventNotificationScope is the scope used by shard history event notification
	HistoryEventNotificationScope
	// ReplicatorQueueProcessorScope is the scope used by all metric emitted by replicator queue processor
	ReplicatorQueueProcessorScope
	// ReplicatorCacheManagerScope is the scope used by all metric emitted by replicator cache manager
	ReplicatorCacheManagerScope
	// ReplicatorTaskHistoryScope is the scope used for history task processing by replicator queue processor
	ReplicatorTaskHistoryScope
	// ReplicatorTaskSyncActivityScope is the scope used for sync activity by replicator queue processor
	ReplicatorTaskSyncActivityScope
	// ReplicateHistoryEventsScope is the scope used by historyReplicator API for applying events
	ReplicateHistoryEventsScope
	// ReplicationMetricEmitterScope is the scope used by all metrics emitted by replication metric emitter
	ReplicationMetricEmitterScope
	// ShardInfoScope is the scope used when updating shard info
	ShardInfoScope
	// WorkflowContextScope is the scope used by WorkflowContext component
	WorkflowContextScope
	// HistoryCacheGetAndCreateScope is the scope used by history cache
	HistoryCacheGetAndCreateScope
	// HistoryCacheGetOrCreateScope is the scope used by history cache
	HistoryCacheGetOrCreateScope
	// HistoryCacheGetOrCreateCurrentScope is the scope used by history cache
	HistoryCacheGetOrCreateCurrentScope
	// HistoryCacheGetCurrentExecutionScope is the scope used by history cache for getting current execution
	HistoryCacheGetCurrentExecutionScope
	// EventsCacheGetEventScope is the scope used by events cache
	EventsCacheGetEventScope
	// EventsCachePutEventScope is the scope used by events cache
	EventsCachePutEventScope
	// EventsCacheGetFromStoreScope is the scope used by events cache
	EventsCacheGetFromStoreScope
	// ExecutionSizeStatsScope is the scope used for emiting workflow execution size related stats
	ExecutionSizeStatsScope
	// ExecutionCountStatsScope is the scope used for emiting workflow execution count related stats
	ExecutionCountStatsScope
	// SessionSizeStatsScope is the scope used for emiting session update size related stats
	SessionSizeStatsScope
	// SessionCountStatsScope is the scope used for emiting session update count related stats
	SessionCountStatsScope
	// HistoryResetWorkflowExecutionScope tracks ResetWorkflowExecution API calls received by service
	HistoryResetWorkflowExecutionScope
	// HistoryQueryWorkflowScope tracks QueryWorkflow API calls received by service
	HistoryQueryWorkflowScope
	// HistoryProcessDeleteHistoryEventScope tracks ProcessDeleteHistoryEvent processing calls
	HistoryProcessDeleteHistoryEventScope
	// WorkflowCompletionStatsScope tracks workflow completion updates
	WorkflowCompletionStatsScope
	// ArchiverClientScope is scope used by all metrics emitted by archiver.Client
	ArchiverClientScope
	// ReplicationTaskFetcherScope is scope used by all metrics emitted by ReplicationTaskFetcher
	ReplicationTaskFetcherScope
	// ReplicationTaskCleanupScope is scope used by all metrics emitted by ReplicationTaskProcessor cleanup
	ReplicationTaskCleanupScope
	// ReplicationDLQStatsScope is scope used by all metrics emitted related to replication DLQ
	ReplicationDLQStatsScope
	// FailoverMarkerScope is scope used by all metrics emitted related to failover marker
	FailoverMarkerScope
	// HistoryReplicationV2TaskScope is the scope used by history task replication processing
	HistoryReplicationV2TaskScope
	// SyncActivityTaskScope is the scope used by sync activity information processing
	SyncActivityTaskScope
	// LargeExecutionSizeShardScope is the scope to track large history size for hotshard detection
	LargeExecutionSizeShardScope
	// LargeExecutionCountShardScope is the scope to track large history count for hotshard detection
	LargeExecutionCountShardScope
	// LargeExecutionBlobShardScope is the scope to track large blobs for hotshard detection
	LargeExecutionBlobShardScope

	NumHistoryScopes
)

-- Operation scopes for History service --

View Source
const (
	// PollForDecisionTaskScope tracks PollForDecisionTask API calls received by service
	MatchingPollForDecisionTaskScope = iota + NumCommonScopes
	// PollForActivityTaskScope tracks PollForActivityTask API calls received by service
	MatchingPollForActivityTaskScope
	// MatchingAddActivityTaskScope tracks AddActivityTask API calls received by service
	MatchingAddActivityTaskScope
	// MatchingAddDecisionTaskScope tracks AddDecisionTask API calls received by service
	MatchingAddDecisionTaskScope
	// MatchingAddTaskScope tracks both AddActivityTask and AddDevisionTask API calls received by service
	MatchingAddTaskScope
	// MatchingTaskListMgrScope is the metrics scope for matching.TaskListManager component
	MatchingTaskListMgrScope
	// MatchingQueryWorkflowScope tracks AddDecisionTask API calls received by service
	MatchingQueryWorkflowScope
	// MatchingRespondQueryTaskCompletedScope tracks AddDecisionTask API calls received by service
	MatchingRespondQueryTaskCompletedScope
	// MatchingCancelOutstandingPollScope tracks CancelOutstandingPoll API calls received by service
	MatchingCancelOutstandingPollScope
	// MatchingDescribeTaskListScope tracks DescribeTaskList API calls received by service
	MatchingDescribeTaskListScope
	// MatchingListTaskListPartitionsScope tracks ListTaskListPartitions API calls received by service
	MatchingListTaskListPartitionsScope
	// MatchingGetTaskListsByDomainScope tracks GetTaskListsByDomain API calls received by service
	MatchingGetTaskListsByDomainScope

	NumMatchingScopes
)

-- Operation scopes for Matching service --

View Source
const (
	// ReplicationScope is the scope used by all metric emitted by replicator
	ReplicatorScope = iota + NumCommonScopes
	// DomainReplicationTaskScope is the scope used by domain task replication processing
	DomainReplicationTaskScope
	// ESProcessorScope is scope used by all metric emitted by esProcessor
	ESProcessorScope
	// IndexProcessorScope is scope used by all metric emitted by index processor
	IndexProcessorScope
	// ArchiverDeleteHistoryActivityScope is scope used by all metrics emitted by archiver.DeleteHistoryActivity
	ArchiverDeleteHistoryActivityScope
	// ArchiverUploadHistoryActivityScope is scope used by all metrics emitted by archiver.UploadHistoryActivity
	ArchiverUploadHistoryActivityScope
	// ArchiverArchiveVisibilityActivityScope is scope used by all metrics emitted by archiver.ArchiveVisibilityActivity
	ArchiverArchiveVisibilityActivityScope
	// ArchiverScope is scope used by all metrics emitted by archiver.Archiver
	ArchiverScope
	// ArchiverPumpScope is scope used by all metrics emitted by archiver.Pump
	ArchiverPumpScope
	// ArchiverArchivalWorkflowScope is scope used by all metrics emitted by archiver.ArchivalWorkflow
	ArchiverArchivalWorkflowScope
	// TaskListScavengerScope is scope used by all metrics emitted by worker.tasklist.Scavenger module
	TaskListScavengerScope
	// ExecutionsScannerScope is scope used by all metrics emitted by worker.executions.Scanner module
	ExecutionsScannerScope
	// ExecutionsFixerScope is the scope used by all metrics emitted by worker.executions.Fixer module
	ExecutionsFixerScope
	// BatcherScope is scope used by all metrics emitted by worker.Batcher module
	BatcherScope
	// HistoryScavengerScope is scope used by all metrics emitted by worker.history.Scavenger module
	HistoryScavengerScope
	// ParentClosePolicyProcessorScope is scope used by all metrics emitted by worker.ParentClosePolicyProcessor
	ParentClosePolicyProcessorScope
	// ShardScannerScope is scope used by all metrics emitted by worker.shardscanner module
	ShardScannerScope
	// CheckDataCorruptionWorkflowScope is scope used by the data corruption workflow
	CheckDataCorruptionWorkflowScope
	// ESAnalyzerScope is scope used by ElasticSearch Analyzer (esanalyzer) workflow
	ESAnalyzerScope
	// AsyncWorkflowConsumerScope is scope used by async workflow consumer
	AsyncWorkflowConsumerScope

	NumWorkerScopes
)

-- Operation scopes for Worker service --

View Source
const (
	CadenceRequests = iota
	CadenceFailures
	CadenceLatency
	CadenceErrBadRequestCounter
	CadenceErrDomainNotActiveCounter
	CadenceErrServiceBusyCounter
	CadenceErrEntityNotExistsCounter
	CadenceErrWorkflowExecutionAlreadyCompletedCounter
	CadenceErrExecutionAlreadyStartedCounter
	CadenceErrDomainAlreadyExistsCounter
	CadenceErrCancellationAlreadyRequestedCounter
	CadenceErrQueryFailedCounter
	CadenceErrLimitExceededCounter
	CadenceErrContextTimeoutCounter
	CadenceErrRetryTaskCounter
	CadenceErrBadBinaryCounter
	CadenceErrClientVersionNotSupportedCounter
	CadenceErrIncompleteHistoryCounter
	CadenceErrNonDeterministicCounter
	CadenceErrUnauthorizedCounter
	CadenceErrAuthorizeFailedCounter
	CadenceErrRemoteSyncMatchFailedCounter
	CadenceErrDomainNameExceededWarnLimit
	CadenceErrIdentityExceededWarnLimit
	CadenceErrWorkflowIDExceededWarnLimit
	CadenceErrSignalNameExceededWarnLimit
	CadenceErrWorkflowTypeExceededWarnLimit
	CadenceErrRequestIDExceededWarnLimit
	CadenceErrTaskListNameExceededWarnLimit
	CadenceErrActivityIDExceededWarnLimit
	CadenceErrActivityTypeExceededWarnLimit
	CadenceErrMarkerNameExceededWarnLimit
	CadenceErrTimerIDExceededWarnLimit
	PersistenceRequests
	PersistenceFailures
	PersistenceLatency
	PersistenceLatencyHistogram
	PersistenceErrShardExistsCounter
	PersistenceErrShardOwnershipLostCounter
	PersistenceErrConditionFailedCounter
	PersistenceErrCurrentWorkflowConditionFailedCounter
	PersistenceErrTimeoutCounter
	PersistenceErrBusyCounter
	PersistenceErrEntityNotExistsCounter
	PersistenceErrExecutionAlreadyStartedCounter
	PersistenceErrDomainAlreadyExistsCounter
	PersistenceErrBadRequestCounter
	PersistenceErrDuplicateRequestCounter
	PersistenceErrDBUnavailableCounter
	PersistenceSampledCounter
	PersistenceEmptyResponseCounter

	PersistenceRequestsPerDomain
	PersistenceRequestsPerShard
	PersistenceFailuresPerDomain
	PersistenceLatencyPerDomain
	PersistenceLatencyPerShard
	PersistenceErrShardExistsCounterPerDomain
	PersistenceErrShardOwnershipLostCounterPerDomain
	PersistenceErrConditionFailedCounterPerDomain
	PersistenceErrCurrentWorkflowConditionFailedCounterPerDomain
	PersistenceErrTimeoutCounterPerDomain
	PersistenceErrBusyCounterPerDomain
	PersistenceErrEntityNotExistsCounterPerDomain
	PersistenceErrExecutionAlreadyStartedCounterPerDomain
	PersistenceErrDomainAlreadyExistsCounterPerDomain
	PersistenceErrBadRequestCounterPerDomain
	PersistenceErrDuplicateRequestCounterPerDomain
	PersistenceErrDBUnavailableCounterPerDomain
	PersistenceSampledCounterPerDomain
	PersistenceEmptyResponseCounterPerDomain

	CadenceClientRequests
	CadenceClientFailures
	CadenceClientLatency

	CadenceTasklistRequests

	CadenceDcRedirectionClientRequests
	CadenceDcRedirectionClientFailures
	CadenceDcRedirectionClientLatency

	CadenceAuthorizationLatency

	DomainCachePrepareCallbacksLatency
	DomainCacheCallbacksLatency
	DomainCacheCallbacksCount

	HistorySize
	HistoryCount
	EventBlobSize

	DecisionResultCount

	ArchivalConfigFailures
	ActiveClusterGauge

	ElasticsearchRequests
	ElasticsearchFailures
	ElasticsearchLatency
	ElasticsearchErrBadRequestCounter
	ElasticsearchErrBusyCounter
	ElasticsearchRequestsPerDomain
	ElasticsearchFailuresPerDomain
	ElasticsearchLatencyPerDomain
	ElasticsearchErrBadRequestCounterPerDomain
	ElasticsearchErrBusyCounterPerDomain

	PinotRequests
	PinotFailures
	PinotLatency
	PinotErrBadRequestCounter
	PinotErrBusyCounter
	PinotRequestsPerDomain
	PinotFailuresPerDomain
	PinotLatencyPerDomain
	PinotErrBadRequestCounterPerDomain
	PinotErrBusyCounterPerDomain

	SequentialTaskSubmitRequest
	SequentialTaskSubmitRequestTaskQueueExist
	SequentialTaskSubmitRequestTaskQueueMissing
	SequentialTaskSubmitLatency
	SequentialTaskQueueSize
	SequentialTaskQueueProcessingLatency
	SequentialTaskTaskProcessingLatency

	ParallelTaskSubmitRequest
	ParallelTaskSubmitLatency
	ParallelTaskTaskProcessingLatency

	PriorityTaskSubmitRequest
	PriorityTaskSubmitLatency

	KafkaConsumerMessageIn
	KafkaConsumerMessageAck
	KafkaConsumerMessageNack
	KafkaConsumerMessageNackDlqErr
	KafkaConsumerSessionStart

	GracefulFailoverLatency
	GracefulFailoverFailure

	HistoryArchiverArchiveNonRetryableErrorCount
	HistoryArchiverArchiveTransientErrorCount
	HistoryArchiverArchiveSuccessCount
	HistoryArchiverHistoryMutatedCount
	HistoryArchiverTotalUploadSize
	HistoryArchiverHistorySize
	HistoryArchiverDuplicateArchivalsCount

	// The following metrics are only used by internal history archiver implemention.
	// TODO: move them to internal repo once cadence plugin model is in place.
	HistoryArchiverBlobExistsCount
	HistoryArchiverBlobSize
	HistoryArchiverRunningDeterministicConstructionCheckCount
	HistoryArchiverDeterministicConstructionCheckFailedCount
	HistoryArchiverRunningBlobIntegrityCheckCount
	HistoryArchiverBlobIntegrityCheckFailedCount

	VisibilityArchiverArchiveNonRetryableErrorCount
	VisibilityArchiverArchiveTransientErrorCount
	VisibilityArchiveSuccessCount

	MatchingClientForwardedCounter
	MatchingClientInvalidTaskListName

	// common metrics that are emitted per task list
	CadenceRequestsPerTaskList
	CadenceFailuresPerTaskList
	CadenceLatencyPerTaskList
	CadenceErrBadRequestPerTaskListCounter
	CadenceErrDomainNotActivePerTaskListCounter
	CadenceErrServiceBusyPerTaskListCounter
	CadenceErrEntityNotExistsPerTaskListCounter
	CadenceErrExecutionAlreadyStartedPerTaskListCounter
	CadenceErrDomainAlreadyExistsPerTaskListCounter
	CadenceErrCancellationAlreadyRequestedPerTaskListCounter
	CadenceErrQueryFailedPerTaskListCounter
	CadenceErrLimitExceededPerTaskListCounter
	CadenceErrContextTimeoutPerTaskListCounter
	CadenceErrRetryTaskPerTaskListCounter
	CadenceErrBadBinaryPerTaskListCounter
	CadenceErrClientVersionNotSupportedPerTaskListCounter
	CadenceErrIncompleteHistoryPerTaskListCounter
	CadenceErrNonDeterministicPerTaskListCounter
	CadenceErrUnauthorizedPerTaskListCounter
	CadenceErrAuthorizeFailedPerTaskListCounter
	CadenceErrRemoteSyncMatchFailedPerTaskListCounter
	CadenceErrStickyWorkerUnavailablePerTaskListCounter

	CadenceShardSuccessGauge
	CadenceShardFailureGauge

	DomainReplicationQueueSizeGauge
	DomainReplicationQueueSizeErrorCount

	ParentClosePolicyProcessorSuccess
	ParentClosePolicyProcessorFailures

	IsolationGroupStatePollerUnavailable
	IsolationGroupStateDrained
	IsolationGroupStateHealthy
	ValidatedWorkflowCount

	HashringViewIdentifier

	AsyncRequestPayloadSize

	// limiter-side metrics
	GlobalRatelimiterStartupUsageHistogram
	GlobalRatelimiterFailingUsageHistogram
	GlobalRatelimiterGlobalUsageHistogram
	GlobalRatelimiterUpdateLatency         // time spent performing all Update requests, per batch attempt. ideally well below update interval.
	GlobalRatelimiterAllowedRequestsCount  // per key/type usage
	GlobalRatelimiterRejectedRequestsCount // per key/type usage
	GlobalRatelimiterQuota                 // per-global-key quota information, emitted when a key is in us

	// aggregator-side metrics
	GlobalRatelimiterInitialized
	GlobalRatelimiterReinitialized
	GlobalRatelimiterUpdated
	GlobalRatelimiterDecayed
	GlobalRatelimiterLimitsQueried
	GlobalRatelimiterHostLimitsQueried
	GlobalRatelimiterRemovedLimits
	GlobalRatelimiterRemovedHostLimits

	NumCommonMetrics // Needs to be last on this list for iota numbering
)

Common Metrics enum

View Source
const (
	TaskRequests = iota + NumCommonMetrics
	TaskLatency
	TaskFailures
	TaskDiscarded
	TaskAttemptTimer
	TaskStandbyRetryCounter
	TaskNotActiveCounter
	TaskLimitExceededCounter
	TaskBatchCompleteCounter
	TaskBatchCompleteFailure
	TaskProcessingLatency
	TaskQueueLatency
	ScheduleToStartHistoryQueueLatencyPerTaskList

	TaskRequestsPerDomain
	TaskLatencyPerDomain
	TaskFailuresPerDomain
	TaskWorkflowBusyPerDomain
	TaskDiscardedPerDomain
	TaskUnsupportedPerDomain
	TaskAttemptTimerPerDomain
	TaskStandbyRetryCounterPerDomain
	TaskPendingActiveCounterPerDomain
	TaskNotActiveCounterPerDomain
	TaskTargetNotActiveCounterPerDomain
	TaskLimitExceededCounterPerDomain
	TaskProcessingLatencyPerDomain
	TaskQueueLatencyPerDomain
	TransferTaskMissingEventCounterPerDomain
	ReplicationTasksAppliedPerDomain
	WorkflowTerminateCounterPerDomain

	TaskRedispatchQueuePendingTasksTimer

	TransferTaskThrottledCounter
	TimerTaskThrottledCounter
	CrossClusterTaskThrottledCounter

	TransferTaskMissingEventCounter

	ProcessingQueueNumTimer
	ProcessingQueueMaxLevelTimer
	ProcessingQueuePendingTaskSplitCounter
	ProcessingQueueStuckTaskSplitCounter
	ProcessingQueueSelectedDomainSplitCounter
	ProcessingQueueRandomSplitCounter
	ProcessingQueueThrottledCounter

	QueueValidatorLostTaskCounter
	QueueValidatorDropTaskCounter
	QueueValidatorInvalidLoadCounter
	QueueValidatorValidationCounter
	QueueValidatorValidationFailure

	CrossClusterFetchLatency
	CrossClusterFetchRequests
	CrossClusterFetchFailures
	CrossClusterFetchServiceBusyFailures
	CrossClusterTaskRespondLatency
	CrossClusterTaskRespondRequests
	CrossClusterTaskRespondFailures
	CrossClusterTaskFetchedTimer
	CrossClusterTaskPendingTimer

	ClusterMetadataFailureToResolveCounter
	ClusterMetadataGettingMinFailoverVersionCounter
	ClusterMetadataGettingFailoverVersionCounter
	ClusterMetadataResolvingFailoverVersionCounter
	ClusterMetadataResolvingMinFailoverVersionCounter

	ActivityE2ELatency
	ActivityLostCounter
	AckLevelUpdateCounter
	AckLevelUpdateFailedCounter
	DecisionTypeScheduleActivityCounter
	DecisionTypeScheduleActivityDispatchSucceedCounter
	DecisionTypeScheduleActivityDispatchCounter
	DecisionTypeCompleteWorkflowCounter
	DecisionTypeFailWorkflowCounter
	DecisionTypeCancelWorkflowCounter
	DecisionTypeStartTimerCounter
	DecisionTypeCancelActivityCounter
	DecisionTypeCancelTimerCounter
	DecisionTypeRecordMarkerCounter
	DecisionTypeCancelExternalWorkflowCounter
	DecisionTypeChildWorkflowCounter
	DecisionTypeContinueAsNewCounter
	DecisionTypeSignalExternalWorkflowCounter
	DecisionTypeUpsertWorkflowSearchAttributesCounter
	EmptyCompletionDecisionsCounter
	MultipleCompletionDecisionsCounter
	FailedDecisionsCounter
	DecisionAttemptTimer
	DecisionRetriesExceededCounter
	StaleMutableStateCounter
	DataInconsistentCounter
	TimerResurrectionCounter
	ActivityResurrectionCounter
	AutoResetPointsLimitExceededCounter
	AutoResetPointCorruptionCounter
	ConcurrencyUpdateFailureCounter
	CadenceErrEventAlreadyStartedCounter
	CadenceErrShardOwnershipLostCounter
	HeartbeatTimeoutCounter
	ScheduleToStartTimeoutCounter
	StartToCloseTimeoutCounter
	ScheduleToCloseTimeoutCounter
	NewTimerCounter
	NewTimerNotifyCounter
	AcquireShardsCounter
	AcquireShardsLatency
	ShardClosedCounter
	ShardItemCreatedCounter
	ShardItemRemovedCounter
	ShardItemAcquisitionLatency
	ShardInfoReplicationPendingTasksTimer
	ShardInfoTransferActivePendingTasksTimer
	ShardInfoTransferStandbyPendingTasksTimer
	ShardInfoTimerActivePendingTasksTimer
	ShardInfoTimerStandbyPendingTasksTimer
	ShardInfoCrossClusterPendingTasksTimer
	ShardInfoReplicationLagTimer
	ShardInfoTransferLagTimer
	ShardInfoTimerLagTimer
	ShardInfoCrossClusterLagTimer
	ShardInfoTransferDiffTimer
	ShardInfoTimerDiffTimer
	ShardInfoTransferFailoverInProgressTimer
	ShardInfoTimerFailoverInProgressTimer
	ShardInfoTransferFailoverLatencyTimer
	ShardInfoTimerFailoverLatencyTimer
	SyncShardFromRemoteCounter
	SyncShardFromRemoteFailure
	MembershipChangedCounter
	NumShardsGauge
	GetEngineForShardErrorCounter
	GetEngineForShardLatency
	RemoveEngineForShardLatency
	CompleteDecisionWithStickyEnabledCounter
	CompleteDecisionWithStickyDisabledCounter
	DecisionHeartbeatTimeoutCounter
	HistoryEventNotificationQueueingLatency
	HistoryEventNotificationFanoutLatency
	HistoryEventNotificationInFlightMessageGauge
	HistoryEventNotificationFailDeliveryCount
	EmptyReplicationEventsCounter
	DuplicateReplicationEventsCounter
	StaleReplicationEventsCounter
	ReplicationEventsSizeTimer
	BufferReplicationTaskTimer
	UnbufferReplicationTaskTimer
	HistoryConflictsCounter
	CompleteTaskFailedCounter
	CacheSize
	CacheRequests
	CacheFailures
	CacheLatency
	CacheHitCounter
	CacheMissCounter
	CacheFullCounter
	AcquireLockFailedCounter
	WorkflowContextCleared
	MutableStateSize
	ExecutionInfoSize
	ActivityInfoSize
	TimerInfoSize
	ChildInfoSize
	SignalInfoSize
	BufferedEventsSize
	ActivityInfoCount
	TimerInfoCount
	ChildInfoCount
	SignalInfoCount
	RequestCancelInfoCount
	BufferedEventsCount
	TransferTasksCount
	TimerTasksCount
	CrossClusterTasksCount
	ReplicationTasksCount
	DeleteActivityInfoCount
	DeleteTimerInfoCount
	DeleteChildInfoCount
	DeleteSignalInfoCount
	DeleteRequestCancelInfoCount
	WorkflowRetryBackoffTimerCount
	WorkflowCronBackoffTimerCount
	WorkflowCleanupDeleteCount
	WorkflowCleanupArchiveCount
	WorkflowCleanupNopCount
	WorkflowCleanupDeleteHistoryInlineCount
	WorkflowSuccessCount
	WorkflowCancelCount
	WorkflowFailedCount
	WorkflowTimeoutCount
	WorkflowTerminateCount
	WorkflowContinuedAsNew
	WorkflowCompletedUnknownType
	ArchiverClientSendSignalCount
	ArchiverClientSendSignalFailureCount
	ArchiverClientHistoryRequestCount
	ArchiverClientHistoryInlineArchiveAttemptCount
	ArchiverClientHistoryInlineArchiveFailureCount
	ArchiverClientHistoryInlineArchiveThrottledCount
	ArchiverClientVisibilityRequestCount
	ArchiverClientVisibilityInlineArchiveAttemptCount
	ArchiverClientVisibilityInlineArchiveFailureCount
	ArchiverClientVisibilityInlineArchiveThrottledCount
	ArchiverClientSendSignalCountPerDomain
	ArchiverClientSendSignalFailureCountPerDomain
	ArchiverClientHistoryRequestCountPerDomain
	ArchiverClientHistoryInlineArchiveAttemptCountPerDomain
	ArchiverClientHistoryInlineArchiveFailureCountPerDomain
	ArchiverClientHistoryInlineArchiveThrottledCountPerDomain
	ArchiverClientVisibilityRequestCountPerDomain
	ArchiverClientVisibilityInlineArchiveAttemptCountPerDomain
	ArchiverClientVisibilityInlineArchiveFailureCountPerDomain
	ArchiverClientVisibilityInlineArchiveThrottledCountPerDomain
	LastRetrievedMessageID
	LastProcessedMessageID
	ReplicationLatency
	ReplicationTasksApplied
	ReplicationTasksFailed
	ReplicationTasksLag
	ReplicationTasksFetched
	ReplicationTasksReturned
	ReplicationTasksReturnedDiff
	ReplicationTasksAppliedLatency
	ReplicationDLQFailed
	ReplicationDLQMaxLevelGauge
	ReplicationDLQAckLevelGauge
	ReplicationDLQProbeFailed
	ReplicationDLQSize
	ReplicationDLQValidationFailed
	GetReplicationMessagesForShardLatency
	GetDLQReplicationMessagesLatency
	EventReapplySkippedCount
	DirectQueryDispatchLatency
	DirectQueryDispatchStickyLatency
	DirectQueryDispatchNonStickyLatency
	DirectQueryDispatchStickySuccessCount
	DirectQueryDispatchNonStickySuccessCount
	DirectQueryDispatchClearStickinessLatency
	DirectQueryDispatchClearStickinessSuccessCount
	DirectQueryDispatchTimeoutBeforeNonStickyCount
	DecisionTaskQueryLatency
	ConsistentQueryPerShard
	ConsistentQueryTimeoutCount
	QueryBeforeFirstDecisionCount
	QueryBufferExceededCount
	QueryRegistryInvalidStateCount
	WorkerNotSupportsConsistentQueryCount
	DecisionStartToCloseTimeoutOverrideCount
	ReplicationTaskCleanupCount
	ReplicationTaskCleanupFailure
	ReplicationTaskLatency
	MutableStateChecksumMismatch
	MutableStateChecksumInvalidated
	FailoverMarkerCount
	FailoverMarkerReplicationLatency
	FailoverMarkerInsertFailure
	FailoverMarkerNotificationFailure
	FailoverMarkerUpdateShardFailure
	FailoverMarkerCallbackCount
	HistoryFailoverCallbackCount
	WorkflowVersionCount
	WorkflowTypeCount
	WorkflowStartedCount
	LargeHistoryBlobCount
	LargeHistoryEventCount
	LargeHistorySizeCount
	UpdateWorkflowExecutionCount
	WorkflowIDCacheSizeGauge
	WorkflowIDCacheRequestsExternalRatelimitedCounter
	WorkflowIDCacheRequestsExternalMaxRequestsPerSecondsTimer
	WorkflowIDCacheRequestsInternalMaxRequestsPerSecondsTimer
	WorkflowIDCacheRequestsInternalRatelimitedCounter
	NumHistoryMetrics
)

History Metrics enum

View Source
const (
	PollSuccessPerTaskListCounter = iota + NumCommonMetrics
	PollTimeoutPerTaskListCounter
	PollSuccessWithSyncPerTaskListCounter
	LeaseRequestPerTaskListCounter
	LeaseFailurePerTaskListCounter
	ConditionFailedErrorPerTaskListCounter
	RespondQueryTaskFailedPerTaskListCounter
	SyncThrottlePerTaskListCounter
	BufferThrottlePerTaskListCounter
	BufferUnknownTaskDispatchError
	BufferIsolationGroupRedirectCounter
	BufferIsolationGroupRedirectFailureCounter
	BufferIsolationGroupMisconfiguredCounter
	SyncMatchLatencyPerTaskList
	AsyncMatchLatencyPerTaskList
	AsyncMatchDispatchLatencyPerTaskList
	AsyncMatchDispatchTimeoutCounterPerTaskList
	ExpiredTasksPerTaskListCounter
	ForwardedPerTaskListCounter
	ForwardTaskCallsPerTaskList
	ForwardTaskErrorsPerTaskList
	SyncMatchForwardTaskThrottleErrorPerTasklist
	AsyncMatchForwardTaskThrottleErrorPerTasklist
	ForwardTaskLatencyPerTaskList
	ForwardQueryCallsPerTaskList
	ForwardQueryErrorsPerTaskList
	ForwardQueryLatencyPerTaskList
	ForwardPollCallsPerTaskList
	ForwardPollErrorsPerTaskList
	ForwardPollLatencyPerTaskList
	LocalToLocalMatchPerTaskListCounter
	LocalToRemoteMatchPerTaskListCounter
	RemoteToLocalMatchPerTaskListCounter
	RemoteToRemoteMatchPerTaskListCounter
	IsolationTaskMatchPerTaskListCounter
	PollerPerTaskListCounter
	PollerInvalidIsolationGroupCounter
	TaskListManagersGauge
	TaskLagPerTaskListGauge
	TaskBacklogPerTaskListGauge
	TaskCountPerTaskListGauge
	SyncMatchLocalPollLatencyPerTaskList
	SyncMatchForwardPollLatencyPerTaskList
	AsyncMatchLocalPollCounterPerTaskList
	AsyncMatchLocalPollAttemptPerTaskList
	AsyncMatchLocalPollLatencyPerTaskList
	AsyncMatchForwardPollCounterPerTaskList
	AsyncMatchForwardPollAttemptPerTaskList
	AsyncMatchForwardPollLatencyPerTaskList
	AsyncMatchLocalPollAfterForwardFailedCounterPerTaskList
	AsyncMatchLocalPollAfterForwardFailedAttemptPerTaskList
	AsyncMatchLocalPollAfterForwardFailedLatencyPerTaskList
	PollLocalMatchLatencyPerTaskList
	PollForwardMatchLatencyPerTaskList
	PollLocalMatchAfterForwardFailedLatencyPerTaskList

	NumMatchingMetrics
)

Matching metrics enum

View Source
const (
	ReplicatorMessages = iota + NumCommonMetrics
	ReplicatorFailures
	ReplicatorMessagesDropped
	ReplicatorLatency
	ReplicatorDLQFailures
	ESProcessorRequests
	ESProcessorRetries
	ESProcessorFailures
	ESProcessorCorruptedData
	ESProcessorProcessMsgLatency
	IndexProcessorCorruptedData
	IndexProcessorProcessMsgLatency
	ArchiverNonRetryableErrorCount
	ArchiverStartedCount
	ArchiverStoppedCount
	ArchiverCoroutineStartedCount
	ArchiverCoroutineStoppedCount
	ArchiverHandleHistoryRequestLatency
	ArchiverHandleVisibilityRequestLatency
	ArchiverUploadWithRetriesLatency
	ArchiverDeleteWithRetriesLatency
	ArchiverUploadFailedAllRetriesCount
	ArchiverUploadSuccessCount
	ArchiverDeleteFailedAllRetriesCount
	ArchiverDeleteSuccessCount
	ArchiverHandleVisibilityFailedAllRetiresCount
	ArchiverHandleVisibilitySuccessCount
	ArchiverBacklogSizeGauge
	ArchiverPumpTimeoutCount
	ArchiverPumpSignalThresholdCount
	ArchiverPumpTimeoutWithoutSignalsCount
	ArchiverPumpSignalChannelClosedCount
	ArchiverWorkflowStartedCount
	ArchiverNumPumpedRequestsCount
	ArchiverNumHandledRequestsCount
	ArchiverPumpedNotEqualHandledCount
	ArchiverHandleAllRequestsLatency
	ArchiverWorkflowStoppingCount
	TaskProcessedCount
	TaskDeletedCount
	TaskListProcessedCount
	TaskListDeletedCount
	TaskListOutstandingCount
	ExecutionsOutstandingCount
	StartedCount
	StoppedCount
	ExecutorTasksDeferredCount
	ExecutorTasksDroppedCount
	BatcherProcessorSuccess
	BatcherProcessorFailures
	HistoryScavengerSuccessCount
	HistoryScavengerErrorCount
	HistoryScavengerSkipCount
	DomainReplicationEnqueueDLQCount
	ScannerExecutionsGauge
	ScannerCorruptedGauge
	ScannerCheckFailedGauge
	ScannerCorruptionByTypeGauge
	ScannerCorruptedOpenExecutionGauge
	ScannerShardSizeMaxGauge
	ScannerShardSizeMedianGauge
	ScannerShardSizeMinGauge
	ScannerShardSizeNinetyGauge
	ScannerShardSizeSeventyFiveGauge
	ScannerShardSizeTwentyFiveGauge
	ScannerShardSizeTenGauge
	ShardScannerScan
	ShardScannerFix
	DataCorruptionWorkflowCount
	DataCorruptionWorkflowFailure
	DataCorruptionWorkflowSuccessCount
	DataCorruptionWorkflowSkipCount
	ESAnalyzerNumStuckWorkflowsDiscovered
	ESAnalyzerNumStuckWorkflowsRefreshed
	ESAnalyzerNumStuckWorkflowsFailedToRefresh
	ESAnalyzerNumLongRunningWorkflows
	AsyncWorkflowConsumerCount
	AsyncWorkflowProcessMsgLatency
	AsyncWorkflowFailureCorruptMsgCount
	AsyncWorkflowFailureByFrontendCount
	AsyncWorkflowSuccessCount

	NumWorkerMetrics
)

Worker metrics enum

View Source
const (
	// NoError indicates that there is no error (error should be nil)
	NoError = ErrorClass(iota)
	// UserError indicates that this is NOT an SLA-reportable error
	UserError
	// InternalError indicates that this is an SLA-reportable error
	InternalError
)
View Source
const VersionString = "1.2.5"

VersionString the current release version

Variables

View Source
var (
	// Revision is the VCS revision associated with this build. Overridden using ldflags
	// at compile time. Example:
	// $ go build -ldflags "-X github.com/uber/cadence/common/metrics.Revision=abcdef" ...
	// see get-ldflags.sh for GIT_REVISION
	Revision = "unknown"

	// Branch is the VCS branch associated with this build.
	Branch = "unknown"

	// ReleaseVersion is the version associated with this build.
	ReleaseVersion = "unknown"

	// BuildDate is the date this build was created.
	BuildDate = "unknown"

	// BuildTimeUnix is the seconds since epoch representing the date this build was created.
	BuildTimeUnix = "0"
)
View Source
var GlobalRatelimiterUsageHistogram = append(
	tally.ValueBuckets{0},
	tally.MustMakeExponentialValueBuckets(1, 2, 17)...,
)

GlobalRatelimiterUsageHistogram contains buckets for tracking how many ratelimiters are in which various states (startup, healthy, failing, as well as aggregator-side quantities, deleted, etc).

this is intended for coarse scale checking, not alerting, so the buckets should be considered unstable and can be changed whenever desired.

GoRuntimeMetrics represent the runtime stats from go runtime

View Source
var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
	Common: {
		CadenceRequests:                                              {/* contains filtered or unexported fields */},
		CadenceFailures:                                              {/* contains filtered or unexported fields */},
		CadenceLatency:                                               {/* contains filtered or unexported fields */},
		CadenceErrBadRequestCounter:                                  {/* contains filtered or unexported fields */},
		CadenceErrDomainNotActiveCounter:                             {/* contains filtered or unexported fields */},
		CadenceErrServiceBusyCounter:                                 {/* contains filtered or unexported fields */},
		CadenceErrEntityNotExistsCounter:                             {/* contains filtered or unexported fields */},
		CadenceErrWorkflowExecutionAlreadyCompletedCounter:           {/* contains filtered or unexported fields */},
		CadenceErrExecutionAlreadyStartedCounter:                     {/* contains filtered or unexported fields */},
		CadenceErrDomainAlreadyExistsCounter:                         {/* contains filtered or unexported fields */},
		CadenceErrCancellationAlreadyRequestedCounter:                {/* contains filtered or unexported fields */},
		CadenceErrQueryFailedCounter:                                 {/* contains filtered or unexported fields */},
		CadenceErrLimitExceededCounter:                               {/* contains filtered or unexported fields */},
		CadenceErrContextTimeoutCounter:                              {/* contains filtered or unexported fields */},
		CadenceErrRetryTaskCounter:                                   {/* contains filtered or unexported fields */},
		CadenceErrBadBinaryCounter:                                   {/* contains filtered or unexported fields */},
		CadenceErrClientVersionNotSupportedCounter:                   {/* contains filtered or unexported fields */},
		CadenceErrIncompleteHistoryCounter:                           {/* contains filtered or unexported fields */},
		CadenceErrNonDeterministicCounter:                            {/* contains filtered or unexported fields */},
		CadenceErrUnauthorizedCounter:                                {/* contains filtered or unexported fields */},
		CadenceErrAuthorizeFailedCounter:                             {/* contains filtered or unexported fields */},
		CadenceErrRemoteSyncMatchFailedCounter:                       {/* contains filtered or unexported fields */},
		CadenceErrDomainNameExceededWarnLimit:                        {/* contains filtered or unexported fields */},
		CadenceErrIdentityExceededWarnLimit:                          {/* contains filtered or unexported fields */},
		CadenceErrWorkflowIDExceededWarnLimit:                        {/* contains filtered or unexported fields */},
		CadenceErrSignalNameExceededWarnLimit:                        {/* contains filtered or unexported fields */},
		CadenceErrWorkflowTypeExceededWarnLimit:                      {/* contains filtered or unexported fields */},
		CadenceErrRequestIDExceededWarnLimit:                         {/* contains filtered or unexported fields */},
		CadenceErrTaskListNameExceededWarnLimit:                      {/* contains filtered or unexported fields */},
		CadenceErrActivityIDExceededWarnLimit:                        {/* contains filtered or unexported fields */},
		CadenceErrActivityTypeExceededWarnLimit:                      {/* contains filtered or unexported fields */},
		CadenceErrMarkerNameExceededWarnLimit:                        {/* contains filtered or unexported fields */},
		CadenceErrTimerIDExceededWarnLimit:                           {/* contains filtered or unexported fields */},
		PersistenceRequests:                                          {/* contains filtered or unexported fields */},
		PersistenceFailures:                                          {/* contains filtered or unexported fields */},
		PersistenceLatency:                                           {/* contains filtered or unexported fields */},
		PersistenceLatencyHistogram:                                  {/* contains filtered or unexported fields */},
		PersistenceErrShardExistsCounter:                             {/* contains filtered or unexported fields */},
		PersistenceErrShardOwnershipLostCounter:                      {/* contains filtered or unexported fields */},
		PersistenceErrConditionFailedCounter:                         {/* contains filtered or unexported fields */},
		PersistenceErrCurrentWorkflowConditionFailedCounter:          {/* contains filtered or unexported fields */},
		PersistenceErrTimeoutCounter:                                 {/* contains filtered or unexported fields */},
		PersistenceErrBusyCounter:                                    {/* contains filtered or unexported fields */},
		PersistenceErrEntityNotExistsCounter:                         {/* contains filtered or unexported fields */},
		PersistenceErrExecutionAlreadyStartedCounter:                 {/* contains filtered or unexported fields */},
		PersistenceErrDomainAlreadyExistsCounter:                     {/* contains filtered or unexported fields */},
		PersistenceErrBadRequestCounter:                              {/* contains filtered or unexported fields */},
		PersistenceErrDuplicateRequestCounter:                        {/* contains filtered or unexported fields */},
		PersistenceErrDBUnavailableCounter:                           {/* contains filtered or unexported fields */},
		PersistenceSampledCounter:                                    {/* contains filtered or unexported fields */},
		PersistenceEmptyResponseCounter:                              {/* contains filtered or unexported fields */},
		PersistenceRequestsPerDomain:                                 {/* contains filtered or unexported fields */},
		PersistenceRequestsPerShard:                                  {/* contains filtered or unexported fields */},
		PersistenceFailuresPerDomain:                                 {/* contains filtered or unexported fields */},
		PersistenceLatencyPerDomain:                                  {/* contains filtered or unexported fields */},
		PersistenceLatencyPerShard:                                   {/* contains filtered or unexported fields */},
		PersistenceErrShardExistsCounterPerDomain:                    {/* contains filtered or unexported fields */},
		PersistenceErrShardOwnershipLostCounterPerDomain:             {/* contains filtered or unexported fields */},
		PersistenceErrConditionFailedCounterPerDomain:                {/* contains filtered or unexported fields */},
		PersistenceErrCurrentWorkflowConditionFailedCounterPerDomain: {/* contains filtered or unexported fields */},
		PersistenceErrTimeoutCounterPerDomain:                        {/* contains filtered or unexported fields */},
		PersistenceErrBusyCounterPerDomain:                           {/* contains filtered or unexported fields */},
		PersistenceErrEntityNotExistsCounterPerDomain:                {/* contains filtered or unexported fields */},
		PersistenceErrExecutionAlreadyStartedCounterPerDomain:        {/* contains filtered or unexported fields */},
		PersistenceErrDomainAlreadyExistsCounterPerDomain:            {/* contains filtered or unexported fields */},
		PersistenceErrBadRequestCounterPerDomain:                     {/* contains filtered or unexported fields */},
		PersistenceErrDuplicateRequestCounterPerDomain:               {/* contains filtered or unexported fields */},
		PersistenceErrDBUnavailableCounterPerDomain:                  {/* contains filtered or unexported fields */},
		PersistenceSampledCounterPerDomain:                           {/* contains filtered or unexported fields */},
		PersistenceEmptyResponseCounterPerDomain:                     {/* contains filtered or unexported fields */},
		CadenceClientRequests:                                        {/* contains filtered or unexported fields */},
		CadenceClientFailures:                                        {/* contains filtered or unexported fields */},
		CadenceClientLatency:                                         {/* contains filtered or unexported fields */},
		CadenceTasklistRequests:                                      {/* contains filtered or unexported fields */},
		CadenceDcRedirectionClientRequests:                           {/* contains filtered or unexported fields */},
		CadenceDcRedirectionClientFailures:                           {/* contains filtered or unexported fields */},
		CadenceDcRedirectionClientLatency:                            {/* contains filtered or unexported fields */},
		CadenceAuthorizationLatency:                                  {/* contains filtered or unexported fields */},
		DomainCachePrepareCallbacksLatency:                           {/* contains filtered or unexported fields */},
		DomainCacheCallbacksLatency:                                  {/* contains filtered or unexported fields */},
		DomainCacheCallbacksCount:                                    {/* contains filtered or unexported fields */},
		HistorySize:                                                  {/* contains filtered or unexported fields */},
		HistoryCount:                                                 {/* contains filtered or unexported fields */},
		EventBlobSize:                                                {/* contains filtered or unexported fields */},
		DecisionResultCount:                                          {/* contains filtered or unexported fields */},
		ArchivalConfigFailures:                                       {/* contains filtered or unexported fields */},
		ActiveClusterGauge:                                           {/* contains filtered or unexported fields */},
		ElasticsearchRequests:                                        {/* contains filtered or unexported fields */},
		ElasticsearchFailures:                                        {/* contains filtered or unexported fields */},
		ElasticsearchLatency:                                         {/* contains filtered or unexported fields */},
		ElasticsearchErrBadRequestCounter:                            {/* contains filtered or unexported fields */},
		ElasticsearchErrBusyCounter:                                  {/* contains filtered or unexported fields */},
		ElasticsearchRequestsPerDomain:                               {/* contains filtered or unexported fields */},
		ElasticsearchFailuresPerDomain:                               {/* contains filtered or unexported fields */},
		ElasticsearchLatencyPerDomain:                                {/* contains filtered or unexported fields */},
		ElasticsearchErrBadRequestCounterPerDomain:                   {/* contains filtered or unexported fields */},
		ElasticsearchErrBusyCounterPerDomain:                         {/* contains filtered or unexported fields */},
		PinotRequests:                                                {/* contains filtered or unexported fields */},
		PinotFailures:                                                {/* contains filtered or unexported fields */},
		PinotLatency:                                                 {/* contains filtered or unexported fields */},
		PinotErrBadRequestCounter:                                    {/* contains filtered or unexported fields */},
		PinotErrBusyCounter:                                          {/* contains filtered or unexported fields */},
		PinotRequestsPerDomain:                                       {/* contains filtered or unexported fields */},
		PinotFailuresPerDomain:                                       {/* contains filtered or unexported fields */},
		PinotLatencyPerDomain:                                        {/* contains filtered or unexported fields */},
		PinotErrBadRequestCounterPerDomain:                           {/* contains filtered or unexported fields */},
		PinotErrBusyCounterPerDomain:                                 {/* contains filtered or unexported fields */},
		SequentialTaskSubmitRequest:                                  {/* contains filtered or unexported fields */},
		SequentialTaskSubmitRequestTaskQueueExist:                    {/* contains filtered or unexported fields */},
		SequentialTaskSubmitRequestTaskQueueMissing:                  {/* contains filtered or unexported fields */},
		SequentialTaskSubmitLatency:                                  {/* contains filtered or unexported fields */},
		SequentialTaskQueueSize:                                      {/* contains filtered or unexported fields */},
		SequentialTaskQueueProcessingLatency:                         {/* contains filtered or unexported fields */},
		SequentialTaskTaskProcessingLatency:                          {/* contains filtered or unexported fields */},
		ParallelTaskSubmitRequest:                                    {/* contains filtered or unexported fields */},
		ParallelTaskSubmitLatency:                                    {/* contains filtered or unexported fields */},
		ParallelTaskTaskProcessingLatency:                            {/* contains filtered or unexported fields */},
		PriorityTaskSubmitRequest:                                    {/* contains filtered or unexported fields */},
		PriorityTaskSubmitLatency:                                    {/* contains filtered or unexported fields */},
		KafkaConsumerMessageIn:                                       {/* contains filtered or unexported fields */},
		KafkaConsumerMessageAck:                                      {/* contains filtered or unexported fields */},
		KafkaConsumerMessageNack:                                     {/* contains filtered or unexported fields */},
		KafkaConsumerMessageNackDlqErr:                               {/* contains filtered or unexported fields */},
		KafkaConsumerSessionStart:                                    {/* contains filtered or unexported fields */},
		GracefulFailoverLatency:                                      {/* contains filtered or unexported fields */},
		GracefulFailoverFailure:                                      {/* contains filtered or unexported fields */},

		HistoryArchiverArchiveNonRetryableErrorCount:              {/* contains filtered or unexported fields */},
		HistoryArchiverArchiveTransientErrorCount:                 {/* contains filtered or unexported fields */},
		HistoryArchiverArchiveSuccessCount:                        {/* contains filtered or unexported fields */},
		HistoryArchiverHistoryMutatedCount:                        {/* contains filtered or unexported fields */},
		HistoryArchiverTotalUploadSize:                            {/* contains filtered or unexported fields */},
		HistoryArchiverHistorySize:                                {/* contains filtered or unexported fields */},
		HistoryArchiverDuplicateArchivalsCount:                    {/* contains filtered or unexported fields */},
		HistoryArchiverBlobExistsCount:                            {/* contains filtered or unexported fields */},
		HistoryArchiverBlobSize:                                   {/* contains filtered or unexported fields */},
		HistoryArchiverRunningDeterministicConstructionCheckCount: {/* contains filtered or unexported fields */},
		HistoryArchiverDeterministicConstructionCheckFailedCount:  {/* contains filtered or unexported fields */},
		HistoryArchiverRunningBlobIntegrityCheckCount:             {/* contains filtered or unexported fields */},
		HistoryArchiverBlobIntegrityCheckFailedCount:              {/* contains filtered or unexported fields */},
		VisibilityArchiverArchiveNonRetryableErrorCount:           {/* contains filtered or unexported fields */},
		VisibilityArchiverArchiveTransientErrorCount:              {/* contains filtered or unexported fields */},
		VisibilityArchiveSuccessCount:                             {/* contains filtered or unexported fields */},
		MatchingClientForwardedCounter:                            {/* contains filtered or unexported fields */},
		MatchingClientInvalidTaskListName:                         {/* contains filtered or unexported fields */},

		CadenceRequestsPerTaskList: {
			// contains filtered or unexported fields
		},
		CadenceFailuresPerTaskList: {
			// contains filtered or unexported fields
		},
		CadenceLatencyPerTaskList: {
			// contains filtered or unexported fields
		},
		CadenceErrBadRequestPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrDomainNotActivePerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrServiceBusyPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrEntityNotExistsPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrExecutionAlreadyStartedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrDomainAlreadyExistsPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrCancellationAlreadyRequestedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrQueryFailedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrLimitExceededPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrContextTimeoutPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrRetryTaskPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrBadBinaryPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrClientVersionNotSupportedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrIncompleteHistoryPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrNonDeterministicPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrUnauthorizedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrAuthorizeFailedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrRemoteSyncMatchFailedPerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceErrStickyWorkerUnavailablePerTaskListCounter: {
			// contains filtered or unexported fields
		},
		CadenceShardSuccessGauge:             {/* contains filtered or unexported fields */},
		CadenceShardFailureGauge:             {/* contains filtered or unexported fields */},
		DomainReplicationQueueSizeGauge:      {/* contains filtered or unexported fields */},
		DomainReplicationQueueSizeErrorCount: {/* contains filtered or unexported fields */},
		ParentClosePolicyProcessorSuccess:    {/* contains filtered or unexported fields */},
		ParentClosePolicyProcessorFailures:   {/* contains filtered or unexported fields */},

		IsolationGroupStatePollerUnavailable: {/* contains filtered or unexported fields */},
		IsolationGroupStateDrained:           {/* contains filtered or unexported fields */},
		IsolationGroupStateHealthy:           {/* contains filtered or unexported fields */},
		ValidatedWorkflowCount:               {/* contains filtered or unexported fields */},
		HashringViewIdentifier:               {/* contains filtered or unexported fields */},

		AsyncRequestPayloadSize: {/* contains filtered or unexported fields */},

		GlobalRatelimiterStartupUsageHistogram: {/* contains filtered or unexported fields */},
		GlobalRatelimiterFailingUsageHistogram: {/* contains filtered or unexported fields */},
		GlobalRatelimiterGlobalUsageHistogram:  {/* contains filtered or unexported fields */},
		GlobalRatelimiterUpdateLatency:         {/* contains filtered or unexported fields */},
		GlobalRatelimiterAllowedRequestsCount:  {/* contains filtered or unexported fields */},
		GlobalRatelimiterRejectedRequestsCount: {/* contains filtered or unexported fields */},
		GlobalRatelimiterQuota:                 {/* contains filtered or unexported fields */},

		GlobalRatelimiterInitialized:       {/* contains filtered or unexported fields */},
		GlobalRatelimiterReinitialized:     {/* contains filtered or unexported fields */},
		GlobalRatelimiterUpdated:           {/* contains filtered or unexported fields */},
		GlobalRatelimiterDecayed:           {/* contains filtered or unexported fields */},
		GlobalRatelimiterLimitsQueried:     {/* contains filtered or unexported fields */},
		GlobalRatelimiterHostLimitsQueried: {/* contains filtered or unexported fields */},
		GlobalRatelimiterRemovedLimits:     {/* contains filtered or unexported fields */},
		GlobalRatelimiterRemovedHostLimits: {/* contains filtered or unexported fields */},
	},
	History: {
		TaskRequests:             {/* contains filtered or unexported fields */},
		TaskLatency:              {/* contains filtered or unexported fields */},
		TaskAttemptTimer:         {/* contains filtered or unexported fields */},
		TaskFailures:             {/* contains filtered or unexported fields */},
		TaskDiscarded:            {/* contains filtered or unexported fields */},
		TaskStandbyRetryCounter:  {/* contains filtered or unexported fields */},
		TaskNotActiveCounter:     {/* contains filtered or unexported fields */},
		TaskLimitExceededCounter: {/* contains filtered or unexported fields */},
		TaskProcessingLatency:    {/* contains filtered or unexported fields */},
		TaskQueueLatency:         {/* contains filtered or unexported fields */},
		ScheduleToStartHistoryQueueLatencyPerTaskList: {/* contains filtered or unexported fields */},

		TaskRequestsPerDomain:                    {/* contains filtered or unexported fields */},
		TaskLatencyPerDomain:                     {/* contains filtered or unexported fields */},
		TaskAttemptTimerPerDomain:                {/* contains filtered or unexported fields */},
		TaskFailuresPerDomain:                    {/* contains filtered or unexported fields */},
		TaskWorkflowBusyPerDomain:                {/* contains filtered or unexported fields */},
		TaskDiscardedPerDomain:                   {/* contains filtered or unexported fields */},
		TaskUnsupportedPerDomain:                 {/* contains filtered or unexported fields */},
		TaskStandbyRetryCounterPerDomain:         {/* contains filtered or unexported fields */},
		TaskPendingActiveCounterPerDomain:        {/* contains filtered or unexported fields */},
		TaskNotActiveCounterPerDomain:            {/* contains filtered or unexported fields */},
		TaskTargetNotActiveCounterPerDomain:      {/* contains filtered or unexported fields */},
		TaskLimitExceededCounterPerDomain:        {/* contains filtered or unexported fields */},
		TaskProcessingLatencyPerDomain:           {/* contains filtered or unexported fields */},
		TaskQueueLatencyPerDomain:                {/* contains filtered or unexported fields */},
		TransferTaskMissingEventCounterPerDomain: {/* contains filtered or unexported fields */},
		ReplicationTasksAppliedPerDomain:         {/* contains filtered or unexported fields */},
		WorkflowTerminateCounterPerDomain:        {/* contains filtered or unexported fields */},

		TaskBatchCompleteCounter:                                     {/* contains filtered or unexported fields */},
		TaskBatchCompleteFailure:                                     {/* contains filtered or unexported fields */},
		TaskRedispatchQueuePendingTasksTimer:                         {/* contains filtered or unexported fields */},
		TransferTaskThrottledCounter:                                 {/* contains filtered or unexported fields */},
		TimerTaskThrottledCounter:                                    {/* contains filtered or unexported fields */},
		CrossClusterTaskThrottledCounter:                             {/* contains filtered or unexported fields */},
		TransferTaskMissingEventCounter:                              {/* contains filtered or unexported fields */},
		ProcessingQueueNumTimer:                                      {/* contains filtered or unexported fields */},
		ProcessingQueueMaxLevelTimer:                                 {/* contains filtered or unexported fields */},
		ProcessingQueuePendingTaskSplitCounter:                       {/* contains filtered or unexported fields */},
		ProcessingQueueStuckTaskSplitCounter:                         {/* contains filtered or unexported fields */},
		ProcessingQueueSelectedDomainSplitCounter:                    {/* contains filtered or unexported fields */},
		ProcessingQueueRandomSplitCounter:                            {/* contains filtered or unexported fields */},
		ProcessingQueueThrottledCounter:                              {/* contains filtered or unexported fields */},
		QueueValidatorLostTaskCounter:                                {/* contains filtered or unexported fields */},
		QueueValidatorDropTaskCounter:                                {/* contains filtered or unexported fields */},
		QueueValidatorInvalidLoadCounter:                             {/* contains filtered or unexported fields */},
		QueueValidatorValidationCounter:                              {/* contains filtered or unexported fields */},
		QueueValidatorValidationFailure:                              {/* contains filtered or unexported fields */},
		CrossClusterFetchLatency:                                     {/* contains filtered or unexported fields */},
		CrossClusterFetchRequests:                                    {/* contains filtered or unexported fields */},
		CrossClusterFetchFailures:                                    {/* contains filtered or unexported fields */},
		CrossClusterFetchServiceBusyFailures:                         {/* contains filtered or unexported fields */},
		CrossClusterTaskRespondLatency:                               {/* contains filtered or unexported fields */},
		CrossClusterTaskRespondRequests:                              {/* contains filtered or unexported fields */},
		CrossClusterTaskRespondFailures:                              {/* contains filtered or unexported fields */},
		CrossClusterTaskFetchedTimer:                                 {/* contains filtered or unexported fields */},
		CrossClusterTaskPendingTimer:                                 {/* contains filtered or unexported fields */},
		ClusterMetadataFailureToResolveCounter:                       {/* contains filtered or unexported fields */},
		ClusterMetadataGettingMinFailoverVersionCounter:              {/* contains filtered or unexported fields */},
		ClusterMetadataGettingFailoverVersionCounter:                 {/* contains filtered or unexported fields */},
		ClusterMetadataResolvingFailoverVersionCounter:               {/* contains filtered or unexported fields */},
		ClusterMetadataResolvingMinFailoverVersionCounter:            {/* contains filtered or unexported fields */},
		ActivityE2ELatency:                                           {/* contains filtered or unexported fields */},
		ActivityLostCounter:                                          {/* contains filtered or unexported fields */},
		AckLevelUpdateCounter:                                        {/* contains filtered or unexported fields */},
		AckLevelUpdateFailedCounter:                                  {/* contains filtered or unexported fields */},
		DecisionTypeScheduleActivityCounter:                          {/* contains filtered or unexported fields */},
		DecisionTypeScheduleActivityDispatchSucceedCounter:           {/* contains filtered or unexported fields */},
		DecisionTypeScheduleActivityDispatchCounter:                  {/* contains filtered or unexported fields */},
		DecisionTypeCompleteWorkflowCounter:                          {/* contains filtered or unexported fields */},
		DecisionTypeFailWorkflowCounter:                              {/* contains filtered or unexported fields */},
		DecisionTypeCancelWorkflowCounter:                            {/* contains filtered or unexported fields */},
		DecisionTypeStartTimerCounter:                                {/* contains filtered or unexported fields */},
		DecisionTypeCancelActivityCounter:                            {/* contains filtered or unexported fields */},
		DecisionTypeCancelTimerCounter:                               {/* contains filtered or unexported fields */},
		DecisionTypeRecordMarkerCounter:                              {/* contains filtered or unexported fields */},
		DecisionTypeCancelExternalWorkflowCounter:                    {/* contains filtered or unexported fields */},
		DecisionTypeContinueAsNewCounter:                             {/* contains filtered or unexported fields */},
		DecisionTypeSignalExternalWorkflowCounter:                    {/* contains filtered or unexported fields */},
		DecisionTypeUpsertWorkflowSearchAttributesCounter:            {/* contains filtered or unexported fields */},
		DecisionTypeChildWorkflowCounter:                             {/* contains filtered or unexported fields */},
		EmptyCompletionDecisionsCounter:                              {/* contains filtered or unexported fields */},
		MultipleCompletionDecisionsCounter:                           {/* contains filtered or unexported fields */},
		FailedDecisionsCounter:                                       {/* contains filtered or unexported fields */},
		DecisionAttemptTimer:                                         {/* contains filtered or unexported fields */},
		DecisionRetriesExceededCounter:                               {/* contains filtered or unexported fields */},
		StaleMutableStateCounter:                                     {/* contains filtered or unexported fields */},
		DataInconsistentCounter:                                      {/* contains filtered or unexported fields */},
		TimerResurrectionCounter:                                     {/* contains filtered or unexported fields */},
		ActivityResurrectionCounter:                                  {/* contains filtered or unexported fields */},
		AutoResetPointsLimitExceededCounter:                          {/* contains filtered or unexported fields */},
		AutoResetPointCorruptionCounter:                              {/* contains filtered or unexported fields */},
		ConcurrencyUpdateFailureCounter:                              {/* contains filtered or unexported fields */},
		CadenceErrShardOwnershipLostCounter:                          {/* contains filtered or unexported fields */},
		CadenceErrEventAlreadyStartedCounter:                         {/* contains filtered or unexported fields */},
		HeartbeatTimeoutCounter:                                      {/* contains filtered or unexported fields */},
		ScheduleToStartTimeoutCounter:                                {/* contains filtered or unexported fields */},
		StartToCloseTimeoutCounter:                                   {/* contains filtered or unexported fields */},
		ScheduleToCloseTimeoutCounter:                                {/* contains filtered or unexported fields */},
		NewTimerCounter:                                              {/* contains filtered or unexported fields */},
		NewTimerNotifyCounter:                                        {/* contains filtered or unexported fields */},
		AcquireShardsCounter:                                         {/* contains filtered or unexported fields */},
		AcquireShardsLatency:                                         {/* contains filtered or unexported fields */},
		ShardClosedCounter:                                           {/* contains filtered or unexported fields */},
		ShardItemCreatedCounter:                                      {/* contains filtered or unexported fields */},
		ShardItemRemovedCounter:                                      {/* contains filtered or unexported fields */},
		ShardItemAcquisitionLatency:                                  {/* contains filtered or unexported fields */},
		ShardInfoReplicationPendingTasksTimer:                        {/* contains filtered or unexported fields */},
		ShardInfoTransferActivePendingTasksTimer:                     {/* contains filtered or unexported fields */},
		ShardInfoTransferStandbyPendingTasksTimer:                    {/* contains filtered or unexported fields */},
		ShardInfoTimerActivePendingTasksTimer:                        {/* contains filtered or unexported fields */},
		ShardInfoTimerStandbyPendingTasksTimer:                       {/* contains filtered or unexported fields */},
		ShardInfoCrossClusterPendingTasksTimer:                       {/* contains filtered or unexported fields */},
		ShardInfoReplicationLagTimer:                                 {/* contains filtered or unexported fields */},
		ShardInfoTransferLagTimer:                                    {/* contains filtered or unexported fields */},
		ShardInfoTimerLagTimer:                                       {/* contains filtered or unexported fields */},
		ShardInfoCrossClusterLagTimer:                                {/* contains filtered or unexported fields */},
		ShardInfoTransferDiffTimer:                                   {/* contains filtered or unexported fields */},
		ShardInfoTimerDiffTimer:                                      {/* contains filtered or unexported fields */},
		ShardInfoTransferFailoverInProgressTimer:                     {/* contains filtered or unexported fields */},
		ShardInfoTimerFailoverInProgressTimer:                        {/* contains filtered or unexported fields */},
		ShardInfoTransferFailoverLatencyTimer:                        {/* contains filtered or unexported fields */},
		ShardInfoTimerFailoverLatencyTimer:                           {/* contains filtered or unexported fields */},
		SyncShardFromRemoteCounter:                                   {/* contains filtered or unexported fields */},
		SyncShardFromRemoteFailure:                                   {/* contains filtered or unexported fields */},
		MembershipChangedCounter:                                     {/* contains filtered or unexported fields */},
		NumShardsGauge:                                               {/* contains filtered or unexported fields */},
		GetEngineForShardErrorCounter:                                {/* contains filtered or unexported fields */},
		GetEngineForShardLatency:                                     {/* contains filtered or unexported fields */},
		RemoveEngineForShardLatency:                                  {/* contains filtered or unexported fields */},
		CompleteDecisionWithStickyEnabledCounter:                     {/* contains filtered or unexported fields */},
		CompleteDecisionWithStickyDisabledCounter:                    {/* contains filtered or unexported fields */},
		DecisionHeartbeatTimeoutCounter:                              {/* contains filtered or unexported fields */},
		HistoryEventNotificationQueueingLatency:                      {/* contains filtered or unexported fields */},
		HistoryEventNotificationFanoutLatency:                        {/* contains filtered or unexported fields */},
		HistoryEventNotificationInFlightMessageGauge:                 {/* contains filtered or unexported fields */},
		HistoryEventNotificationFailDeliveryCount:                    {/* contains filtered or unexported fields */},
		EmptyReplicationEventsCounter:                                {/* contains filtered or unexported fields */},
		DuplicateReplicationEventsCounter:                            {/* contains filtered or unexported fields */},
		StaleReplicationEventsCounter:                                {/* contains filtered or unexported fields */},
		ReplicationEventsSizeTimer:                                   {/* contains filtered or unexported fields */},
		BufferReplicationTaskTimer:                                   {/* contains filtered or unexported fields */},
		UnbufferReplicationTaskTimer:                                 {/* contains filtered or unexported fields */},
		HistoryConflictsCounter:                                      {/* contains filtered or unexported fields */},
		CompleteTaskFailedCounter:                                    {/* contains filtered or unexported fields */},
		CacheSize:                                                    {/* contains filtered or unexported fields */},
		CacheRequests:                                                {/* contains filtered or unexported fields */},
		CacheFailures:                                                {/* contains filtered or unexported fields */},
		CacheLatency:                                                 {/* contains filtered or unexported fields */},
		CacheHitCounter:                                              {/* contains filtered or unexported fields */},
		CacheMissCounter:                                             {/* contains filtered or unexported fields */},
		CacheFullCounter:                                             {/* contains filtered or unexported fields */},
		AcquireLockFailedCounter:                                     {/* contains filtered or unexported fields */},
		WorkflowContextCleared:                                       {/* contains filtered or unexported fields */},
		MutableStateSize:                                             {/* contains filtered or unexported fields */},
		ExecutionInfoSize:                                            {/* contains filtered or unexported fields */},
		ActivityInfoSize:                                             {/* contains filtered or unexported fields */},
		TimerInfoSize:                                                {/* contains filtered or unexported fields */},
		ChildInfoSize:                                                {/* contains filtered or unexported fields */},
		SignalInfoSize:                                               {/* contains filtered or unexported fields */},
		BufferedEventsSize:                                           {/* contains filtered or unexported fields */},
		ActivityInfoCount:                                            {/* contains filtered or unexported fields */},
		TimerInfoCount:                                               {/* contains filtered or unexported fields */},
		ChildInfoCount:                                               {/* contains filtered or unexported fields */},
		SignalInfoCount:                                              {/* contains filtered or unexported fields */},
		RequestCancelInfoCount:                                       {/* contains filtered or unexported fields */},
		BufferedEventsCount:                                          {/* contains filtered or unexported fields */},
		DeleteActivityInfoCount:                                      {/* contains filtered or unexported fields */},
		DeleteTimerInfoCount:                                         {/* contains filtered or unexported fields */},
		DeleteChildInfoCount:                                         {/* contains filtered or unexported fields */},
		DeleteSignalInfoCount:                                        {/* contains filtered or unexported fields */},
		DeleteRequestCancelInfoCount:                                 {/* contains filtered or unexported fields */},
		WorkflowRetryBackoffTimerCount:                               {/* contains filtered or unexported fields */},
		WorkflowCronBackoffTimerCount:                                {/* contains filtered or unexported fields */},
		WorkflowCleanupDeleteCount:                                   {/* contains filtered or unexported fields */},
		WorkflowCleanupArchiveCount:                                  {/* contains filtered or unexported fields */},
		WorkflowCleanupNopCount:                                      {/* contains filtered or unexported fields */},
		WorkflowCleanupDeleteHistoryInlineCount:                      {/* contains filtered or unexported fields */},
		WorkflowSuccessCount:                                         {/* contains filtered or unexported fields */},
		WorkflowCancelCount:                                          {/* contains filtered or unexported fields */},
		WorkflowFailedCount:                                          {/* contains filtered or unexported fields */},
		WorkflowTimeoutCount:                                         {/* contains filtered or unexported fields */},
		WorkflowTerminateCount:                                       {/* contains filtered or unexported fields */},
		WorkflowContinuedAsNew:                                       {/* contains filtered or unexported fields */},
		WorkflowCompletedUnknownType:                                 {/* contains filtered or unexported fields */},
		ArchiverClientSendSignalCount:                                {/* contains filtered or unexported fields */},
		ArchiverClientSendSignalFailureCount:                         {/* contains filtered or unexported fields */},
		ArchiverClientHistoryRequestCount:                            {/* contains filtered or unexported fields */},
		ArchiverClientHistoryInlineArchiveAttemptCount:               {/* contains filtered or unexported fields */},
		ArchiverClientHistoryInlineArchiveFailureCount:               {/* contains filtered or unexported fields */},
		ArchiverClientHistoryInlineArchiveThrottledCount:             {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityRequestCount:                         {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityInlineArchiveAttemptCount:            {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityInlineArchiveFailureCount:            {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityInlineArchiveThrottledCount:          {/* contains filtered or unexported fields */},
		ArchiverClientSendSignalCountPerDomain:                       {/* contains filtered or unexported fields */},
		ArchiverClientSendSignalFailureCountPerDomain:                {/* contains filtered or unexported fields */},
		ArchiverClientHistoryRequestCountPerDomain:                   {/* contains filtered or unexported fields */},
		ArchiverClientHistoryInlineArchiveAttemptCountPerDomain:      {/* contains filtered or unexported fields */},
		ArchiverClientHistoryInlineArchiveFailureCountPerDomain:      {/* contains filtered or unexported fields */},
		ArchiverClientHistoryInlineArchiveThrottledCountPerDomain:    {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityRequestCountPerDomain:                {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityInlineArchiveAttemptCountPerDomain:   {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityInlineArchiveFailureCountPerDomain:   {/* contains filtered or unexported fields */},
		ArchiverClientVisibilityInlineArchiveThrottledCountPerDomain: {/* contains filtered or unexported fields */},
		LastRetrievedMessageID:                                       {/* contains filtered or unexported fields */},
		LastProcessedMessageID:                                       {/* contains filtered or unexported fields */},
		ReplicationLatency:                                           {/* contains filtered or unexported fields */},
		ReplicationTasksApplied:                                      {/* contains filtered or unexported fields */},
		ReplicationTasksFailed:                                       {/* contains filtered or unexported fields */},
		ReplicationTasksLag:                                          {/* contains filtered or unexported fields */},
		ReplicationTasksFetched:                                      {/* contains filtered or unexported fields */},
		ReplicationTasksReturned:                                     {/* contains filtered or unexported fields */},
		ReplicationTasksReturnedDiff:                                 {/* contains filtered or unexported fields */},
		ReplicationTasksAppliedLatency:                               {/* contains filtered or unexported fields */},
		ReplicationDLQFailed:                                         {/* contains filtered or unexported fields */},
		ReplicationDLQMaxLevelGauge:                                  {/* contains filtered or unexported fields */},
		ReplicationDLQAckLevelGauge:                                  {/* contains filtered or unexported fields */},
		ReplicationDLQProbeFailed:                                    {/* contains filtered or unexported fields */},
		ReplicationDLQSize:                                           {/* contains filtered or unexported fields */},
		ReplicationDLQValidationFailed:                               {/* contains filtered or unexported fields */},
		GetReplicationMessagesForShardLatency:                        {/* contains filtered or unexported fields */},
		GetDLQReplicationMessagesLatency:                             {/* contains filtered or unexported fields */},
		EventReapplySkippedCount:                                     {/* contains filtered or unexported fields */},
		DirectQueryDispatchLatency:                                   {/* contains filtered or unexported fields */},
		DirectQueryDispatchStickyLatency:                             {/* contains filtered or unexported fields */},
		DirectQueryDispatchNonStickyLatency:                          {/* contains filtered or unexported fields */},
		DirectQueryDispatchStickySuccessCount:                        {/* contains filtered or unexported fields */},
		DirectQueryDispatchNonStickySuccessCount:                     {/* contains filtered or unexported fields */},
		DirectQueryDispatchClearStickinessLatency:                    {/* contains filtered or unexported fields */},
		DirectQueryDispatchClearStickinessSuccessCount:               {/* contains filtered or unexported fields */},
		DirectQueryDispatchTimeoutBeforeNonStickyCount:               {/* contains filtered or unexported fields */},
		DecisionTaskQueryLatency:                                     {/* contains filtered or unexported fields */},
		ConsistentQueryPerShard:                                      {/* contains filtered or unexported fields */},
		ConsistentQueryTimeoutCount:                                  {/* contains filtered or unexported fields */},
		QueryBeforeFirstDecisionCount:                                {/* contains filtered or unexported fields */},
		QueryBufferExceededCount:                                     {/* contains filtered or unexported fields */},
		QueryRegistryInvalidStateCount:                               {/* contains filtered or unexported fields */},
		WorkerNotSupportsConsistentQueryCount:                        {/* contains filtered or unexported fields */},
		DecisionStartToCloseTimeoutOverrideCount:                     {/* contains filtered or unexported fields */},
		ReplicationTaskCleanupCount:                                  {/* contains filtered or unexported fields */},
		ReplicationTaskCleanupFailure:                                {/* contains filtered or unexported fields */},
		ReplicationTaskLatency:                                       {/* contains filtered or unexported fields */},
		MutableStateChecksumMismatch:                                 {/* contains filtered or unexported fields */},
		MutableStateChecksumInvalidated:                              {/* contains filtered or unexported fields */},
		FailoverMarkerCount:                                          {/* contains filtered or unexported fields */},
		FailoverMarkerReplicationLatency:                             {/* contains filtered or unexported fields */},
		FailoverMarkerInsertFailure:                                  {/* contains filtered or unexported fields */},
		FailoverMarkerNotificationFailure:                            {/* contains filtered or unexported fields */},
		FailoverMarkerUpdateShardFailure:                             {/* contains filtered or unexported fields */},
		FailoverMarkerCallbackCount:                                  {/* contains filtered or unexported fields */},
		HistoryFailoverCallbackCount:                                 {/* contains filtered or unexported fields */},
		TransferTasksCount:                                           {/* contains filtered or unexported fields */},
		TimerTasksCount:                                              {/* contains filtered or unexported fields */},
		CrossClusterTasksCount:                                       {/* contains filtered or unexported fields */},
		ReplicationTasksCount:                                        {/* contains filtered or unexported fields */},
		WorkflowVersionCount:                                         {/* contains filtered or unexported fields */},
		WorkflowTypeCount:                                            {/* contains filtered or unexported fields */},
		WorkflowStartedCount:                                         {/* contains filtered or unexported fields */},
		LargeHistoryBlobCount:                                        {/* contains filtered or unexported fields */},
		LargeHistoryEventCount:                                       {/* contains filtered or unexported fields */},
		LargeHistorySizeCount:                                        {/* contains filtered or unexported fields */},
		UpdateWorkflowExecutionCount:                                 {/* contains filtered or unexported fields */},
		WorkflowIDCacheSizeGauge:                                     {/* contains filtered or unexported fields */},
		WorkflowIDCacheRequestsExternalRatelimitedCounter:            {/* contains filtered or unexported fields */},
		WorkflowIDCacheRequestsExternalMaxRequestsPerSecondsTimer:    {/* contains filtered or unexported fields */},
		WorkflowIDCacheRequestsInternalMaxRequestsPerSecondsTimer:    {/* contains filtered or unexported fields */},
		WorkflowIDCacheRequestsInternalRatelimitedCounter:            {/* contains filtered or unexported fields */},
	},
	Matching: {
		PollSuccessPerTaskListCounter:                           {/* contains filtered or unexported fields */},
		PollTimeoutPerTaskListCounter:                           {/* contains filtered or unexported fields */},
		PollSuccessWithSyncPerTaskListCounter:                   {/* contains filtered or unexported fields */},
		LeaseRequestPerTaskListCounter:                          {/* contains filtered or unexported fields */},
		LeaseFailurePerTaskListCounter:                          {/* contains filtered or unexported fields */},
		ConditionFailedErrorPerTaskListCounter:                  {/* contains filtered or unexported fields */},
		RespondQueryTaskFailedPerTaskListCounter:                {/* contains filtered or unexported fields */},
		SyncThrottlePerTaskListCounter:                          {/* contains filtered or unexported fields */},
		BufferThrottlePerTaskListCounter:                        {/* contains filtered or unexported fields */},
		BufferUnknownTaskDispatchError:                          {/* contains filtered or unexported fields */},
		BufferIsolationGroupRedirectCounter:                     {/* contains filtered or unexported fields */},
		BufferIsolationGroupRedirectFailureCounter:              {/* contains filtered or unexported fields */},
		BufferIsolationGroupMisconfiguredCounter:                {/* contains filtered or unexported fields */},
		ExpiredTasksPerTaskListCounter:                          {/* contains filtered or unexported fields */},
		ForwardedPerTaskListCounter:                             {/* contains filtered or unexported fields */},
		ForwardTaskCallsPerTaskList:                             {/* contains filtered or unexported fields */},
		ForwardTaskErrorsPerTaskList:                            {/* contains filtered or unexported fields */},
		SyncMatchForwardTaskThrottleErrorPerTasklist:            {/* contains filtered or unexported fields */},
		AsyncMatchForwardTaskThrottleErrorPerTasklist:           {/* contains filtered or unexported fields */},
		ForwardQueryCallsPerTaskList:                            {/* contains filtered or unexported fields */},
		ForwardQueryErrorsPerTaskList:                           {/* contains filtered or unexported fields */},
		ForwardPollCallsPerTaskList:                             {/* contains filtered or unexported fields */},
		ForwardPollErrorsPerTaskList:                            {/* contains filtered or unexported fields */},
		SyncMatchLatencyPerTaskList:                             {/* contains filtered or unexported fields */},
		AsyncMatchLatencyPerTaskList:                            {/* contains filtered or unexported fields */},
		AsyncMatchDispatchLatencyPerTaskList:                    {/* contains filtered or unexported fields */},
		AsyncMatchDispatchTimeoutCounterPerTaskList:             {/* contains filtered or unexported fields */},
		ForwardTaskLatencyPerTaskList:                           {/* contains filtered or unexported fields */},
		ForwardQueryLatencyPerTaskList:                          {/* contains filtered or unexported fields */},
		ForwardPollLatencyPerTaskList:                           {/* contains filtered or unexported fields */},
		LocalToLocalMatchPerTaskListCounter:                     {/* contains filtered or unexported fields */},
		LocalToRemoteMatchPerTaskListCounter:                    {/* contains filtered or unexported fields */},
		RemoteToLocalMatchPerTaskListCounter:                    {/* contains filtered or unexported fields */},
		RemoteToRemoteMatchPerTaskListCounter:                   {/* contains filtered or unexported fields */},
		IsolationTaskMatchPerTaskListCounter:                    {/* contains filtered or unexported fields */},
		PollerPerTaskListCounter:                                {/* contains filtered or unexported fields */},
		PollerInvalidIsolationGroupCounter:                      {/* contains filtered or unexported fields */},
		TaskListManagersGauge:                                   {/* contains filtered or unexported fields */},
		TaskLagPerTaskListGauge:                                 {/* contains filtered or unexported fields */},
		TaskBacklogPerTaskListGauge:                             {/* contains filtered or unexported fields */},
		TaskCountPerTaskListGauge:                               {/* contains filtered or unexported fields */},
		SyncMatchLocalPollLatencyPerTaskList:                    {/* contains filtered or unexported fields */},
		SyncMatchForwardPollLatencyPerTaskList:                  {/* contains filtered or unexported fields */},
		AsyncMatchLocalPollCounterPerTaskList:                   {/* contains filtered or unexported fields */},
		AsyncMatchLocalPollAttemptPerTaskList:                   {/* contains filtered or unexported fields */},
		AsyncMatchLocalPollLatencyPerTaskList:                   {/* contains filtered or unexported fields */},
		AsyncMatchForwardPollCounterPerTaskList:                 {/* contains filtered or unexported fields */},
		AsyncMatchForwardPollAttemptPerTaskList:                 {/* contains filtered or unexported fields */},
		AsyncMatchForwardPollLatencyPerTaskList:                 {/* contains filtered or unexported fields */},
		AsyncMatchLocalPollAfterForwardFailedCounterPerTaskList: {/* contains filtered or unexported fields */},
		AsyncMatchLocalPollAfterForwardFailedAttemptPerTaskList: {/* contains filtered or unexported fields */},
		AsyncMatchLocalPollAfterForwardFailedLatencyPerTaskList: {/* contains filtered or unexported fields */},
		PollLocalMatchLatencyPerTaskList:                        {/* contains filtered or unexported fields */},
		PollForwardMatchLatencyPerTaskList:                      {/* contains filtered or unexported fields */},
		PollLocalMatchAfterForwardFailedLatencyPerTaskList:      {/* contains filtered or unexported fields */},
	},
	Worker: {
		ReplicatorMessages:                            {/* contains filtered or unexported fields */},
		ReplicatorFailures:                            {/* contains filtered or unexported fields */},
		ReplicatorMessagesDropped:                     {/* contains filtered or unexported fields */},
		ReplicatorLatency:                             {/* contains filtered or unexported fields */},
		ReplicatorDLQFailures:                         {/* contains filtered or unexported fields */},
		ESProcessorRequests:                           {/* contains filtered or unexported fields */},
		ESProcessorRetries:                            {/* contains filtered or unexported fields */},
		ESProcessorFailures:                           {/* contains filtered or unexported fields */},
		ESProcessorCorruptedData:                      {/* contains filtered or unexported fields */},
		ESProcessorProcessMsgLatency:                  {/* contains filtered or unexported fields */},
		IndexProcessorCorruptedData:                   {/* contains filtered or unexported fields */},
		IndexProcessorProcessMsgLatency:               {/* contains filtered or unexported fields */},
		ArchiverNonRetryableErrorCount:                {/* contains filtered or unexported fields */},
		ArchiverStartedCount:                          {/* contains filtered or unexported fields */},
		ArchiverStoppedCount:                          {/* contains filtered or unexported fields */},
		ArchiverCoroutineStartedCount:                 {/* contains filtered or unexported fields */},
		ArchiverCoroutineStoppedCount:                 {/* contains filtered or unexported fields */},
		ArchiverHandleHistoryRequestLatency:           {/* contains filtered or unexported fields */},
		ArchiverHandleVisibilityRequestLatency:        {/* contains filtered or unexported fields */},
		ArchiverUploadWithRetriesLatency:              {/* contains filtered or unexported fields */},
		ArchiverDeleteWithRetriesLatency:              {/* contains filtered or unexported fields */},
		ArchiverUploadFailedAllRetriesCount:           {/* contains filtered or unexported fields */},
		ArchiverUploadSuccessCount:                    {/* contains filtered or unexported fields */},
		ArchiverDeleteFailedAllRetriesCount:           {/* contains filtered or unexported fields */},
		ArchiverDeleteSuccessCount:                    {/* contains filtered or unexported fields */},
		ArchiverHandleVisibilityFailedAllRetiresCount: {/* contains filtered or unexported fields */},
		ArchiverHandleVisibilitySuccessCount:          {/* contains filtered or unexported fields */},
		ArchiverBacklogSizeGauge:                      {/* contains filtered or unexported fields */},
		ArchiverPumpTimeoutCount:                      {/* contains filtered or unexported fields */},
		ArchiverPumpSignalThresholdCount:              {/* contains filtered or unexported fields */},
		ArchiverPumpTimeoutWithoutSignalsCount:        {/* contains filtered or unexported fields */},
		ArchiverPumpSignalChannelClosedCount:          {/* contains filtered or unexported fields */},
		ArchiverWorkflowStartedCount:                  {/* contains filtered or unexported fields */},
		ArchiverNumPumpedRequestsCount:                {/* contains filtered or unexported fields */},
		ArchiverNumHandledRequestsCount:               {/* contains filtered or unexported fields */},
		ArchiverPumpedNotEqualHandledCount:            {/* contains filtered or unexported fields */},
		ArchiverHandleAllRequestsLatency:              {/* contains filtered or unexported fields */},
		ArchiverWorkflowStoppingCount:                 {/* contains filtered or unexported fields */},
		TaskProcessedCount:                            {/* contains filtered or unexported fields */},
		TaskDeletedCount:                              {/* contains filtered or unexported fields */},
		TaskListProcessedCount:                        {/* contains filtered or unexported fields */},
		TaskListDeletedCount:                          {/* contains filtered or unexported fields */},
		TaskListOutstandingCount:                      {/* contains filtered or unexported fields */},
		ExecutionsOutstandingCount:                    {/* contains filtered or unexported fields */},
		StartedCount:                                  {/* contains filtered or unexported fields */},
		StoppedCount:                                  {/* contains filtered or unexported fields */},
		ExecutorTasksDeferredCount:                    {/* contains filtered or unexported fields */},
		ExecutorTasksDroppedCount:                     {/* contains filtered or unexported fields */},
		BatcherProcessorSuccess:                       {/* contains filtered or unexported fields */},
		BatcherProcessorFailures:                      {/* contains filtered or unexported fields */},
		HistoryScavengerSuccessCount:                  {/* contains filtered or unexported fields */},
		HistoryScavengerErrorCount:                    {/* contains filtered or unexported fields */},
		HistoryScavengerSkipCount:                     {/* contains filtered or unexported fields */},
		DomainReplicationEnqueueDLQCount:              {/* contains filtered or unexported fields */},
		ScannerExecutionsGauge:                        {/* contains filtered or unexported fields */},
		ScannerCorruptedGauge:                         {/* contains filtered or unexported fields */},
		ScannerCheckFailedGauge:                       {/* contains filtered or unexported fields */},
		ScannerCorruptionByTypeGauge:                  {/* contains filtered or unexported fields */},
		ScannerCorruptedOpenExecutionGauge:            {/* contains filtered or unexported fields */},
		ScannerShardSizeMaxGauge:                      {/* contains filtered or unexported fields */},
		ScannerShardSizeMedianGauge:                   {/* contains filtered or unexported fields */},
		ScannerShardSizeMinGauge:                      {/* contains filtered or unexported fields */},
		ScannerShardSizeNinetyGauge:                   {/* contains filtered or unexported fields */},
		ScannerShardSizeSeventyFiveGauge:              {/* contains filtered or unexported fields */},
		ScannerShardSizeTwentyFiveGauge:               {/* contains filtered or unexported fields */},
		ScannerShardSizeTenGauge:                      {/* contains filtered or unexported fields */},
		ShardScannerScan:                              {/* contains filtered or unexported fields */},
		ShardScannerFix:                               {/* contains filtered or unexported fields */},
		DataCorruptionWorkflowFailure:                 {/* contains filtered or unexported fields */},
		DataCorruptionWorkflowSuccessCount:            {/* contains filtered or unexported fields */},
		DataCorruptionWorkflowCount:                   {/* contains filtered or unexported fields */},
		DataCorruptionWorkflowSkipCount:               {/* contains filtered or unexported fields */},
		ESAnalyzerNumStuckWorkflowsDiscovered:         {/* contains filtered or unexported fields */},
		ESAnalyzerNumStuckWorkflowsRefreshed:          {/* contains filtered or unexported fields */},
		ESAnalyzerNumStuckWorkflowsFailedToRefresh:    {/* contains filtered or unexported fields */},
		ESAnalyzerNumLongRunningWorkflows:             {/* contains filtered or unexported fields */},
		AsyncWorkflowConsumerCount:                    {/* contains filtered or unexported fields */},
		AsyncWorkflowProcessMsgLatency:                {/* contains filtered or unexported fields */},
		AsyncWorkflowFailureCorruptMsgCount:           {/* contains filtered or unexported fields */},
		AsyncWorkflowFailureByFrontendCount:           {/* contains filtered or unexported fields */},
		AsyncWorkflowSuccessCount:                     {/* contains filtered or unexported fields */},
	},
}

MetricDefs record the metrics for all services

PersistenceLatencyBuckets contains duration buckets for measuring persistence latency

View Source
var ScopeDefs = map[ServiceIdx]map[int]scopeDefinition{

	Common: {
		PersistenceCreateShardScope:                              {/* contains filtered or unexported fields */},
		PersistenceGetShardScope:                                 {/* contains filtered or unexported fields */},
		PersistenceUpdateShardScope:                              {/* contains filtered or unexported fields */},
		PersistenceCreateWorkflowExecutionScope:                  {/* contains filtered or unexported fields */},
		PersistenceGetWorkflowExecutionScope:                     {/* contains filtered or unexported fields */},
		PersistenceUpdateWorkflowExecutionScope:                  {/* contains filtered or unexported fields */},
		PersistenceConflictResolveWorkflowExecutionScope:         {/* contains filtered or unexported fields */},
		PersistenceResetWorkflowExecutionScope:                   {/* contains filtered or unexported fields */},
		PersistenceDeleteWorkflowExecutionScope:                  {/* contains filtered or unexported fields */},
		PersistenceDeleteCurrentWorkflowExecutionScope:           {/* contains filtered or unexported fields */},
		PersistenceGetCurrentExecutionScope:                      {/* contains filtered or unexported fields */},
		PersistenceIsWorkflowExecutionExistsScope:                {/* contains filtered or unexported fields */},
		PersistenceListCurrentExecutionsScope:                    {/* contains filtered or unexported fields */},
		PersistenceListConcreteExecutionsScope:                   {/* contains filtered or unexported fields */},
		PersistenceGetTransferTasksScope:                         {/* contains filtered or unexported fields */},
		PersistenceCompleteTransferTaskScope:                     {/* contains filtered or unexported fields */},
		PersistenceRangeCompleteTransferTaskScope:                {/* contains filtered or unexported fields */},
		PersistenceGetCrossClusterTasksScope:                     {/* contains filtered or unexported fields */},
		PersistenceCompleteCrossClusterTaskScope:                 {/* contains filtered or unexported fields */},
		PersistenceRangeCompleteCrossClusterTaskScope:            {/* contains filtered or unexported fields */},
		PersistenceGetReplicationTasksScope:                      {/* contains filtered or unexported fields */},
		PersistenceCompleteReplicationTaskScope:                  {/* contains filtered or unexported fields */},
		PersistenceRangeCompleteReplicationTaskScope:             {/* contains filtered or unexported fields */},
		PersistencePutReplicationTaskToDLQScope:                  {/* contains filtered or unexported fields */},
		PersistenceGetReplicationTasksFromDLQScope:               {/* contains filtered or unexported fields */},
		PersistenceGetReplicationDLQSizeScope:                    {/* contains filtered or unexported fields */},
		PersistenceDeleteReplicationTaskFromDLQScope:             {/* contains filtered or unexported fields */},
		PersistenceRangeDeleteReplicationTaskFromDLQScope:        {/* contains filtered or unexported fields */},
		PersistenceCreateFailoverMarkerTasksScope:                {/* contains filtered or unexported fields */},
		PersistenceGetTimerIndexTasksScope:                       {/* contains filtered or unexported fields */},
		PersistenceCompleteTimerTaskScope:                        {/* contains filtered or unexported fields */},
		PersistenceRangeCompleteTimerTaskScope:                   {/* contains filtered or unexported fields */},
		PersistenceCreateTasksScope:                              {/* contains filtered or unexported fields */},
		PersistenceGetTasksScope:                                 {/* contains filtered or unexported fields */},
		PersistenceCompleteTaskScope:                             {/* contains filtered or unexported fields */},
		PersistenceCompleteTasksLessThanScope:                    {/* contains filtered or unexported fields */},
		PersistenceGetOrphanTasksScope:                           {/* contains filtered or unexported fields */},
		PersistenceLeaseTaskListScope:                            {/* contains filtered or unexported fields */},
		PersistenceUpdateTaskListScope:                           {/* contains filtered or unexported fields */},
		PersistenceListTaskListScope:                             {/* contains filtered or unexported fields */},
		PersistenceDeleteTaskListScope:                           {/* contains filtered or unexported fields */},
		PersistenceGetTaskListSizeScope:                          {/* contains filtered or unexported fields */},
		PersistenceAppendHistoryEventsScope:                      {/* contains filtered or unexported fields */},
		PersistenceGetWorkflowExecutionHistoryScope:              {/* contains filtered or unexported fields */},
		PersistenceDeleteWorkflowExecutionHistoryScope:           {/* contains filtered or unexported fields */},
		PersistenceCreateDomainScope:                             {/* contains filtered or unexported fields */},
		PersistenceGetDomainScope:                                {/* contains filtered or unexported fields */},
		PersistenceUpdateDomainScope:                             {/* contains filtered or unexported fields */},
		PersistenceDeleteDomainScope:                             {/* contains filtered or unexported fields */},
		PersistenceDeleteDomainByNameScope:                       {/* contains filtered or unexported fields */},
		PersistenceListDomainsScope:                              {/* contains filtered or unexported fields */},
		PersistenceGetMetadataScope:                              {/* contains filtered or unexported fields */},
		PersistenceRecordWorkflowExecutionStartedScope:           {/* contains filtered or unexported fields */},
		PersistenceRecordWorkflowExecutionClosedScope:            {/* contains filtered or unexported fields */},
		PersistenceRecordWorkflowExecutionUninitializedScope:     {/* contains filtered or unexported fields */},
		PersistenceUpsertWorkflowExecutionScope:                  {/* contains filtered or unexported fields */},
		PersistenceListOpenWorkflowExecutionsScope:               {/* contains filtered or unexported fields */},
		PersistenceListClosedWorkflowExecutionsScope:             {/* contains filtered or unexported fields */},
		PersistenceListOpenWorkflowExecutionsByTypeScope:         {/* contains filtered or unexported fields */},
		PersistenceListClosedWorkflowExecutionsByTypeScope:       {/* contains filtered or unexported fields */},
		PersistenceListOpenWorkflowExecutionsByWorkflowIDScope:   {/* contains filtered or unexported fields */},
		PersistenceListClosedWorkflowExecutionsByWorkflowIDScope: {/* contains filtered or unexported fields */},
		PersistenceListClosedWorkflowExecutionsByStatusScope:     {/* contains filtered or unexported fields */},
		PersistenceGetClosedWorkflowExecutionScope:               {/* contains filtered or unexported fields */},
		PersistenceVisibilityDeleteWorkflowExecutionScope:        {/* contains filtered or unexported fields */},
		PersistenceDeleteUninitializedWorkflowExecutionScope:     {/* contains filtered or unexported fields */},
		PersistenceListWorkflowExecutionsScope:                   {/* contains filtered or unexported fields */},
		PersistenceScanWorkflowExecutionsScope:                   {/* contains filtered or unexported fields */},
		PersistenceCountWorkflowExecutionsScope:                  {/* contains filtered or unexported fields */},
		PersistenceAppendHistoryNodesScope:                       {/* contains filtered or unexported fields */},
		PersistenceReadHistoryBranchScope:                        {/* contains filtered or unexported fields */},
		PersistenceReadHistoryBranchByBatchScope:                 {/* contains filtered or unexported fields */},
		PersistenceReadRawHistoryBranchScope:                     {/* contains filtered or unexported fields */},
		PersistenceForkHistoryBranchScope:                        {/* contains filtered or unexported fields */},
		PersistenceDeleteHistoryBranchScope:                      {/* contains filtered or unexported fields */},
		PersistenceCompleteForkBranchScope:                       {/* contains filtered or unexported fields */},
		PersistenceGetHistoryTreeScope:                           {/* contains filtered or unexported fields */},
		PersistenceGetAllHistoryTreeBranchesScope:                {/* contains filtered or unexported fields */},
		PersistenceEnqueueMessageScope:                           {/* contains filtered or unexported fields */},
		PersistenceEnqueueMessageToDLQScope:                      {/* contains filtered or unexported fields */},
		PersistenceReadMessagesScope:                             {/* contains filtered or unexported fields */},
		PersistenceReadMessagesFromDLQScope:                      {/* contains filtered or unexported fields */},
		PersistenceDeleteMessagesBeforeScope:                     {/* contains filtered or unexported fields */},
		PersistenceDeleteMessageFromDLQScope:                     {/* contains filtered or unexported fields */},
		PersistenceRangeDeleteMessagesFromDLQScope:               {/* contains filtered or unexported fields */},
		PersistenceUpdateAckLevelScope:                           {/* contains filtered or unexported fields */},
		PersistenceGetAckLevelsScope:                             {/* contains filtered or unexported fields */},
		PersistenceUpdateDLQAckLevelScope:                        {/* contains filtered or unexported fields */},
		PersistenceGetDLQAckLevelsScope:                          {/* contains filtered or unexported fields */},
		PersistenceGetDLQSizeScope:                               {/* contains filtered or unexported fields */},
		PersistenceFetchDynamicConfigScope:                       {/* contains filtered or unexported fields */},
		PersistenceUpdateDynamicConfigScope:                      {/* contains filtered or unexported fields */},
		PersistenceShardRequestCountScope:                        {/* contains filtered or unexported fields */},
		ResolverHostNotFoundScope:                                {/* contains filtered or unexported fields */},

		ClusterMetadataArchivalConfigScope: {/* contains filtered or unexported fields */},

		HistoryClientStartWorkflowExecutionScope:            {/* contains filtered or unexported fields */},
		HistoryClientDescribeHistoryHostScope:               {/* contains filtered or unexported fields */},
		HistoryClientRemoveTaskScope:                        {/* contains filtered or unexported fields */},
		HistoryClientCloseShardScope:                        {/* contains filtered or unexported fields */},
		HistoryClientResetQueueScope:                        {/* contains filtered or unexported fields */},
		HistoryClientDescribeQueueScope:                     {/* contains filtered or unexported fields */},
		HistoryClientRecordActivityTaskHeartbeatScope:       {/* contains filtered or unexported fields */},
		HistoryClientRespondDecisionTaskCompletedScope:      {/* contains filtered or unexported fields */},
		HistoryClientRespondDecisionTaskFailedScope:         {/* contains filtered or unexported fields */},
		HistoryClientRespondActivityTaskCompletedScope:      {/* contains filtered or unexported fields */},
		HistoryClientRespondActivityTaskFailedScope:         {/* contains filtered or unexported fields */},
		HistoryClientRespondActivityTaskCanceledScope:       {/* contains filtered or unexported fields */},
		HistoryClientDescribeMutableStateScope:              {/* contains filtered or unexported fields */},
		HistoryClientGetMutableStateScope:                   {/* contains filtered or unexported fields */},
		HistoryClientPollMutableStateScope:                  {/* contains filtered or unexported fields */},
		HistoryClientResetStickyTaskListScope:               {/* contains filtered or unexported fields */},
		HistoryClientDescribeWorkflowExecutionScope:         {/* contains filtered or unexported fields */},
		HistoryClientRecordDecisionTaskStartedScope:         {/* contains filtered or unexported fields */},
		HistoryClientRecordActivityTaskStartedScope:         {/* contains filtered or unexported fields */},
		HistoryClientRequestCancelWorkflowExecutionScope:    {/* contains filtered or unexported fields */},
		HistoryClientSignalWorkflowExecutionScope:           {/* contains filtered or unexported fields */},
		HistoryClientSignalWithStartWorkflowExecutionScope:  {/* contains filtered or unexported fields */},
		HistoryClientRemoveSignalMutableStateScope:          {/* contains filtered or unexported fields */},
		HistoryClientTerminateWorkflowExecutionScope:        {/* contains filtered or unexported fields */},
		HistoryClientResetWorkflowExecutionScope:            {/* contains filtered or unexported fields */},
		HistoryClientScheduleDecisionTaskScope:              {/* contains filtered or unexported fields */},
		HistoryClientRecordChildExecutionCompletedScope:     {/* contains filtered or unexported fields */},
		HistoryClientReplicateEventsV2Scope:                 {/* contains filtered or unexported fields */},
		HistoryClientSyncShardStatusScope:                   {/* contains filtered or unexported fields */},
		HistoryClientSyncActivityScope:                      {/* contains filtered or unexported fields */},
		HistoryClientGetReplicationTasksScope:               {/* contains filtered or unexported fields */},
		HistoryClientGetDLQReplicationTasksScope:            {/* contains filtered or unexported fields */},
		HistoryClientQueryWorkflowScope:                     {/* contains filtered or unexported fields */},
		HistoryClientReapplyEventsScope:                     {/* contains filtered or unexported fields */},
		HistoryClientCountDLQMessagesScope:                  {/* contains filtered or unexported fields */},
		HistoryClientReadDLQMessagesScope:                   {/* contains filtered or unexported fields */},
		HistoryClientPurgeDLQMessagesScope:                  {/* contains filtered or unexported fields */},
		HistoryClientMergeDLQMessagesScope:                  {/* contains filtered or unexported fields */},
		HistoryClientRefreshWorkflowTasksScope:              {/* contains filtered or unexported fields */},
		HistoryClientNotifyFailoverMarkersScope:             {/* contains filtered or unexported fields */},
		HistoryClientGetCrossClusterTasksScope:              {/* contains filtered or unexported fields */},
		HistoryClientRespondCrossClusterTasksCompletedScope: {/* contains filtered or unexported fields */},
		HistoryClientGetFailoverInfoScope:                   {/* contains filtered or unexported fields */},
		HistoryClientGetDLQReplicationMessagesScope:         {/* contains filtered or unexported fields */},
		HistoryClientGetReplicationMessagesScope:            {/* contains filtered or unexported fields */},
		HistoryClientWfIDCacheScope:                         {/* contains filtered or unexported fields */},
		HistoryClientRatelimitUpdateScope:                   {/* contains filtered or unexported fields */},

		MatchingClientPollForDecisionTaskScope:                   {/* contains filtered or unexported fields */},
		MatchingClientPollForActivityTaskScope:                   {/* contains filtered or unexported fields */},
		MatchingClientAddActivityTaskScope:                       {/* contains filtered or unexported fields */},
		MatchingClientAddDecisionTaskScope:                       {/* contains filtered or unexported fields */},
		MatchingClientQueryWorkflowScope:                         {/* contains filtered or unexported fields */},
		MatchingClientRespondQueryTaskCompletedScope:             {/* contains filtered or unexported fields */},
		MatchingClientCancelOutstandingPollScope:                 {/* contains filtered or unexported fields */},
		MatchingClientDescribeTaskListScope:                      {/* contains filtered or unexported fields */},
		MatchingClientListTaskListPartitionsScope:                {/* contains filtered or unexported fields */},
		MatchingClientGetTaskListsByDomainScope:                  {/* contains filtered or unexported fields */},
		FrontendClientDeprecateDomainScope:                       {/* contains filtered or unexported fields */},
		FrontendClientDescribeDomainScope:                        {/* contains filtered or unexported fields */},
		FrontendClientDescribeTaskListScope:                      {/* contains filtered or unexported fields */},
		FrontendClientDescribeWorkflowExecutionScope:             {/* contains filtered or unexported fields */},
		FrontendClientGetWorkflowExecutionHistoryScope:           {/* contains filtered or unexported fields */},
		FrontendClientGetWorkflowExecutionRawHistoryScope:        {/* contains filtered or unexported fields */},
		FrontendClientPollForWorkflowExecutionRawHistoryScope:    {/* contains filtered or unexported fields */},
		FrontendClientListArchivedWorkflowExecutionsScope:        {/* contains filtered or unexported fields */},
		FrontendClientListClosedWorkflowExecutionsScope:          {/* contains filtered or unexported fields */},
		FrontendClientListDomainsScope:                           {/* contains filtered or unexported fields */},
		FrontendClientListOpenWorkflowExecutionsScope:            {/* contains filtered or unexported fields */},
		FrontendClientPollForActivityTaskScope:                   {/* contains filtered or unexported fields */},
		FrontendClientPollForDecisionTaskScope:                   {/* contains filtered or unexported fields */},
		FrontendClientQueryWorkflowScope:                         {/* contains filtered or unexported fields */},
		FrontendClientRecordActivityTaskHeartbeatScope:           {/* contains filtered or unexported fields */},
		FrontendClientRecordActivityTaskHeartbeatByIDScope:       {/* contains filtered or unexported fields */},
		FrontendClientRegisterDomainScope:                        {/* contains filtered or unexported fields */},
		FrontendClientRequestCancelWorkflowExecutionScope:        {/* contains filtered or unexported fields */},
		FrontendClientResetStickyTaskListScope:                   {/* contains filtered or unexported fields */},
		FrontendClientRefreshWorkflowTasksScope:                  {/* contains filtered or unexported fields */},
		FrontendClientResetWorkflowExecutionScope:                {/* contains filtered or unexported fields */},
		FrontendClientRespondActivityTaskCanceledScope:           {/* contains filtered or unexported fields */},
		FrontendClientRespondActivityTaskCanceledByIDScope:       {/* contains filtered or unexported fields */},
		FrontendClientRespondActivityTaskCompletedScope:          {/* contains filtered or unexported fields */},
		FrontendClientRespondActivityTaskCompletedByIDScope:      {/* contains filtered or unexported fields */},
		FrontendClientRespondActivityTaskFailedScope:             {/* contains filtered or unexported fields */},
		FrontendClientRespondActivityTaskFailedByIDScope:         {/* contains filtered or unexported fields */},
		FrontendClientRespondDecisionTaskCompletedScope:          {/* contains filtered or unexported fields */},
		FrontendClientRespondDecisionTaskFailedScope:             {/* contains filtered or unexported fields */},
		FrontendClientRespondQueryTaskCompletedScope:             {/* contains filtered or unexported fields */},
		FrontendClientSignalWithStartWorkflowExecutionScope:      {/* contains filtered or unexported fields */},
		FrontendClientSignalWithStartWorkflowExecutionAsyncScope: {/* contains filtered or unexported fields */},
		FrontendClientSignalWorkflowExecutionScope:               {/* contains filtered or unexported fields */},
		FrontendClientStartWorkflowExecutionScope:                {/* contains filtered or unexported fields */},
		FrontendClientStartWorkflowExecutionAsyncScope:           {/* contains filtered or unexported fields */},
		FrontendClientTerminateWorkflowExecutionScope:            {/* contains filtered or unexported fields */},
		FrontendClientUpdateDomainScope:                          {/* contains filtered or unexported fields */},
		FrontendClientListWorkflowExecutionsScope:                {/* contains filtered or unexported fields */},
		FrontendClientScanWorkflowExecutionsScope:                {/* contains filtered or unexported fields */},
		FrontendClientCountWorkflowExecutionsScope:               {/* contains filtered or unexported fields */},
		FrontendClientGetSearchAttributesScope:                   {/* contains filtered or unexported fields */},
		FrontendClientGetReplicationTasksScope:                   {/* contains filtered or unexported fields */},
		FrontendClientGetDomainReplicationTasksScope:             {/* contains filtered or unexported fields */},
		FrontendClientGetDLQReplicationTasksScope:                {/* contains filtered or unexported fields */},
		FrontendClientReapplyEventsScope:                         {/* contains filtered or unexported fields */},
		FrontendClientGetClusterInfoScope:                        {/* contains filtered or unexported fields */},
		FrontendClientListTaskListPartitionsScope:                {/* contains filtered or unexported fields */},
		FrontendClientGetTaskListsByDomainScope:                  {/* contains filtered or unexported fields */},
		FrontendClientRestartWorkflowExecutionScope:              {/* contains filtered or unexported fields */},

		AdminClientGetReplicationTasksScope:                   {/* contains filtered or unexported fields */},
		AdminClientAddSearchAttributeScope:                    {/* contains filtered or unexported fields */},
		AdminClientDescribeHistoryHostScope:                   {/* contains filtered or unexported fields */},
		AdminClientDescribeShardDistributionScope:             {/* contains filtered or unexported fields */},
		AdminClientDescribeWorkflowExecutionScope:             {/* contains filtered or unexported fields */},
		AdminClientGetWorkflowExecutionRawHistoryV2Scope:      {/* contains filtered or unexported fields */},
		AdminClientDescribeClusterScope:                       {/* contains filtered or unexported fields */},
		AdminClientRefreshWorkflowTasksScope:                  {/* contains filtered or unexported fields */},
		AdminClientResendReplicationTasksScope:                {/* contains filtered or unexported fields */},
		AdminClientCloseShardScope:                            {/* contains filtered or unexported fields */},
		AdminClientRemoveTaskScope:                            {/* contains filtered or unexported fields */},
		AdminClientResetQueueScope:                            {/* contains filtered or unexported fields */},
		AdminClientDescribeQueueScope:                         {/* contains filtered or unexported fields */},
		AdminClientCountDLQMessagesScope:                      {/* contains filtered or unexported fields */},
		AdminClientReadDLQMessagesScope:                       {/* contains filtered or unexported fields */},
		AdminClientPurgeDLQMessagesScope:                      {/* contains filtered or unexported fields */},
		AdminClientMergeDLQMessagesScope:                      {/* contains filtered or unexported fields */},
		AdminClientGetCrossClusterTasksScope:                  {/* contains filtered or unexported fields */},
		AdminClientRespondCrossClusterTasksCompletedScope:     {/* contains filtered or unexported fields */},
		AdminClientGetDynamicConfigScope:                      {/* contains filtered or unexported fields */},
		AdminClientUpdateDynamicConfigScope:                   {/* contains filtered or unexported fields */},
		AdminClientRestoreDynamicConfigScope:                  {/* contains filtered or unexported fields */},
		AdminClientListDynamicConfigScope:                     {/* contains filtered or unexported fields */},
		AdminClientGetGlobalIsolationGroupsScope:              {/* contains filtered or unexported fields */},
		AdminClientUpdateGlobalIsolationGroupsScope:           {/* contains filtered or unexported fields */},
		AdminClientGetDomainIsolationGroupsScope:              {/* contains filtered or unexported fields */},
		AdminClientUpdateDomainIsolationGroupsScope:           {/* contains filtered or unexported fields */},
		AdminClientDeleteWorkflowScope:                        {/* contains filtered or unexported fields */},
		AdminClientMaintainCorruptWorkflowScope:               {/* contains filtered or unexported fields */},
		AdminClientReapplyEventsScope:                         {/* contains filtered or unexported fields */},
		AdminClientGetDLQReplicationMessagesScope:             {/* contains filtered or unexported fields */},
		AdminClientGetDomainReplicationMessagesScope:          {/* contains filtered or unexported fields */},
		AdminClientGetReplicationMessagesScope:                {/* contains filtered or unexported fields */},
		AdminClientGetDomainAsyncWorkflowConfiguratonScope:    {/* contains filtered or unexported fields */},
		AdminClientUpdateDomainAsyncWorkflowConfiguratonScope: {/* contains filtered or unexported fields */},

		DCRedirectionDeprecateDomainScope:                       {/* contains filtered or unexported fields */},
		DCRedirectionDescribeDomainScope:                        {/* contains filtered or unexported fields */},
		DCRedirectionDescribeTaskListScope:                      {/* contains filtered or unexported fields */},
		DCRedirectionDescribeWorkflowExecutionScope:             {/* contains filtered or unexported fields */},
		DCRedirectionGetWorkflowExecutionHistoryScope:           {/* contains filtered or unexported fields */},
		DCRedirectionGetWorkflowExecutionRawHistoryScope:        {/* contains filtered or unexported fields */},
		DCRedirectionPollForWorklfowExecutionRawHistoryScope:    {/* contains filtered or unexported fields */},
		DCRedirectionListArchivedWorkflowExecutionsScope:        {/* contains filtered or unexported fields */},
		DCRedirectionListClosedWorkflowExecutionsScope:          {/* contains filtered or unexported fields */},
		DCRedirectionListDomainsScope:                           {/* contains filtered or unexported fields */},
		DCRedirectionListOpenWorkflowExecutionsScope:            {/* contains filtered or unexported fields */},
		DCRedirectionListWorkflowExecutionsScope:                {/* contains filtered or unexported fields */},
		DCRedirectionScanWorkflowExecutionsScope:                {/* contains filtered or unexported fields */},
		DCRedirectionCountWorkflowExecutionsScope:               {/* contains filtered or unexported fields */},
		DCRedirectionGetSearchAttributesScope:                   {/* contains filtered or unexported fields */},
		DCRedirectionPollForActivityTaskScope:                   {/* contains filtered or unexported fields */},
		DCRedirectionPollForDecisionTaskScope:                   {/* contains filtered or unexported fields */},
		DCRedirectionQueryWorkflowScope:                         {/* contains filtered or unexported fields */},
		DCRedirectionRecordActivityTaskHeartbeatScope:           {/* contains filtered or unexported fields */},
		DCRedirectionRecordActivityTaskHeartbeatByIDScope:       {/* contains filtered or unexported fields */},
		DCRedirectionRegisterDomainScope:                        {/* contains filtered or unexported fields */},
		DCRedirectionRequestCancelWorkflowExecutionScope:        {/* contains filtered or unexported fields */},
		DCRedirectionResetStickyTaskListScope:                   {/* contains filtered or unexported fields */},
		DCRedirectionResetWorkflowExecutionScope:                {/* contains filtered or unexported fields */},
		DCRedirectionRespondActivityTaskCanceledScope:           {/* contains filtered or unexported fields */},
		DCRedirectionRespondActivityTaskCanceledByIDScope:       {/* contains filtered or unexported fields */},
		DCRedirectionRespondActivityTaskCompletedScope:          {/* contains filtered or unexported fields */},
		DCRedirectionRespondActivityTaskCompletedByIDScope:      {/* contains filtered or unexported fields */},
		DCRedirectionRespondActivityTaskFailedScope:             {/* contains filtered or unexported fields */},
		DCRedirectionRespondActivityTaskFailedByIDScope:         {/* contains filtered or unexported fields */},
		DCRedirectionRespondDecisionTaskCompletedScope:          {/* contains filtered or unexported fields */},
		DCRedirectionRespondDecisionTaskFailedScope:             {/* contains filtered or unexported fields */},
		DCRedirectionRespondQueryTaskCompletedScope:             {/* contains filtered or unexported fields */},
		DCRedirectionSignalWithStartWorkflowExecutionScope:      {/* contains filtered or unexported fields */},
		DCRedirectionSignalWithStartWorkflowExecutionAsyncScope: {/* contains filtered or unexported fields */},
		DCRedirectionSignalWorkflowExecutionScope:               {/* contains filtered or unexported fields */},
		DCRedirectionStartWorkflowExecutionScope:                {/* contains filtered or unexported fields */},
		DCRedirectionStartWorkflowExecutionAsyncScope:           {/* contains filtered or unexported fields */},
		DCRedirectionTerminateWorkflowExecutionScope:            {/* contains filtered or unexported fields */},
		DCRedirectionUpdateDomainScope:                          {/* contains filtered or unexported fields */},
		DCRedirectionListTaskListPartitionsScope:                {/* contains filtered or unexported fields */},
		DCRedirectionGetTaskListsByDomainScope:                  {/* contains filtered or unexported fields */},
		DCRedirectionRefreshWorkflowTasksScope:                  {/* contains filtered or unexported fields */},
		DCRedirectionRestartWorkflowExecutionScope:              {/* contains filtered or unexported fields */},

		MessagingClientPublishScope:      {/* contains filtered or unexported fields */},
		MessagingClientPublishBatchScope: {/* contains filtered or unexported fields */},
		MessagingClientConsumerScope:     {/* contains filtered or unexported fields */},

		DomainCacheScope:                                      {/* contains filtered or unexported fields */},
		HistoryRereplicationByTransferTaskScope:               {/* contains filtered or unexported fields */},
		HistoryRereplicationByTimerTaskScope:                  {/* contains filtered or unexported fields */},
		HistoryRereplicationByHistoryReplicationScope:         {/* contains filtered or unexported fields */},
		HistoryRereplicationByHistoryMetadataReplicationScope: {/* contains filtered or unexported fields */},
		HistoryRereplicationByActivityReplicationScope:        {/* contains filtered or unexported fields */},

		ElasticsearchRecordWorkflowExecutionStartedScope:           {/* contains filtered or unexported fields */},
		ElasticsearchRecordWorkflowExecutionClosedScope:            {/* contains filtered or unexported fields */},
		ElasticsearchRecordWorkflowExecutionUninitializedScope:     {/* contains filtered or unexported fields */},
		ElasticsearchUpsertWorkflowExecutionScope:                  {/* contains filtered or unexported fields */},
		ElasticsearchListOpenWorkflowExecutionsScope:               {/* contains filtered or unexported fields */},
		ElasticsearchListClosedWorkflowExecutionsScope:             {/* contains filtered or unexported fields */},
		ElasticsearchListOpenWorkflowExecutionsByTypeScope:         {/* contains filtered or unexported fields */},
		ElasticsearchListClosedWorkflowExecutionsByTypeScope:       {/* contains filtered or unexported fields */},
		ElasticsearchListOpenWorkflowExecutionsByWorkflowIDScope:   {/* contains filtered or unexported fields */},
		ElasticsearchListClosedWorkflowExecutionsByWorkflowIDScope: {/* contains filtered or unexported fields */},
		ElasticsearchListClosedWorkflowExecutionsByStatusScope:     {/* contains filtered or unexported fields */},
		ElasticsearchGetClosedWorkflowExecutionScope:               {/* contains filtered or unexported fields */},
		ElasticsearchListWorkflowExecutionsScope:                   {/* contains filtered or unexported fields */},
		ElasticsearchScanWorkflowExecutionsScope:                   {/* contains filtered or unexported fields */},
		ElasticsearchCountWorkflowExecutionsScope:                  {/* contains filtered or unexported fields */},
		ElasticsearchDeleteWorkflowExecutionsScope:                 {/* contains filtered or unexported fields */},
		ElasticsearchDeleteUninitializedWorkflowExecutionsScope:    {/* contains filtered or unexported fields */},
		PinotRecordWorkflowExecutionStartedScope:                   {/* contains filtered or unexported fields */},
		PinotRecordWorkflowExecutionClosedScope:                    {/* contains filtered or unexported fields */},
		PinotRecordWorkflowExecutionUninitializedScope:             {/* contains filtered or unexported fields */},
		PinotUpsertWorkflowExecutionScope:                          {/* contains filtered or unexported fields */},
		PinotListOpenWorkflowExecutionsScope:                       {/* contains filtered or unexported fields */},
		PinotListClosedWorkflowExecutionsScope:                     {/* contains filtered or unexported fields */},
		PinotListOpenWorkflowExecutionsByTypeScope:                 {/* contains filtered or unexported fields */},
		PinotListClosedWorkflowExecutionsByTypeScope:               {/* contains filtered or unexported fields */},
		PinotListOpenWorkflowExecutionsByWorkflowIDScope:           {/* contains filtered or unexported fields */},
		PinotListClosedWorkflowExecutionsByWorkflowIDScope:         {/* contains filtered or unexported fields */},
		PinotListClosedWorkflowExecutionsByStatusScope:             {/* contains filtered or unexported fields */},
		PinotGetClosedWorkflowExecutionScope:                       {/* contains filtered or unexported fields */},
		PinotListWorkflowExecutionsScope:                           {/* contains filtered or unexported fields */},
		PinotScanWorkflowExecutionsScope:                           {/* contains filtered or unexported fields */},
		PinotCountWorkflowExecutionsScope:                          {/* contains filtered or unexported fields */},
		PinotDeleteWorkflowExecutionsScope:                         {/* contains filtered or unexported fields */},
		PinotDeleteUninitializedWorkflowExecutionsScope:            {/* contains filtered or unexported fields */},
		SequentialTaskProcessingScope:                              {/* contains filtered or unexported fields */},
		ParallelTaskProcessingScope:                                {/* contains filtered or unexported fields */},
		TaskSchedulerScope:                                         {/* contains filtered or unexported fields */},

		HistoryArchiverScope:    {/* contains filtered or unexported fields */},
		VisibilityArchiverScope: {/* contains filtered or unexported fields */},

		BlobstoreClientUploadScope:          {/* contains filtered or unexported fields */},
		BlobstoreClientDownloadScope:        {/* contains filtered or unexported fields */},
		BlobstoreClientGetMetadataScope:     {/* contains filtered or unexported fields */},
		BlobstoreClientExistsScope:          {/* contains filtered or unexported fields */},
		BlobstoreClientDeleteScope:          {/* contains filtered or unexported fields */},
		BlobstoreClientDirectoryExistsScope: {/* contains filtered or unexported fields */},

		GetAvailableIsolationGroupsScope: {/* contains filtered or unexported fields */},

		DomainFailoverScope:         {/* contains filtered or unexported fields */},
		TaskValidatorScope:          {/* contains filtered or unexported fields */},
		DomainReplicationQueueScope: {/* contains filtered or unexported fields */},
		ClusterMetadataScope:        {/* contains filtered or unexported fields */},
		HashringScope:               {/* contains filtered or unexported fields */},

		GlobalRatelimiter:           {/* contains filtered or unexported fields */},
		GlobalRatelimiterAggregator: {/* contains filtered or unexported fields */},
	},

	Frontend: {

		AdminRemoveTaskScope:                        {/* contains filtered or unexported fields */},
		AdminCloseShardScope:                        {/* contains filtered or unexported fields */},
		AdminResetQueueScope:                        {/* contains filtered or unexported fields */},
		AdminDescribeQueueScope:                     {/* contains filtered or unexported fields */},
		AdminCountDLQMessagesScope:                  {/* contains filtered or unexported fields */},
		AdminReadDLQMessagesScope:                   {/* contains filtered or unexported fields */},
		AdminPurgeDLQMessagesScope:                  {/* contains filtered or unexported fields */},
		AdminMergeDLQMessagesScope:                  {/* contains filtered or unexported fields */},
		AdminDescribeHistoryHostScope:               {/* contains filtered or unexported fields */},
		AdminDescribeShardDistributionScope:         {/* contains filtered or unexported fields */},
		AdminDescribeClusterScope:                   {/* contains filtered or unexported fields */},
		AdminAddSearchAttributeScope:                {/* contains filtered or unexported fields */},
		AdminDescribeWorkflowExecutionScope:         {/* contains filtered or unexported fields */},
		AdminGetWorkflowExecutionRawHistoryScope:    {/* contains filtered or unexported fields */},
		AdminGetWorkflowExecutionRawHistoryV2Scope:  {/* contains filtered or unexported fields */},
		AdminGetReplicationMessagesScope:            {/* contains filtered or unexported fields */},
		AdminGetDomainReplicationMessagesScope:      {/* contains filtered or unexported fields */},
		AdminGetDLQReplicationMessagesScope:         {/* contains filtered or unexported fields */},
		AdminReapplyEventsScope:                     {/* contains filtered or unexported fields */},
		AdminRefreshWorkflowTasksScope:              {/* contains filtered or unexported fields */},
		AdminResendReplicationTasksScope:            {/* contains filtered or unexported fields */},
		AdminGetCrossClusterTasksScope:              {/* contains filtered or unexported fields */},
		AdminRespondCrossClusterTasksCompletedScope: {/* contains filtered or unexported fields */},
		AdminGetDynamicConfigScope:                  {/* contains filtered or unexported fields */},
		AdminUpdateDynamicConfigScope:               {/* contains filtered or unexported fields */},
		AdminRestoreDynamicConfigScope:              {/* contains filtered or unexported fields */},
		AdminListDynamicConfigScope:                 {/* contains filtered or unexported fields */},
		AdminDeleteWorkflowScope:                    {/* contains filtered or unexported fields */},
		GetGlobalIsolationGroups:                    {/* contains filtered or unexported fields */},
		UpdateGlobalIsolationGroups:                 {/* contains filtered or unexported fields */},
		GetDomainIsolationGroups:                    {/* contains filtered or unexported fields */},
		UpdateDomainIsolationGroups:                 {/* contains filtered or unexported fields */},
		GetDomainAsyncWorkflowConfiguraton:          {/* contains filtered or unexported fields */},
		UpdateDomainAsyncWorkflowConfiguraton:       {/* contains filtered or unexported fields */},

		FrontendRestartWorkflowExecutionScope:              {/* contains filtered or unexported fields */},
		FrontendStartWorkflowExecutionScope:                {/* contains filtered or unexported fields */},
		FrontendStartWorkflowExecutionAsyncScope:           {/* contains filtered or unexported fields */},
		FrontendPollForDecisionTaskScope:                   {/* contains filtered or unexported fields */},
		FrontendPollForActivityTaskScope:                   {/* contains filtered or unexported fields */},
		FrontendRecordActivityTaskHeartbeatScope:           {/* contains filtered or unexported fields */},
		FrontendRecordActivityTaskHeartbeatByIDScope:       {/* contains filtered or unexported fields */},
		FrontendRespondDecisionTaskCompletedScope:          {/* contains filtered or unexported fields */},
		FrontendRespondDecisionTaskFailedScope:             {/* contains filtered or unexported fields */},
		FrontendRespondQueryTaskCompletedScope:             {/* contains filtered or unexported fields */},
		FrontendRespondActivityTaskCompletedScope:          {/* contains filtered or unexported fields */},
		FrontendRespondActivityTaskFailedScope:             {/* contains filtered or unexported fields */},
		FrontendRespondActivityTaskCanceledScope:           {/* contains filtered or unexported fields */},
		FrontendRespondActivityTaskCompletedByIDScope:      {/* contains filtered or unexported fields */},
		FrontendRespondActivityTaskFailedByIDScope:         {/* contains filtered or unexported fields */},
		FrontendRespondActivityTaskCanceledByIDScope:       {/* contains filtered or unexported fields */},
		FrontendGetWorkflowExecutionHistoryScope:           {/* contains filtered or unexported fields */},
		FrontendGetWorkflowExecutionRawHistoryScope:        {/* contains filtered or unexported fields */},
		FrontendPollForWorklfowExecutionRawHistoryScope:    {/* contains filtered or unexported fields */},
		FrontendSignalWorkflowExecutionScope:               {/* contains filtered or unexported fields */},
		FrontendSignalWithStartWorkflowExecutionScope:      {/* contains filtered or unexported fields */},
		FrontendSignalWithStartWorkflowExecutionAsyncScope: {/* contains filtered or unexported fields */},
		FrontendTerminateWorkflowExecutionScope:            {/* contains filtered or unexported fields */},
		FrontendResetWorkflowExecutionScope:                {/* contains filtered or unexported fields */},
		FrontendRequestCancelWorkflowExecutionScope:        {/* contains filtered or unexported fields */},
		FrontendListArchivedWorkflowExecutionsScope:        {/* contains filtered or unexported fields */},
		FrontendListOpenWorkflowExecutionsScope:            {/* contains filtered or unexported fields */},
		FrontendListClosedWorkflowExecutionsScope:          {/* contains filtered or unexported fields */},
		FrontendListWorkflowExecutionsScope:                {/* contains filtered or unexported fields */},
		FrontendScanWorkflowExecutionsScope:                {/* contains filtered or unexported fields */},
		FrontendCountWorkflowExecutionsScope:               {/* contains filtered or unexported fields */},
		FrontendRegisterDomainScope:                        {/* contains filtered or unexported fields */},
		FrontendDescribeDomainScope:                        {/* contains filtered or unexported fields */},
		FrontendListDomainsScope:                           {/* contains filtered or unexported fields */},
		FrontendUpdateDomainScope:                          {/* contains filtered or unexported fields */},
		FrontendDeprecateDomainScope:                       {/* contains filtered or unexported fields */},
		FrontendQueryWorkflowScope:                         {/* contains filtered or unexported fields */},
		FrontendDescribeWorkflowExecutionScope:             {/* contains filtered or unexported fields */},
		FrontendListTaskListPartitionsScope:                {/* contains filtered or unexported fields */},
		FrontendGetTaskListsByDomainScope:                  {/* contains filtered or unexported fields */},
		FrontendRefreshWorkflowTasksScope:                  {/* contains filtered or unexported fields */},
		FrontendDescribeTaskListScope:                      {/* contains filtered or unexported fields */},
		FrontendResetStickyTaskListScope:                   {/* contains filtered or unexported fields */},
		FrontendGetSearchAttributesScope:                   {/* contains filtered or unexported fields */},
		FrontendGetClusterInfoScope:                        {/* contains filtered or unexported fields */},
	},

	History: {
		HistoryStartWorkflowExecutionScope:                              {/* contains filtered or unexported fields */},
		HistoryRecordActivityTaskHeartbeatScope:                         {/* contains filtered or unexported fields */},
		HistoryRespondDecisionTaskCompletedScope:                        {/* contains filtered or unexported fields */},
		HistoryRespondDecisionTaskFailedScope:                           {/* contains filtered or unexported fields */},
		HistoryRespondActivityTaskCompletedScope:                        {/* contains filtered or unexported fields */},
		HistoryRespondActivityTaskFailedScope:                           {/* contains filtered or unexported fields */},
		HistoryRespondActivityTaskCanceledScope:                         {/* contains filtered or unexported fields */},
		HistoryResetQueueScope:                                          {/* contains filtered or unexported fields */},
		HistoryDescribeQueueScope:                                       {/* contains filtered or unexported fields */},
		HistoryDescribeMutabelStateScope:                                {/* contains filtered or unexported fields */},
		HistoryGetMutableStateScope:                                     {/* contains filtered or unexported fields */},
		HistoryPollMutableStateScope:                                    {/* contains filtered or unexported fields */},
		HistoryResetStickyTaskListScope:                                 {/* contains filtered or unexported fields */},
		HistoryDescribeWorkflowExecutionScope:                           {/* contains filtered or unexported fields */},
		HistoryRecordDecisionTaskStartedScope:                           {/* contains filtered or unexported fields */},
		HistoryRecordActivityTaskStartedScope:                           {/* contains filtered or unexported fields */},
		HistorySignalWorkflowExecutionScope:                             {/* contains filtered or unexported fields */},
		HistorySignalWithStartWorkflowExecutionScope:                    {/* contains filtered or unexported fields */},
		HistoryRemoveSignalMutableStateScope:                            {/* contains filtered or unexported fields */},
		HistoryTerminateWorkflowExecutionScope:                          {/* contains filtered or unexported fields */},
		HistoryResetWorkflowExecutionScope:                              {/* contains filtered or unexported fields */},
		HistoryQueryWorkflowScope:                                       {/* contains filtered or unexported fields */},
		HistoryProcessDeleteHistoryEventScope:                           {/* contains filtered or unexported fields */},
		HistoryScheduleDecisionTaskScope:                                {/* contains filtered or unexported fields */},
		HistoryRecordChildExecutionCompletedScope:                       {/* contains filtered or unexported fields */},
		HistoryRequestCancelWorkflowExecutionScope:                      {/* contains filtered or unexported fields */},
		HistoryReplicateEventsScope:                                     {/* contains filtered or unexported fields */},
		HistoryReplicateRawEventsScope:                                  {/* contains filtered or unexported fields */},
		HistoryReplicateEventsV2Scope:                                   {/* contains filtered or unexported fields */},
		HistorySyncShardStatusScope:                                     {/* contains filtered or unexported fields */},
		HistorySyncActivityScope:                                        {/* contains filtered or unexported fields */},
		HistoryDescribeMutableStateScope:                                {/* contains filtered or unexported fields */},
		HistoryGetReplicationMessagesScope:                              {/* contains filtered or unexported fields */},
		HistoryGetDLQReplicationMessagesScope:                           {/* contains filtered or unexported fields */},
		HistoryCountDLQMessagesScope:                                    {/* contains filtered or unexported fields */},
		HistoryReadDLQMessagesScope:                                     {/* contains filtered or unexported fields */},
		HistoryPurgeDLQMessagesScope:                                    {/* contains filtered or unexported fields */},
		HistoryMergeDLQMessagesScope:                                    {/* contains filtered or unexported fields */},
		HistoryShardControllerScope:                                     {/* contains filtered or unexported fields */},
		HistoryReapplyEventsScope:                                       {/* contains filtered or unexported fields */},
		HistoryRefreshWorkflowTasksScope:                                {/* contains filtered or unexported fields */},
		HistoryNotifyFailoverMarkersScope:                               {/* contains filtered or unexported fields */},
		HistoryGetCrossClusterTasksScope:                                {/* contains filtered or unexported fields */},
		HistoryRespondCrossClusterTasksCompletedScope:                   {/* contains filtered or unexported fields */},
		HistoryGetFailoverInfoScope:                                     {/* contains filtered or unexported fields */},
		HistoryRatelimitUpdateScope:                                     {/* contains filtered or unexported fields */},
		TaskPriorityAssignerScope:                                       {/* contains filtered or unexported fields */},
		TransferQueueProcessorScope:                                     {/* contains filtered or unexported fields */},
		TransferActiveQueueProcessorScope:                               {/* contains filtered or unexported fields */},
		TransferStandbyQueueProcessorScope:                              {/* contains filtered or unexported fields */},
		TransferActiveTaskActivityScope:                                 {/* contains filtered or unexported fields */},
		TransferActiveTaskDecisionScope:                                 {/* contains filtered or unexported fields */},
		TransferActiveTaskCloseExecutionScope:                           {/* contains filtered or unexported fields */},
		TransferActiveTaskCancelExecutionScope:                          {/* contains filtered or unexported fields */},
		TransferActiveTaskSignalExecutionScope:                          {/* contains filtered or unexported fields */},
		TransferActiveTaskStartChildExecutionScope:                      {/* contains filtered or unexported fields */},
		TransferActiveTaskRecordWorkflowStartedScope:                    {/* contains filtered or unexported fields */},
		TransferActiveTaskResetWorkflowScope:                            {/* contains filtered or unexported fields */},
		TransferActiveTaskUpsertWorkflowSearchAttributesScope:           {/* contains filtered or unexported fields */},
		TransferActiveTaskRecordWorkflowClosedScope:                     {/* contains filtered or unexported fields */},
		TransferActiveTaskRecordChildExecutionCompletedScope:            {/* contains filtered or unexported fields */},
		TransferActiveTaskApplyParentClosePolicyScope:                   {/* contains filtered or unexported fields */},
		TransferStandbyTaskActivityScope:                                {/* contains filtered or unexported fields */},
		TransferStandbyTaskDecisionScope:                                {/* contains filtered or unexported fields */},
		TransferStandbyTaskCloseExecutionScope:                          {/* contains filtered or unexported fields */},
		TransferStandbyTaskCancelExecutionScope:                         {/* contains filtered or unexported fields */},
		TransferStandbyTaskSignalExecutionScope:                         {/* contains filtered or unexported fields */},
		TransferStandbyTaskStartChildExecutionScope:                     {/* contains filtered or unexported fields */},
		TransferStandbyTaskRecordWorkflowStartedScope:                   {/* contains filtered or unexported fields */},
		TransferStandbyTaskResetWorkflowScope:                           {/* contains filtered or unexported fields */},
		TransferStandbyTaskUpsertWorkflowSearchAttributesScope:          {/* contains filtered or unexported fields */},
		TransferStandbyTaskRecordWorkflowClosedScope:                    {/* contains filtered or unexported fields */},
		TransferStandbyTaskRecordChildExecutionCompletedScope:           {/* contains filtered or unexported fields */},
		TransferStandbyTaskApplyParentClosePolicyScope:                  {/* contains filtered or unexported fields */},
		TimerQueueProcessorScope:                                        {/* contains filtered or unexported fields */},
		TimerActiveQueueProcessorScope:                                  {/* contains filtered or unexported fields */},
		TimerStandbyQueueProcessorScope:                                 {/* contains filtered or unexported fields */},
		TimerActiveTaskActivityTimeoutScope:                             {/* contains filtered or unexported fields */},
		TimerActiveTaskDecisionTimeoutScope:                             {/* contains filtered or unexported fields */},
		TimerActiveTaskUserTimerScope:                                   {/* contains filtered or unexported fields */},
		TimerActiveTaskWorkflowTimeoutScope:                             {/* contains filtered or unexported fields */},
		TimerActiveTaskActivityRetryTimerScope:                          {/* contains filtered or unexported fields */},
		TimerActiveTaskWorkflowBackoffTimerScope:                        {/* contains filtered or unexported fields */},
		TimerActiveTaskDeleteHistoryEventScope:                          {/* contains filtered or unexported fields */},
		TimerStandbyTaskActivityTimeoutScope:                            {/* contains filtered or unexported fields */},
		TimerStandbyTaskDecisionTimeoutScope:                            {/* contains filtered or unexported fields */},
		TimerStandbyTaskUserTimerScope:                                  {/* contains filtered or unexported fields */},
		TimerStandbyTaskWorkflowTimeoutScope:                            {/* contains filtered or unexported fields */},
		TimerStandbyTaskActivityRetryTimerScope:                         {/* contains filtered or unexported fields */},
		TimerStandbyTaskWorkflowBackoffTimerScope:                       {/* contains filtered or unexported fields */},
		TimerStandbyTaskDeleteHistoryEventScope:                         {/* contains filtered or unexported fields */},
		CrossClusterQueueProcessorScope:                                 {/* contains filtered or unexported fields */},
		CrossClusterTaskProcessorScope:                                  {/* contains filtered or unexported fields */},
		CrossClusterTaskFetcherScope:                                    {/* contains filtered or unexported fields */},
		CrossClusterSourceTaskStartChildExecutionScope:                  {/* contains filtered or unexported fields */},
		CrossClusterSourceTaskCancelExecutionScope:                      {/* contains filtered or unexported fields */},
		CrossClusterSourceTaskSignalExecutionScope:                      {/* contains filtered or unexported fields */},
		CrossClusterSourceTaskRecordChildWorkflowExecutionCompleteScope: {/* contains filtered or unexported fields */},
		CrossClusterSourceTaskApplyParentClosePolicyScope:               {/* contains filtered or unexported fields */},
		CrossClusterTargetTaskStartChildExecutionScope:                  {/* contains filtered or unexported fields */},
		CrossClusterTargetTaskCancelExecutionScope:                      {/* contains filtered or unexported fields */},
		CrossClusterTargetTaskSignalExecutionScope:                      {/* contains filtered or unexported fields */},
		CrossClusterTargetTaskRecordChildWorkflowExecutionCompleteScope: {/* contains filtered or unexported fields */},
		CrossClusterTargetTaskApplyParentClosePolicyScope:               {/* contains filtered or unexported fields */},
		HistoryEventNotificationScope:                                   {/* contains filtered or unexported fields */},
		ReplicatorQueueProcessorScope:                                   {/* contains filtered or unexported fields */},
		ReplicatorCacheManagerScope:                                     {/* contains filtered or unexported fields */},
		ReplicatorTaskHistoryScope:                                      {/* contains filtered or unexported fields */},
		ReplicatorTaskSyncActivityScope:                                 {/* contains filtered or unexported fields */},
		ReplicateHistoryEventsScope:                                     {/* contains filtered or unexported fields */},
		ReplicationMetricEmitterScope:                                   {/* contains filtered or unexported fields */},
		ShardInfoScope:                                                  {/* contains filtered or unexported fields */},
		WorkflowContextScope:                                            {/* contains filtered or unexported fields */},
		HistoryCacheGetAndCreateScope:                                   {/* contains filtered or unexported fields */},
		HistoryCacheGetOrCreateScope:                                    {/* contains filtered or unexported fields */},
		HistoryCacheGetOrCreateCurrentScope:                             {/* contains filtered or unexported fields */},
		HistoryCacheGetCurrentExecutionScope:                            {/* contains filtered or unexported fields */},
		EventsCacheGetEventScope:                                        {/* contains filtered or unexported fields */},
		EventsCachePutEventScope:                                        {/* contains filtered or unexported fields */},
		EventsCacheGetFromStoreScope:                                    {/* contains filtered or unexported fields */},
		ExecutionSizeStatsScope:                                         {/* contains filtered or unexported fields */},
		ExecutionCountStatsScope:                                        {/* contains filtered or unexported fields */},
		SessionSizeStatsScope:                                           {/* contains filtered or unexported fields */},
		SessionCountStatsScope:                                          {/* contains filtered or unexported fields */},
		WorkflowCompletionStatsScope:                                    {/* contains filtered or unexported fields */},
		ArchiverClientScope:                                             {/* contains filtered or unexported fields */},
		ReplicationTaskFetcherScope:                                     {/* contains filtered or unexported fields */},
		ReplicationTaskCleanupScope:                                     {/* contains filtered or unexported fields */},
		ReplicationDLQStatsScope:                                        {/* contains filtered or unexported fields */},
		FailoverMarkerScope:                                             {/* contains filtered or unexported fields */},
		HistoryReplicationV2TaskScope:                                   {/* contains filtered or unexported fields */},
		SyncActivityTaskScope:                                           {/* contains filtered or unexported fields */},
		LargeExecutionSizeShardScope:                                    {/* contains filtered or unexported fields */},
		LargeExecutionCountShardScope:                                   {/* contains filtered or unexported fields */},
		LargeExecutionBlobShardScope:                                    {/* contains filtered or unexported fields */},
	},

	Matching: {
		MatchingPollForDecisionTaskScope:       {/* contains filtered or unexported fields */},
		MatchingPollForActivityTaskScope:       {/* contains filtered or unexported fields */},
		MatchingAddActivityTaskScope:           {/* contains filtered or unexported fields */},
		MatchingAddDecisionTaskScope:           {/* contains filtered or unexported fields */},
		MatchingAddTaskScope:                   {/* contains filtered or unexported fields */},
		MatchingTaskListMgrScope:               {/* contains filtered or unexported fields */},
		MatchingQueryWorkflowScope:             {/* contains filtered or unexported fields */},
		MatchingRespondQueryTaskCompletedScope: {/* contains filtered or unexported fields */},
		MatchingCancelOutstandingPollScope:     {/* contains filtered or unexported fields */},
		MatchingDescribeTaskListScope:          {/* contains filtered or unexported fields */},
		MatchingListTaskListPartitionsScope:    {/* contains filtered or unexported fields */},
		MatchingGetTaskListsByDomainScope:      {/* contains filtered or unexported fields */},
	},

	Worker: {
		ReplicatorScope:                        {/* contains filtered or unexported fields */},
		DomainReplicationTaskScope:             {/* contains filtered or unexported fields */},
		ESProcessorScope:                       {/* contains filtered or unexported fields */},
		IndexProcessorScope:                    {/* contains filtered or unexported fields */},
		ArchiverDeleteHistoryActivityScope:     {/* contains filtered or unexported fields */},
		ArchiverUploadHistoryActivityScope:     {/* contains filtered or unexported fields */},
		ArchiverArchiveVisibilityActivityScope: {/* contains filtered or unexported fields */},
		ArchiverScope:                          {/* contains filtered or unexported fields */},
		ArchiverPumpScope:                      {/* contains filtered or unexported fields */},
		ArchiverArchivalWorkflowScope:          {/* contains filtered or unexported fields */},
		TaskListScavengerScope:                 {/* contains filtered or unexported fields */},
		ExecutionsScannerScope:                 {/* contains filtered or unexported fields */},
		ShardScannerScope:                      {/* contains filtered or unexported fields */},
		CheckDataCorruptionWorkflowScope:       {/* contains filtered or unexported fields */},
		ExecutionsFixerScope:                   {/* contains filtered or unexported fields */},
		HistoryScavengerScope:                  {/* contains filtered or unexported fields */},
		BatcherScope:                           {/* contains filtered or unexported fields */},
		ParentClosePolicyProcessorScope:        {/* contains filtered or unexported fields */},
		ESAnalyzerScope:                        {/* contains filtered or unexported fields */},
		AsyncWorkflowConsumerScope:             {/* contains filtered or unexported fields */},
	},
}

ScopeDefs record the scopes for all services

View Source
var ServiceMetrics = map[MetricName]MetricType{
	RestartCount: Counter,
}

ServiceMetrics are types for common service base metrics

Functions

func NopStopwatch added in v0.6.0

func NopStopwatch() tally.Stopwatch

NopStopwatch return a fake tally stop watch

func TagContext added in v0.20.0

func TagContext(ctx context.Context, ctxTags ...Tag) context.Context

Types

type Client

type Client interface {
	// IncCounter increments a counter metric
	IncCounter(scope int, counter int)
	// AddCounter adds delta to the counter metric
	AddCounter(scope int, counter int, delta int64)
	// StartTimer starts a timer for the given
	// metric name. Time will be recorded when stopwatch is stopped.
	StartTimer(scope int, timer int) tally.Stopwatch
	// RecordTimer starts a timer for the given
	// metric name
	RecordTimer(scope int, timer int, d time.Duration)
	// RecordHistogramDuration records a histogram duration value for the given
	// metric name
	RecordHistogramDuration(scope int, timer int, d time.Duration)
	// UpdateGauge reports Gauge type absolute value metric
	UpdateGauge(scope int, gauge int, value float64)
	// Scope return an internal scope that can be used to add additional
	// information to metrics
	Scope(scope int, tags ...Tag) Scope
}

Client is the interface used to report metrics tally.

func NewClient

func NewClient(scope tally.Scope, serviceIdx ServiceIdx) Client

NewClient creates and returns a new instance of Client implementation reporter holds the common tags for the service serviceIdx indicates the service type in (InputhostIndex, ... StorageIndex)

func NewNoopMetricsClient added in v0.18.0

func NewNoopMetricsClient() Client

NewNoopMetricsClient initialize new no-op metrics client

type ClientImpl

type ClientImpl struct {
	// contains filtered or unexported fields
}

ClientImpl is used for reporting metrics by various Cadence services

func (*ClientImpl) AddCounter

func (m *ClientImpl) AddCounter(scopeIdx int, counterIdx int, delta int64)

AddCounter adds delta to the counter and emits to the metrics backend

func (*ClientImpl) IncCounter

func (m *ClientImpl) IncCounter(scopeIdx int, counterIdx int)

IncCounter increments one for a counter and emits to metrics backend

func (*ClientImpl) RecordHistogramDuration added in v0.24.0

func (m *ClientImpl) RecordHistogramDuration(scopeIdx int, timerIdx int, d time.Duration)

RecordHistogramDuration record and emit a duration

func (*ClientImpl) RecordTimer

func (m *ClientImpl) RecordTimer(scopeIdx int, timerIdx int, d time.Duration)

RecordTimer record and emit a timer for the given metric name

func (*ClientImpl) Scope added in v0.5.7

func (m *ClientImpl) Scope(scopeIdx int, tags ...Tag) Scope

Scope return a new internal metrics scope that can be used to add additional information to the metrics emitted

func (*ClientImpl) StartTimer

func (m *ClientImpl) StartTimer(scopeIdx int, timerIdx int) tally.Stopwatch

StartTimer starts a timer for the given metric name

func (*ClientImpl) UpdateGauge

func (m *ClientImpl) UpdateGauge(scopeIdx int, gaugeIdx int, value float64)

UpdateGauge reports Gauge type metric

type ErrorClass

type ErrorClass uint8

ErrorClass is an enum to help with classifying SLA vs. non-SLA errors (SLA = "service level agreement")

type MetricName

type MetricName string

MetricName is the name of the metric

func (MetricName) Empty added in v0.13.0

func (mn MetricName) Empty() bool

Empty returns true if the metricName is an empty string

func (MetricName) String added in v0.13.0

func (mn MetricName) String() string

String returns string representation of this metric name

type MetricType

type MetricType int

MetricType is the type of the metric

const (
	Counter MetricType = iota
	Timer
	Gauge
	Histogram
)

MetricTypes which are supported

type RuntimeMetricsReporter

type RuntimeMetricsReporter struct {
	// contains filtered or unexported fields
}

RuntimeMetricsReporter A struct containing the state of the RuntimeMetricsReporter.

func NewRuntimeMetricsReporter

func NewRuntimeMetricsReporter(
	scope tally.Scope,
	reportInterval time.Duration,
	logger log.Logger,
	instanceID string,
) *RuntimeMetricsReporter

NewRuntimeMetricsReporter Creates a new RuntimeMetricsReporter.

func (*RuntimeMetricsReporter) Start

func (r *RuntimeMetricsReporter) Start()

Start Starts the reporter thread that periodically emits metrics.

func (*RuntimeMetricsReporter) Stop

func (r *RuntimeMetricsReporter) Stop()

Stop Stops reporting of runtime metrics. The reporter cannot be started again after it's been stopped.

type Scope added in v0.5.7

type Scope interface {
	// IncCounter increments a counter metric
	IncCounter(counter int)
	// AddCounter adds delta to the counter metric
	AddCounter(counter int, delta int64)
	// StartTimer starts a timer for the given metric name.
	// Time will be recorded when stopwatch is stopped.
	StartTimer(timer int) Stopwatch
	// RecordTimer starts a timer for the given metric name
	RecordTimer(timer int, d time.Duration)
	// RecordHistogramDuration records a histogram duration value for the given
	// metric name
	RecordHistogramDuration(timer int, d time.Duration)
	// RecordHistogramValue records a histogram value for the given metric name
	RecordHistogramValue(timer int, value float64)
	// UpdateGauge reports Gauge type absolute value metric
	UpdateGauge(gauge int, value float64)
	// Tagged return an internal scope that can be used to add additional
	// information to metrics
	Tagged(tags ...Tag) Scope
}

Scope is an interface for metrics

func NoopScope added in v0.5.7

func NoopScope(serviceIdx ServiceIdx) Scope

NoopScope returns a noop scope of metrics

type ServiceIdx

type ServiceIdx int

ServiceIdx is an index that uniquely identifies the service

type Stopwatch added in v0.5.9

type Stopwatch struct {
	// contains filtered or unexported fields
}

Stopwatch is a helper for simpler tracking of elapsed time, use the Stop() method to report time elapsed since its created back to the timer or histogram.

func NewStopwatch added in v0.5.9

func NewStopwatch(timers ...tally.Timer) Stopwatch

NewStopwatch creates a new immutable stopwatch for recording the start time to a stopwatch reporter.

func NewTestStopwatch added in v0.5.9

func NewTestStopwatch() Stopwatch

NewTestStopwatch returns a new test stopwatch

func (Stopwatch) Stop added in v0.5.9

func (sw Stopwatch) Stop()

Stop reports time elapsed since the stopwatch start to the recorder.

type Tag added in v0.5.7

type Tag interface {
	Key() string
	Value() string
}

Tag is an interface to define metrics tags

func ActiveClusterTag added in v0.15.0

func ActiveClusterTag(value string) Tag

ActiveClusterTag returns a new active cluster type tag.

func ActivityTypeTag added in v0.12.0

func ActivityTypeTag(value string) Tag

ActivityTypeTag returns a new activity type tag.

func AsyncWFRequestTypeTag added in v1.2.8

func AsyncWFRequestTypeTag(value string) Tag

AsyncWFRequestTypeTag returns a new AsyncWFRequestTypeTag tag

func CallerTag added in v0.24.0

func CallerTag(value string) Tag

CallerTag returns a new RPC Caller type tag.

func ClusterGroupTag added in v0.25.0

func ClusterGroupTag(value string) Tag

ClusterGroupTag return a new cluster group tag

func DecisionTypeTag added in v0.12.0

func DecisionTypeTag(value string) Tag

DecisionTypeTag returns a new decision type tag.

func DomainTag added in v0.5.7

func DomainTag(value string) Tag

DomainTag returns a new domain tag. For timers, this also ensures that we dual emit the metric with the all tag. If a blank domain is provided then this converts that to an unknown domain.

func DomainTypeTag added in v0.25.0

func DomainTypeTag(isGlobal bool) Tag

DomainTypeTag returns a tag for domain type. This allows differentiating between global/local domains.

func DomainUnknownTag added in v0.5.9

func DomainUnknownTag() Tag

DomainUnknownTag returns a new domain:unknown tag-value

func GetContextTags added in v0.20.0

func GetContextTags(ctx context.Context) []Tag

func GlobalRatelimiterCollectionName added in v1.2.12

func GlobalRatelimiterCollectionName(value string) Tag

GlobalRatelimiterCollectionName is a namespacing tag to uniquely identify metrics coming from the different ratelimiter collections (user, worker, visibility, async).

func GlobalRatelimiterIsPrimary added in v1.2.12

func GlobalRatelimiterIsPrimary(isPrimary bool) Tag

func GlobalRatelimiterKeyTag added in v1.2.12

func GlobalRatelimiterKeyTag(value string) Tag

GlobalRatelimiterKeyTag reports the full (global) ratelimit key being used, e.g. "user:domain-x", though the value will be sanitized and may appear as "user_domain_x" or similar.

func GlobalRatelimiterTypeTag added in v1.2.12

func GlobalRatelimiterTypeTag(value string) Tag

GlobalRatelimiterTypeTag reports the "limit usage type" being reported, e.g. global vs local

func HostTag added in v1.2.8

func HostTag(value string) Tag

Hosttag emits the host identifier

func InstanceTag added in v0.5.9

func InstanceTag(value string) Tag

InstanceTag returns a new instance tag

func InvariantTypeTag added in v0.13.0

func InvariantTypeTag(value string) Tag

InvariantTypeTag returns a new invariant type tag.

func KafkaPartitionTag added in v0.18.0

func KafkaPartitionTag(value int32) Tag

KafkaPartitionTag returns a new KafkaPartition type tag.

func MatchingHostTag added in v1.2.1

func MatchingHostTag(value string) Tag

func PartitionConfigTags added in v1.2.1

func PartitionConfigTags(partitionConfig map[string]string) []Tag

PartitionConfigTags returns a list of partition config tags

func PollerIsolationGroupTag added in v1.2.1

func PollerIsolationGroupTag(value string) Tag

PollerIsolationGroupTag returns a new PollerIsolationGroup tag

func ServiceTag added in v1.2.8

func ServiceTag(value string) Tag

CallerTag returns a new RPC Caller type tag.

func ShardIDTag added in v1.0.0

func ShardIDTag(shardIDVal int) Tag

func ShardScannerFixResult added in v0.24.0

func ShardScannerFixResult(value string) Tag

ShardScannerFixResult returns a new shardscanner fix result type tag.

func ShardScannerScanResult added in v0.24.0

func ShardScannerScanResult(value string) Tag

ShardScannerScanResult returns a new shardscanner scan result type tag.

func SignalNameAllTag added in v0.23.1

func SignalNameAllTag() Tag

SignalNameAllTag returns a new SignalName tag with all value

func SignalNameTag added in v0.22.0

func SignalNameTag(value string) Tag

SignalNameTag returns a new SignalName tag

func SourceClusterTag added in v0.25.0

func SourceClusterTag(value string) Tag

SourceClusterTag returns a new source cluster tag.

func TargetClusterTag added in v0.6.0

func TargetClusterTag(value string) Tag

TargetClusterTag returns a new target cluster tag.

func TaskListTag added in v0.9.3

func TaskListTag(value string) Tag

TaskListTag returns a new task list tag.

func TaskListTypeTag added in v0.19.0

func TaskListTypeTag(value string) Tag

TaskListTypeTag returns a new task list type tag.

func TaskListUnknownTag added in v0.13.0

func TaskListUnknownTag() Tag

TaskListUnknownTag returns a new tasklist:unknown tag-value

func TransportTag added in v0.24.0

func TransportTag(value string) Tag

TransportTag returns a new RPC Transport type tag.

func WorkflowTerminationReasonTag added in v1.2.12

func WorkflowTerminationReasonTag(value string) Tag

WorkflowTerminationReasonTag reports the reason for workflow termination

func WorkflowTypeTag added in v0.12.0

func WorkflowTypeTag(value string) Tag

WorkflowTypeTag returns a new workflow type tag.

func WorkflowVersionTag added in v1.0.0

func WorkflowVersionTag(value string) Tag

WorkflowVersionTag returns a new WorkflowVersion tag

Directories

Path Synopsis
tally

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL