Documentation ¶
Index ¶
- Constants
- Variables
- type Tag
- func Address(ad string) Tag
- func Addresses(ads []string) Tag
- func ArchivalArchiveAttemptedInline(archiveInline bool) Tag
- func ArchivalArchiveFailReason(archiveFailReason string) Tag
- func ArchivalBlobIntegrityCheckFailReason(blobIntegrityCheckFailReason string) Tag
- func ArchivalBlobKey(blobKey string) Tag
- func ArchivalCallerServiceName(callerServiceName string) Tag
- func ArchivalDeleteHistoryFailReason(deleteHistoryFailReason string) Tag
- func ArchivalDeterministicConstructionCheckFailReason(deterministicConstructionCheckFailReason string) Tag
- func ArchivalNonDeterministicBlobKey(nondeterministicBlobKey string) Tag
- func ArchivalRequestBranchToken(requestBranchToken []byte) Tag
- func ArchivalRequestCloseFailoverVersion(requestCloseFailoverVersion int64) Tag
- func ArchivalRequestDomainID(requestDomainID string) Tag
- func ArchivalRequestDomainName(requestDomainName string) Tag
- func ArchivalRequestEventStoreVersion(requestEventStoreVersion int32) Tag
- func ArchivalRequestNextEventID(requestNextEventID int64) Tag
- func ArchivalRequestRunID(requestRunID string) Tag
- func ArchivalRequestWorkflowID(requestWorkflowID string) Tag
- func ArchivalURI(URI string) Tag
- func Attempt(attempt int32) Tag
- func AttemptCount(attemptCount int64) Tag
- func AttemptEnd(attemptEnd time.Time) Tag
- func AttemptStart(attemptStart time.Time) Tag
- func Bool(b bool) Tag
- func ClusterName(clusterName string) Tag
- func Counter(c int) Tag
- func CurrentVersion(currentVersion int64) Tag
- func CursorTimestamp(timestamp time.Time) Tag
- func DefaultValue(v interface{}) Tag
- func DetailInfo(i string) Tag
- func ESConfig(c interface{}) Tag
- func ESDocID(id string) Tag
- func ESField(ESField string) Tag
- func ESKey(ESKey string) Tag
- func ESRequest(ESRequest string) Tag
- func ESResponseError(msg string) Tag
- func ESResponseStatus(status int) Tag
- func Error(err error) Tag
- func FailoverMsg(failoverMsg string) Tag
- func FailoverVersion(version int64) Tag
- func FirstEventVersion(version int64) Tag
- func IncomingVersion(incomingVersion int64) Tag
- func KafkaConsumerName(consumerName string) Tag
- func KafkaOffset(offset int64) Tag
- func KafkaPartition(partition int32) Tag
- func KafkaPartitionKey(partitionKey interface{}) Tag
- func KafkaTopicName(topicName string) Tag
- func Key(k string) Tag
- func LastEventVersion(version int64) Tag
- func ListenerName(name string) Tag
- func MaxLevel(lv int64) Tag
- func MetricScope(metricScope int) Tag
- func MinLevel(lv int64) Tag
- func Name(k string) Tag
- func NextNumber(n int64) Tag
- func Number(n int64) Tag
- func NumberDeleted(n int) Tag
- func NumberProcessed(n int) Tag
- func Port(p int) Tag
- func PrevActiveCluster(prevActiveCluster string) Tag
- func PreviousShardRangeID(id int64) Tag
- func ReadLevel(lv int64) Tag
- func ReplicationInfo(replicationInfo interface{}) Tag
- func ReplicationState(replicationState interface{}) Tag
- func ScheduleAttempt(scheduleAttempt int64) Tag
- func Service(sv string) Tag
- func ShardID(shardID int) Tag
- func ShardRangeID(id int64) Tag
- func ShardReplicationAck(shardReplicationAck int64) Tag
- func ShardTime(shardTime interface{}) Tag
- func ShardTimerAcks(shardTimerAcks interface{}) Tag
- func ShardTransferAcks(shardTransferAcks interface{}) Tag
- func SourceCluster(sourceCluster string) Tag
- func StoreType(storeType string) Tag
- func SysStackTrace(stackTrace string) Tag
- func TaskID(taskID int64) Tag
- func TaskType(taskType int) Tag
- func TimerTaskStatus(timerTaskStatus int32) Tag
- func Timestamp(timestamp time.Time) Tag
- func TokenLastEventID(id int64) Tag
- func TokenLastEventVersion(version int64) Tag
- func Value(v interface{}) Tag
- func ValueType(v interface{}) Tag
- func WorkflowActivityID(id string) Tag
- func WorkflowBeginningFirstEventID(beginningFirstEventID int64) Tag
- func WorkflowBeginningRunID(beginningRunID string) Tag
- func WorkflowBinaryChecksum(cs string) Tag
- func WorkflowBranchID(branchID string) Tag
- func WorkflowDecisionFailCause(decisionFailCause int64) Tag
- func WorkflowDecisionTimeoutSeconds(s int32) Tag
- func WorkflowDecisionType(decisionType int64) Tag
- func WorkflowDomainID(domainID string) Tag
- func WorkflowDomainIDs(domainIDs interface{}) Tag
- func WorkflowDomainName(domainName string) Tag
- func WorkflowEndingNextEventID(endingNextEventID int64) Tag
- func WorkflowEndingRunID(endingRunID string) Tag
- func WorkflowError(error error) Tag
- func WorkflowEventCount(eventCount int) Tag
- func WorkflowEventID(eventID int64) Tag
- func WorkflowFirstEventID(firstEventID int64) Tag
- func WorkflowHandlerName(handlerName string) Tag
- func WorkflowHistorySize(historySize int) Tag
- func WorkflowHistorySizeBytes(historySizeBytes int) Tag
- func WorkflowID(workflowID string) Tag
- func WorkflowInitiatedID(id int64) Tag
- func WorkflowNextEventID(nextEventID int64) Tag
- func WorkflowPollContextTimeout(pollContextTimeout time.Duration) Tag
- func WorkflowQueryType(qt string) Tag
- func WorkflowResetBaseRunID(runID string) Tag
- func WorkflowResetNewRunID(runID string) Tag
- func WorkflowResetNextEventID(resetNextEventID int64) Tag
- func WorkflowRunID(runID string) Tag
- func WorkflowScheduleID(scheduleID int64) Tag
- func WorkflowSignalCount(signalCount int32) Tag
- func WorkflowSize(workflowSize int64) Tag
- func WorkflowStartedID(id int64) Tag
- func WorkflowState(s int) Tag
- func WorkflowTaskListName(taskListName string) Tag
- func WorkflowTaskListType(taskListType int) Tag
- func WorkflowTimeoutType(timeoutType int64) Tag
- func WorkflowTimerID(id string) Tag
- func WorkflowTreeID(treeID string) Tag
- func WorkflowType(wfType string) Tag
Constants ¶
const LoggingCallAtKey = "logging-call-at"
LoggingCallAtKey is reserved tag
Variables ¶
var ( // workflow start / finish WorkflowActionWorkflowStarted = workflowAction("add-workflow-started-event") WorkflowActionWorkflowCanceled = workflowAction("add-workflow-canceled-event") WorkflowActionWorkflowCompleted = workflowAction("add-workflow-completed--event") WorkflowActionWorkflowFailed = workflowAction("add-workflow-failed-event") WorkflowActionWorkflowTimeout = workflowAction("add-workflow-timeout-event") WorkflowActionWorkflowTerminated = workflowAction("add-workflow-terminated-event") WorkflowActionWorkflowContinueAsNew = workflowAction("add-workflow-continue-as-new-event") // workflow cancellation / sign WorkflowActionWorkflowCancelRequested = workflowAction("add-workflow-cancel-requested-event") WorkflowActionWorkflowSignaled = workflowAction("add-workflow-signaled-event") WorkflowActionWorkflowRecordMarker = workflowAction("add-workflow-marker-record-event") WorkflowActionUpsertWorkflowSearchAttributes = workflowAction("add-workflow-upsert-search-attributes-event") // decision WorkflowActionDecisionTaskScheduled = workflowAction("add-decisiontask-scheduled-event") WorkflowActionDecisionTaskStarted = workflowAction("add-decisiontask-started-event") WorkflowActionDecisionTaskCompleted = workflowAction("add-decisiontask-completed-event") WorkflowActionDecisionTaskTimedOut = workflowAction("add-decisiontask-timedout-event") WorkflowActionDecisionTaskFailed = workflowAction("add-decisiontask-failed-event") // activity WorkflowActionActivityTaskScheduled = workflowAction("add-activitytask-scheduled-event") WorkflowActionActivityTaskStarted = workflowAction("add-activitytask-started-event") WorkflowActionActivityTaskCompleted = workflowAction("add-activitytask-completed-event") WorkflowActionActivityTaskFailed = workflowAction("add-activitytask-failed-event") WorkflowActionActivityTaskTimedOut = workflowAction("add-activitytask-timed-event") WorkflowActionActivityTaskCanceled = workflowAction("add-activitytask-canceled-event") WorkflowActionActivityTaskCancelRequested = workflowAction("add-activitytask-cancel-requested-event") WorkflowActionActivityTaskCancelFailed = workflowAction("add-activitytask-cancel-failed-event") // timer WorkflowActionTimerStarted = workflowAction("add-timer-started-event") WorkflowActionTimerFired = workflowAction("add-timer-fired-event") WorkflowActionTimerCanceled = workflowAction("add-timer-canceled-event") WorkflowActionTimerCancelFailed = workflowAction("add-timer-cancel-failed-event") // child workflow start / finish WorkflowActionChildWorkflowInitiated = workflowAction("add-childworkflow-initiated-event") WorkflowActionChildWorkflowStarted = workflowAction("add-childworkflow-started-event") WorkflowActionChildWorkflowInitiationFailed = workflowAction("add-childworkflow-initiation-failed-event") WorkflowActionChildWorkflowCanceled = workflowAction("add-childworkflow-canceled-event") WorkflowActionChildWorkflowCompleted = workflowAction("add-childworkflow-completed-event") WorkflowActionChildWorkflowFailed = workflowAction("add-childworkflow-failed-event") WorkflowActionChildWorkflowTerminated = workflowAction("add-childworkflow-terminated-event") WorkflowActionChildWorkflowTimedOut = workflowAction("add-childworkflow-timedout-event") // external workflow cancellation WorkflowActionExternalWorkflowCancelInitiated = workflowAction("add-externalworkflow-cancel-initiated-event") WorkflowActionExternalWorkflowCancelRequested = workflowAction("add-externalworkflow-cancel-requested-event") WorkflowActionExternalWorkflowCancelFailed = workflowAction("add-externalworkflow-cancel-failed-event") // external workflow signal WorkflowActionExternalWorkflowSignalInitiated = workflowAction("add-externalworkflow-signal-initiated-event") WorkflowActionExternalWorkflowSignalRequested = workflowAction("add-externalworkflow-signal-requested-event") WorkflowActionExternalWorkflowSignalFailed = workflowAction("add-externalworkflow-signal-failed-event") WorkflowActionUnknown = workflowAction("add-unknown-event") )
Pre-defined values for TagWorkflowAction
var ( WorkflowListWorkflowFilterByID = workflowListFilterType("WID") WorkflowListWorkflowFilterByType = workflowListFilterType("WType") WorkflowListWorkflowFilterByStatus = workflowListFilterType("status") )
Pre-defined values for TagWorkflowListFilterType
var ( ComponentTaskList = component("tasklist") ComponentHistoryBuilder = component("history-builder") ComponentHistoryEngine = component("history-engine") ComponentHistoryCache = component("history-cache") ComponentEventsCache = component("events-cache") ComponentTransferQueue = component("transfer-queue-processor") ComponentTimerQueue = component("timer-queue-processor") ComponentTimerBuilder = component("timer-builder") ComponentReplicatorQueue = component("replicator-queue-processor") ComponentShardController = component("shard-controller") ComponentShard = component("shard") ComponentShardItem = component("shard-item") ComponentShardEngine = component("shard-engine") ComponentMatchingEngine = component("matching-engine") ComponentReplicator = component("replicator") ComponentReplicationTaskProcessor = component("replication-task-processor") ComponentHistoryReplicator = component("history-replicator") ComponentIndexer = component("indexer") ComponentIndexerProcessor = component("indexer-processor") ComponentIndexerESProcessor = component("indexer-es-processor") ComponentESVisibilityManager = component("es-visibility-manager") ComponentArchiver = component("archiver") ComponentBatcher = component("batcher") ComponentWorker = component("worker") ComponentServiceResolver = component("service-resolver") )
Pre-defined values for TagSysComponent
var ( LifeCycleStarting = lifecycle("Starting") LifeCycleStarted = lifecycle("Started") LifeCycleStopping = lifecycle("Stopping") LifeCycleStopped = lifecycle("Stopped") LifeCycleStopTimedout = lifecycle("StopTimedout") LifeCycleStartFailed = lifecycle("StartFailed") LifeCycleStopFailed = lifecycle("StopFailed") LifeCycleProcessingFailed = lifecycle("ProcessingFailed") )
Pre-defined values for TagSysLifecycle
var ( ErrorTypeInvalidHistoryAction = errorType("InvalidHistoryAction") ErrorTypeInvalidQueryTask = errorType("InvalidQueryTask") ErrorTypeQueryTaskFailed = errorType("QueryTaskFailed") ErrorTypePersistentStoreError = errorType("PersistentStoreError") ErrorTypeHistorySerializationError = errorType("HistorySerializationError") ErrorTypeHistoryDeserializationError = errorType("HistoryDeserializationError") ErrorTypeDuplicateTask = errorType("DuplicateTask") ErrorTypeMultipleCompletionDecisions = errorType("MultipleCompletionDecisions") ErrorTypeDuplicateTransferTask = errorType("DuplicateTransferTask") ErrorTypeDecisionFailed = errorType("DecisionFailed") ErrorTypeInvalidMutableStateAction = errorType("InvalidMutableStateAction") )
Pre-defined values for SysErrorType
var ( // Shard context events ValueShardRangeUpdated = shardupdate("ShardRangeUpdated") ValueShardAllocateTimerBeforeRead = shardupdate("ShardAllocateTimerBeforeRead") ValueRingMembershipChangedEvent = shardupdate("RingMembershipChangedEvent") )
Pre-defined values for SysShardUpdate
var ( OperationFailed = operationResult("OperationFailed") OperationStuck = operationResult("OperationStuck") OperationCritical = operationResult("OperationCritical") )
Pre-defined values for OperationResult
var ( StoreOperationGetTasks = storeOperation("get-tasks") StoreOperationCompleteTask = storeOperation("complete-task") StoreOperationCompleteTasksLessThan = storeOperation("complete-tasks-less-than") StoreOperationCreateWorkflowExecution = storeOperation("create-wf-execution") StoreOperationGetWorkflowExecution = storeOperation("get-wf-execution") StoreOperationUpdateWorkflowExecution = storeOperation("update-wf-execution") StoreOperationDeleteWorkflowExecution = storeOperation("delete-wf-execution") StoreOperationUpdateShard = storeOperation("update-shard") StoreOperationCreateTask = storeOperation("create-task") StoreOperationUpdateTaskList = storeOperation("update-task-list") StoreOperationStopTaskList = storeOperation("stop-task-list") )
Pre-defined values for TagSysStoreOperation
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
Tag is the interface for logging system
func ArchivalArchiveAttemptedInline ¶ added in v0.8.0
ArchivalArchiveAttemptedInline returns tag for whether archival is attempted inline before signal is sent.
func ArchivalArchiveFailReason ¶ added in v0.6.0
ArchivalArchiveFailReason returns tag for ArchivalArchiveFailReason
func ArchivalBlobIntegrityCheckFailReason ¶ added in v0.5.9
ArchivalBlobIntegrityCheckFailReason returns tag for ArchivalBlobIntegrityCheckFailReason
func ArchivalBlobKey ¶
ArchivalBlobKey returns tag for BlobKey
func ArchivalCallerServiceName ¶ added in v0.7.0
ArchivalCallerServiceName returns tag for the service name calling archival client
func ArchivalDeleteHistoryFailReason ¶ added in v0.5.9
ArchivalDeleteHistoryFailReason returns tag for ArchivalDeleteHistoryFailReason
func ArchivalDeterministicConstructionCheckFailReason ¶ added in v0.5.9
func ArchivalDeterministicConstructionCheckFailReason(deterministicConstructionCheckFailReason string) Tag
ArchivalDeterministicConstructionCheckFailReason returns tag for ArchivalDeterministicConstructionCheckFailReason
func ArchivalNonDeterministicBlobKey ¶ added in v0.5.9
ArchivalNonDeterministicBlobKey returns tag for randomly generated NonDeterministicBlobKey
func ArchivalRequestBranchToken ¶
ArchivalRequestBranchToken returns tag for RequestBranchToken
func ArchivalRequestCloseFailoverVersion ¶
ArchivalRequestCloseFailoverVersion returns tag for RequestCloseFailoverVersion
func ArchivalRequestDomainID ¶
ArchivalRequestDomainID returns tag for RequestDomainID
func ArchivalRequestDomainName ¶ added in v0.5.9
ArchivalRequestDomainName returns tag for RequestDomainName
func ArchivalRequestEventStoreVersion ¶
ArchivalRequestEventStoreVersion returns tag for RequestEventStoreVersion
func ArchivalRequestNextEventID ¶
ArchivalRequestNextEventID returns tag for RequestNextEventID
func ArchivalRequestRunID ¶
ArchivalRequestRunID returns tag for RequestRunID
func ArchivalRequestWorkflowID ¶
ArchivalRequestWorkflowID returns tag for RequestWorkflowID
func ArchivalURI ¶ added in v0.6.0
ArchivalURI returns tag for Archival URI
func AttemptCount ¶
AttemptCount returns tag for AttemptCount
func AttemptStart ¶
AttemptStart returns tag for AttemptStart
func CurrentVersion ¶
CurrentVersion returns tag for CurrentVersion
func CursorTimestamp ¶
CursorTimestamp returns tag for CursorTimestamp
func ESResponseError ¶
ESResponseError returns tag for ESResponse error
func ESResponseStatus ¶
ESResponseStatus returns tag for ESResponse status
func FailoverVersion ¶
FailoverVersion returns tag for Version
func FirstEventVersion ¶
FirstEventVersion returns tag for FirstEventVersion
func IncomingVersion ¶
IncomingVersion returns tag for IncomingVersion
func KafkaConsumerName ¶
KafkaConsumerName returns tag for ConsumerName
func KafkaPartition ¶
KafkaPartition returns tag for Partition
func KafkaPartitionKey ¶
func KafkaPartitionKey(partitionKey interface{}) Tag
KafkaPartitionKey returns tag for PartitionKey
func KafkaTopicName ¶
KafkaTopicName returns tag for TopicName
func LastEventVersion ¶
LastEventVersion returns tag for LastEventVersion
func NumberProcessed ¶
NumberProcessed returns tag for NumberProcessed
func PrevActiveCluster ¶
PrevActiveCluster returns tag for PrevActiveCluster
func PreviousShardRangeID ¶
PreviousShardRangeID returns tag for PreviousShardRangeID
func ReplicationInfo ¶
func ReplicationInfo(replicationInfo interface{}) Tag
ReplicationInfo returns tag for ReplicationInfo
func ReplicationState ¶
func ReplicationState(replicationState interface{}) Tag
ReplicationState returns tag for ReplicationState
func ScheduleAttempt ¶
ScheduleAttempt returns tag for ScheduleAttempt
func ShardReplicationAck ¶
ShardReplicationAck returns tag for ShardReplicationAck
func ShardTimerAcks ¶
func ShardTimerAcks(shardTimerAcks interface{}) Tag
ShardTimerAcks returns tag for ShardTimerAcks
func ShardTransferAcks ¶
func ShardTransferAcks(shardTransferAcks interface{}) Tag
ShardTransferAcks returns tag for ShardTransferAcks
func SourceCluster ¶
SourceCluster returns tag for SourceCluster
func SysStackTrace ¶
SysStackTrace returns tag for SysStackTrace
func TimerTaskStatus ¶
TimerTaskStatus returns tag for TimerTaskStatus
func TokenLastEventID ¶
TokenLastEventID returns tag for TokenLastEventID
func TokenLastEventVersion ¶
TokenLastEventVersion returns tag for TokenLastEventVersion
func ValueType ¶ added in v0.6.0
func ValueType(v interface{}) Tag
ValueType returns tag for ValueType
func WorkflowActivityID ¶
WorkflowActivityID returns tag for WorkflowActivityID
func WorkflowBeginningFirstEventID ¶
WorkflowBeginningFirstEventID returns tag for WorkflowBeginningFirstEventID
func WorkflowBeginningRunID ¶
WorkflowBeginningRunID returns tag for WorkflowBeginningRunID
func WorkflowBinaryChecksum ¶ added in v0.5.8
WorkflowBinaryChecksum returns tag for WorkflowBinaryChecksum
func WorkflowBranchID ¶
WorkflowBranchID returns tag for WorkflowBranchID
func WorkflowDecisionFailCause ¶
WorkflowDecisionFailCause returns tag for WorkflowDecisionFailCause
func WorkflowDecisionTimeoutSeconds ¶
WorkflowDecisionTimeoutSeconds returns tag for WorkflowDecisionTimeoutSeconds
func WorkflowDecisionType ¶
WorkflowDecisionType returns tag for WorkflowDecisionType
func WorkflowDomainID ¶
WorkflowDomainID returns tag for WorkflowDomainID
func WorkflowDomainIDs ¶
func WorkflowDomainIDs(domainIDs interface{}) Tag
WorkflowDomainIDs returns tag for WorkflowDomainIDs
func WorkflowDomainName ¶
WorkflowDomainName returns tag for WorkflowDomainName
func WorkflowEndingNextEventID ¶
WorkflowEndingNextEventID returns tag for WorkflowEndingNextEventID
func WorkflowEndingRunID ¶
WorkflowEndingRunID returns tag for WorkflowEndingRunID
func WorkflowError ¶
WorkflowError returns tag for WorkflowError
func WorkflowEventCount ¶
WorkflowEventCount returns tag for EventCount
func WorkflowEventID ¶
WorkflowEventID returns tag for WorkflowEventID
func WorkflowFirstEventID ¶
WorkflowFirstEventID returns tag for WorkflowFirstEventID
func WorkflowHandlerName ¶
WorkflowHandlerName returns tag for WorkflowHandlerName
func WorkflowHistorySize ¶
WorkflowHistorySize returns tag for HistorySize
func WorkflowHistorySizeBytes ¶
WorkflowHistorySizeBytes returns tag for HistorySizeBytes
func WorkflowInitiatedID ¶
WorkflowInitiatedID returns tag for WorkflowInitiatedID
func WorkflowNextEventID ¶
WorkflowNextEventID returns tag for WorkflowNextEventID
func WorkflowPollContextTimeout ¶
WorkflowPollContextTimeout returns tag for WorkflowPollContextTimeout
func WorkflowQueryType ¶
WorkflowQueryType returns tag for WorkflowQueryType
func WorkflowResetBaseRunID ¶ added in v0.5.8
WorkflowResetBaseRunID returns tag for WorkflowResetBaseRunID
func WorkflowResetNewRunID ¶ added in v0.5.8
WorkflowResetNewRunID returns tag for WorkflowResetNewRunID
func WorkflowResetNextEventID ¶
WorkflowResetNextEventID returns tag for WorkflowResetNextEventID
func WorkflowRunID ¶
WorkflowRunID returns tag for WorkflowRunID
func WorkflowScheduleID ¶
WorkflowScheduleID returns tag for WorkflowScheduleID
func WorkflowSignalCount ¶
WorkflowSignalCount returns tag for SignalCount
func WorkflowSize ¶
WorkflowSize returns tag for WorkflowSize
func WorkflowStartedID ¶
WorkflowStartedID returns tag for WorkflowStartedID
func WorkflowTaskListName ¶
WorkflowTaskListName returns tag for WorkflowTaskListName
func WorkflowTaskListType ¶
WorkflowTaskListType returns tag for WorkflowTaskListType
func WorkflowTimeoutType ¶
WorkflowTimeoutType returns tag for WorkflowTimeoutType
func WorkflowTimerID ¶
WorkflowTimerID returns tag for WorkflowTimerID
func WorkflowTreeID ¶
WorkflowTreeID returns tag for WorkflowTreeID