Documentation ¶
Index ¶
- Constants
- Variables
- type Tag
- func Address(ad string) Tag
- func Addresses(ads []string) Tag
- func ArchivalBlobKey(blobKey string) Tag
- func ArchivalBucket(bucket string) Tag
- func ArchivalClusterArchivalStatus(clusterArchivalStatus interface{}) Tag
- func ArchivalFileBlobstoreBlobPath(fileBlobstoreBlobPath string) Tag
- func ArchivalFileBlobstoreMetadataPath(fileBlobstoreMetadataPath string) Tag
- func ArchivalRequestBranchToken(requestBranchToken []byte) Tag
- func ArchivalRequestCloseFailoverVersion(requestCloseFailoverVersion int64) Tag
- func ArchivalRequestDomainID(requestDomainID string) Tag
- func ArchivalRequestEventStoreVersion(requestEventStoreVersion int32) Tag
- func ArchivalRequestNextEventID(requestNextEventID int64) Tag
- func ArchivalRequestRunID(requestRunID string) Tag
- func ArchivalRequestWorkflowID(requestWorkflowID string) Tag
- func ArchivalUploadSkipReason(uploadSkipReason 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 UploadFailReason(uploadFailReason string) Tag
- func Value(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 ( WorkflowActionWorkflowStarted = workflowAction("add-workflowexecution-started-event") 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") 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") WorkflowActionActivityTaskCancelRequest = workflowAction("add-activitytask-cancel-request-event") WorkflowActionActivityTaskCancelRequestFailed = workflowAction("add-activitytask-cancel-request-failed-event") WorkflowActionCompleteWorkflow = workflowAction("add-complete-workflow-event") WorkflowActionFailWorkflow = workflowAction("add-fail-workflow-event") WorkflowActionTimeoutWorkflow = workflowAction("add-timeout-workflow-event") WorkflowActionCancelWorkflow = workflowAction("add-cancel-workflow-event") WorkflowActionTimerStarted = workflowAction("add-timer-started-event") WorkflowActionTimerFired = workflowAction("add-timer-fired-event") WorkflowActionTimerCanceled = workflowAction("add-timer-Canceled-event") WorkflowActionWorkflowTerminated = workflowAction("add-workflowexecution-terminated-event") WorkflowActionWorkflowSignaled = workflowAction("add-workflowexecution-signaled-event") WorkflowActionContinueAsNew = workflowAction("add-continue-as-new-event") WorkflowActionWorkflowCanceled = workflowAction("add-workflowexecution-canceled-event") WorkflowActionChildExecutionStarted = workflowAction("add-childexecution-started-event") WorkflowActionStartChildExecutionFailed = workflowAction("add-start-childexecution-failed-event") WorkflowActionChildExecutionCompleted = workflowAction("add-childexecution-completed-event") WorkflowActionChildExecutionFailed = workflowAction("add-childexecution-failed-event") WorkflowActionChildExecutionCanceled = workflowAction("add-childexecution-canceled-event") WorkflowActionChildExecutionTerminated = workflowAction("add-childexecution-terminated-event") WorkflowActionChildExecutionTimedOut = workflowAction("add-childexecution-timedout-event") WorkflowActionRequestCancelWorkflow = workflowAction("add-request-cancel-workflow-event") WorkflowActionWorkflowCancelRequested = workflowAction("add-workflow-execution-cancel-requested-event") WorkflowActionWorkflowCancelFailed = workflowAction("add-workflow-execution-cancel-failed-event") WorkflowActionWorkflowSignalRequested = workflowAction("add-workflow-execution-signal-requested-event") WorkflowActionWorkflowSignalFailed = workflowAction("add-workflow-execution-signal-failed-event") WorkflowActionUnknownEvent = 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") 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 ArchivalBlobKey ¶
ArchivalBlobKey returns tag for BlobKey
func ArchivalClusterArchivalStatus ¶
func ArchivalClusterArchivalStatus(clusterArchivalStatus interface{}) Tag
ArchivalClusterArchivalStatus returns tag for ClusterArchivalStatus
func ArchivalFileBlobstoreBlobPath ¶
ArchivalFileBlobstoreBlobPath returns tag for FileBlobstoreBlobPath
func ArchivalFileBlobstoreMetadataPath ¶
ArchivalFileBlobstoreMetadataPath returns tag for FileBlobstoreMetadataPath
func ArchivalRequestBranchToken ¶
ArchivalRequestBranchToken returns tag for RequestBranchToken
func ArchivalRequestCloseFailoverVersion ¶
ArchivalRequestCloseFailoverVersion returns tag for RequestCloseFailoverVersion
func ArchivalRequestDomainID ¶
ArchivalRequestDomainID returns tag for RequestDomainID
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 ArchivalUploadSkipReason ¶
ArchivalUploadSkipReason returns tag for UploadSkipReason
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 UploadFailReason ¶
UploadFailReason returns tag for UploadFailReason
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