package
0.3.11
Repository: https://github.com/mfateev/cadence.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

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

# Constants

History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
This package should hold all the metrics and tags for cadence.
Matching metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
History Metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
History Metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
Service names for all services that emit metrics.
History Metrics enum.
History Metrics enum.
History Metrics enum.
Matching metrics enum.
MetricTypes which are supported.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
Service names for all services that emit metrics.
FrontendDeprecateDomainScope is the metric scope for frontend.DeprecateDomain.
FrontendDescribeDomainScope is the metric scope for frontend.DescribeDomain.
FrontendDescribeTaskListScope is the metric scope for frontend.DescribeTaskList.
FrontendDescribeWorkflowExecutionScope is the metric scope for frontend.DescribeWorkflowExecution.
FrontendGetWorkflowExecutionHistoryScope is the metric scope for frontend.GetWorkflowExecutionHistory.
FrontendListClosedWorkflowExecutionsScope is the metric scope for frontend.ListClosedWorkflowExecutions.
FrontendListOpenWorkflowExecutionsScope is the metric scope for frontend.ListOpenWorkflowExecutions.
FrontendPollForActivityTaskScope is the metric scope for frontend.PollForActivityTask.
PollForDecisionTaskScope is the metric scope for frontend.PollForDecisionTask.
FrontendQueryWorkflowScope is the metric scope for frontend.QueryWorkflow.
FrontendRecordActivityTaskHeartbeatByIDScope is the metric scope for frontend.RespondDecisionTaskCompleted.
FrontendRecordActivityTaskHeartbeatScope is the metric scope for frontend.RecordActivityTaskHeartbeat.
FrontendRegisterDomainScope is the metric scope for frontend.RegisterDomain.
FrontendRequestCancelWorkflowExecutionScope is the metric scope for frontend.RequestCancelWorkflowExecution.
FrontendRespondActivityTaskCanceledScope is the metric scope for frontend.RespondActivityTaskCanceledByID.
FrontendRespondActivityTaskCanceledScope is the metric scope for frontend.RespondActivityTaskCanceled.
FrontendRespondActivityTaskCompletedScope is the metric scope for frontend.RespondActivityTaskCompletedByID.
FrontendRespondActivityTaskCompletedScope is the metric scope for frontend.RespondActivityTaskCompleted.
FrontendRespondActivityTaskFailedScope is the metric scope for frontend.RespondActivityTaskFailedByID.
FrontendRespondActivityTaskFailedScope is the metric scope for frontend.RespondActivityTaskFailed.
FrontendRespondDecisionTaskCompletedScope is the metric scope for frontend.RespondDecisionTaskCompleted.
FrontendRespondDecisionTaskFailedScope is the metric scope for frontend.RespondDecisionTaskFailed.
FrontendRespondQueryTaskCompletedScope is the metric scope for frontend.RespondQueryTaskCompleted.
FrontendSignalWithStartWorkflowExecutionScope is the metric scope for frontend.SignalWithStartWorkflowExecution.
FrontendSignalWorkflowExecutionScope is the metric scope for frontend.SignalWorkflowExecution.
FrontendStartWorkflowExecutionScope is the metric scope for frontend.StartWorkflowExecution.
FrontendTerminateWorkflowExecutionScope is the metric scope for frontend.TerminateWorkflowExecution.
FrontendUpdateDomainScope is the metric scope for frontend.DescribeDomain.
MetricTypes which are supported.
Common service base metrics.
History Metrics enum.
History Metrics enum.
Common service base metrics.
History Metrics enum.
Service names for all services that emit metrics.
HistoryClientDescribeWorkflowExecutionScope tracks RPC calls to history service.
Common Metrics enum.
HistoryClientGetMutableStateScope tracks RPC calls to history service.
HistoryClientRecordActivityTaskHeartbeatScope tracks RPC calls to history service.
HistoryClientRecordActivityTaskStartedScope tracks RPC calls to history service.
HistoryClientRecordChildExecutionCompletedScope tracks RPC calls to history service.
HistoryClientRecordDecisionTaskStartedScope tracks RPC calls to history service.
HistoryClientRemoveSignalMutableStateScope tracks RPC calls to history service.
HistoryClientReplicateEventsScope tracks RPC calls to history service.
HistoryClientRequestCancelWorkflowExecutionScope tracks RPC calls to history service.
HistoryClientResetStickyTaskListScope tracks RPC calls to history service.
HistoryClientRespondActivityTaskCanceledScope tracks RPC calls to history service.
HistoryClientRespondActivityTaskCompletedScope tracks RPC calls to history service.
HistoryClientRespondActivityTaskFailedScope tracks RPC calls to history service.
HistoryClientRespondDecisionTaskCompletedScope tracks RPC calls to history service.
HistoryClientRespondDecisionTaskFailedScope tracks RPC calls to history service.
HistoryClientScheduleDecisionTaskScope tracks RPC calls to history service.
HistoryClientSignalWithStartWorkflowExecutionScope tracks RPC calls to history service.
HistoryClientSignalWorkflowExecutionScope tracks RPC calls to history service.
HistoryClientStartWorkflowExecutionScope tracks RPC calls to history service.
HistoryClientTerminateWorkflowExecutionScope tracks RPC calls to history service.
HistoryDescribeWorkflowExecutionScope tracks DescribeWorkflowExecution API calls received by service.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
HistoryEventNotificationScope is the scope used by shard history event nitification.
HistoryGetMutableStateScope tracks GetMutableStateScope API calls received by service.
HistoryRecordActivityTaskHeartbeatScope tracks RecordActivityTaskHeartbeat API calls received by service.
HistoryRecordActivityTaskStartedScope tracks RecordActivityTaskStarted API calls received by service.
HistoryRecordChildExecutionCompletedScope tracks CompleteChildExecution API calls received by service.
HistoryRecordDecisionTaskStartedScope tracks RecordDecisionTaskStarted API calls received by service.
HistoryRemoveSignalMutableStateScope tracks RemoveSignalMutableState API calls received by service.
HistoryReplicateEventsScope tracks ReplicateEvents API calls received by service.
HistoryRequestCancelWorkflowExecutionScope tracks RequestCancelWorkflowExecution API calls received by service.
HistoryResetStickyTaskListScope tracks ResetStickyTaskListScope API calls received by service.
HistoryRespondActivityTaskCanceledScope tracks RespondActivityTaskCanceled API calls received by service.
HistoryRespondActivityTaskCompletedScope tracks RespondActivityTaskCompleted API calls received by service.
HistoryRespondActivityTaskFailedScope tracks RespondActivityTaskFailed API calls received by service.
HistoryRespondDecisionTaskCompletedScope tracks RespondDecisionTaskCompleted API calls received by service.
HistoryRespondDecisionTaskFailedScope tracks RespondDecisionTaskFailed API calls received by service.
HistoryScheduleDecisionTaskScope tracks ScheduleDecisionTask API calls received by service.
HistoryShardControllerScope is the scope used by shard controller.
HistorySignalWithStartWorkflowExecutionScope tracks SignalWithStartWorkflowExecution API calls received by service.
HistorySignalWorkflowExecutionScope tracks SignalWorkflowExecution API calls received by service.
HistoryStartWorkflowExecutionScope tracks StartWorkflowExecution API calls received by service.
HistoryTerminateWorkflowExecutionScope tracks TerminateWorkflowExecution API calls received by service.
Common tags for all services.
InternalError indicates that this is an SLA-reportable error.
Matching metrics enum.
Matching metrics enum.
Service names for all services that emit metrics.
MatchingAddActivityTaskScope tracks AddActivityTask API calls received by service.
MatchingAddDecisionTaskScope tracks AddDecisionTask API calls received by service.
MatchingCancelOutstandingPollScope tracks CancelOutstandingPoll API calls received by service.
MatchingClientAddActivityTaskScope tracks RPC calls to matching service.
MatchingClientAddDecisionTaskScope tracks RPC calls to matching service.
MatchingClientCancelOutstandingPollScope tracks RPC calls to matching service.
MatchingClientDescribeTaskListScope tracks RPC calls to matching service.
Common Metrics enum.
MatchingClientPollForActivityTaskScope tracks RPC calls to matching service.
MatchingClientPollForDecisionTaskScope tracks RPC calls to matching service.
MatchingClientQueryWorkflowScope tracks RPC calls to matching service.
MatchingClientRespondQueryTaskCompletedScope tracks RPC calls to matching service.
MatchingDescribeTaskListScope tracks DescribeTaskList API calls received by service.
PollForActivityTaskScope tracks PollForActivityTask API calls received by service.
PollForDecisionTaskScope tracks PollForDecisionTask API calls received by service.
MatchingQueryWorkflowScope tracks AddDecisionTask API calls received by service.
MatchingRespondQueryTaskCompletedScope tracks AddDecisionTask API calls received by service.
MatchingTaskListMgrScope is the metrics scope for matching.TaskListManager component.
History Metrics enum.
Common service base metrics.
Common service base metrics.
Common service base metrics.
Common service base metrics.
Common service base metrics.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
NoError indicates that there is no error (error should be nil).
This package should hold all the metrics and tags for cadence.
Needs to be last on this list for iota numbering.
Scopes enum.
-- Operation scopes for Frontend service --.
Common service base metrics.
Common service base metrics.
-- Operation scopes for History service --.
-- Operation scopes for Matching service --.
Service names for all services that emit metrics.
History Metrics enum.
-- Operation scopes for Worker service --.
Common tags for all services.
PersistenceAppendHistoryEventsScope tracks AppendHistoryEvents calls made by service to persistence layer.
PersistenceCompleteReplicationTaskScope tracks CompleteReplicationTasks calls made by service to persistence layer.
PersistenceCompleteTaskScope tracks CompleteTask calls made by service to persistence layer.
PersistenceCompleteTimerTaskScope tracks CompleteTimerTasks calls made by service to persistence layer.
PersistenceCompleteTransferTaskScope tracks CompleteTransferTasks calls made by service to persistence layer.
PersistenceCreateDomainScope tracks CreateDomain calls made by service to persistence layer.
PersistenceCreateShardScope tracks CreateShard calls made by service to persistence layer.
PersistenceCreateTaskScope tracks CreateTask calls made by service to persistence layer.
PersistenceCreateWorkflowExecutionScope tracks CreateWorkflowExecution calls made by service to persistence layer.
PersistenceDeleteDomainByNameScope tracks DeleteDomainByName calls made by service to persistence layer.
PersistenceDeleteDomainScope tracks DeleteDomain calls made by service to persistence layer.
PersistenceDeleteWorkflowExecutionHistoryScope tracks DeleteWorkflowExecutionHistory calls made by service to persistence layer.
PersistenceDeleteWorkflowExecutionScope tracks DeleteWorkflowExecution calls made by service to persistence layer.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
Common Metrics enum.
PersistenceGetClosedWorkflowExecutionScope tracks GetClosedWorkflowExecution calls made by service to persistence layer.
PersistenceGetCurrentExecutionScope tracks GetCurrentExecution calls made by service to persistence layer.
PersistenceGetDomainScope tracks GetDomain calls made by service to persistence layer.
PersistenceGetReplicationTasksScope tracks GetReplicationTasks calls made by service to persistence layer.
PersistenceGetShardScope tracks GetShard calls made by service to persistence layer.
PersistenceGetTasksScope tracks GetTasks calls made by service to persistence layer.
PersistenceGetTimerIndexTasksScope tracks GetTimerIndexTasks calls made by service to persistence layer.
PersistenceGetTransferTasksScope tracks GetTransferTasks calls made by service to persistence layer.
PersistenceGetWorkflowExecutionHistoryScope tracks GetWorkflowExecutionHistory calls made by service to persistence layer.
PersistenceGetWorkflowExecutionScope tracks GetWorkflowExecution calls made by service to persistence layer.
Common Metrics enum.
PersistenceLeaseTaskListScope tracks LeaseTaskList calls made by service to persistence layer.
PersistenceListClosedWorkflowExecutionsByStatusScope tracks ListClosedWorkflowExecutionsByStatus calls made by service to persistence layer.
PersistenceListClosedWorkflowExecutionsByTypeScope tracks ListClosedWorkflowExecutionsByType calls made by service to persistence layer.
PersistenceListClosedWorkflowExecutionsByWorkflowIDScope tracks ListClosedWorkflowExecutionsByWorkflowID calls made by service to persistence layer.
PersistenceListClosedWorkflowExecutionsScope tracks ListClosedWorkflowExecutions calls made by service to persistence layer.
PersistenceListOpenWorkflowExecutionsByTypeScope tracks ListOpenWorkflowExecutionsByType calls made by service to persistence layer.
PersistenceListOpenWorkflowExecutionsByWorkflowIDScope tracks ListOpenWorkflowExecutionsByWorkflowID calls made by service to persistence layer.
PersistenceListOpenWorkflowExecutionsScope tracks ListOpenWorkflowExecutions calls made by service to persistence layer.
PersistenceRecordWorkflowExecutionClosedScope tracks RecordWorkflowExecutionClosed calls made by service to persistence layer.
PersistenceRecordWorkflowExecutionStartedScope tracks RecordWorkflowExecutionStarted calls made by service to persistence layer.
Common Metrics enum.
PersistenceUpdateDomainScope tracks UpdateDomain calls made by service to persistence layer.
PersistenceUpdateShardScope tracks UpdateShard calls made by service to persistence layer.
PersistenceUpdateTaskListScope tracks PersistenceUpdateTaskListScope calls made by service to persistence layer.
PersistenceUpdateWorkflowExecutionScope tracks UpdateWorkflowExecution calls made by service to persistence layer.
Matching metrics enum.
Matching metrics enum.
Matching metrics enum.
History Metrics enum.
Worker metrics enum.
Worker metrics enum.
Worker metrics enum.
ReplicatorQueueProcessorScope is the scope used by all metric emitted by replicator queue processor.
ReplicationScope is the scope used by all metric emitted by replicator.
ReplicatorTaskHistoryScope is the scope used for history task processing by replicator queue processor.
Matching metrics enum.
Common service base metrics.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
ShardTagName is temporary until we can get all metric data removed for the service.
History Metrics enum.
History Metrics enum.
Matching metrics enum.
History Metrics enum.
History Metrics enum.
History Metrics enum.
MetricTypes which are supported.
TimerQueueProcessorScope is the scope used by all metric emitted by timer queue processor.
TimerTaskActivityTimeoutScope is the scope used by metric emitted by timer queue processor for processing activity timeouts.
TimerTaskDecisionTimeoutScope is the scope used by metric emitted by timer queue processor for processing decision timeouts.
TimerTaskDeleteHistoryEvent is the scope used by metric emitted by timer queue processor for processing history event cleanup.
TimerTaskUserTimerScope is the scope used by metric emitted by timer queue processor for processing user timers.
TimerTaskWorkflowTimeoutScope is the scope used by metric emitted by timer queue processor for processing workflow timeouts.
TransferQueueProcessorScope is the scope used by all metric emitted by transfer queue processor.
TransferTaskActivityScope is the scope used for activity task processing by transfer queue processor.
TransferTaskCancelExecutionScope is the scope used for cancel execution task processing by transfer queue processor.
TransferTaskCloseExecutionScope is the scope used for close execution task processing by transfer queue processor.
TransferTaskDecisionScope is the scope used for decision task processing by transfer queue processor.
TransferTaskSignalExecutionScope is the scope used for signal execution task processing by transfer queue processor.
TransferTaskStartChildExecutionScope is the scope used for start child execution task processing by transfer queue processor.
This package should hold all the metrics and tags for cadence.
UserError indicates that this is NOT an SLA-reportable error.
Service names for all services that emit metrics.

# Variables

GoRuntimeMetrics represent the runtime stats from go runtime.
MetricDefs record the metrics for all services.
ScopeDefs record the scopes for all services.
ServiceMetrics are types for common service base metrics.

# Structs

ClientImpl is used for reporting metrics by various Cadence services.
RuntimeMetricsReporter A struct containing the state of the RuntimeMetricsReporter.

# Interfaces

No description provided by the author

# Type aliases

ErrorClass is an enum to help with classifying SLA vs.
types used/defined by the package.
types used/defined by the package.
types used/defined by the package.