Documentation
¶
Index ¶
- Constants
- Variables
- type Tag
- type ZapTag
- func AckLevel(s any) ZapTag
- func ActivityID(id string) ZapTag
- func ActivityInfo(activityInfo any) ZapTag
- func ActivitySize(activitySize int64) ZapTag
- func Address(ad string) ZapTag
- func Addresses(ads []string) ZapTag
- func Any(key string, value any) ZapTag
- func Archetype(archetype string) ZapTag
- func ArchetypeID(archetype uint32) ZapTag
- func ArchivalArchiveFailReason(archiveFailReason string) ZapTag
- func ArchivalCallerServiceName(callerServiceName string) ZapTag
- func ArchivalRequestBranchToken(requestBranchToken []byte) ZapTag
- func ArchivalRequestCloseFailoverVersion(requestCloseFailoverVersion int64) ZapTag
- func ArchivalRequestCloseTimestamp(requestCloseTimeStamp *timestamppb.Timestamp) ZapTag
- func ArchivalRequestNamespace(requestNamespace string) ZapTag
- func ArchivalRequestNamespaceID(requestNamespaceID string) ZapTag
- func ArchivalRequestNextEventID(requestNextEventID int64) ZapTag
- func ArchivalRequestRunID(requestRunID string) ZapTag
- func ArchivalRequestStatus(requestStatus string) ZapTag
- func ArchivalRequestWorkflowID(requestWorkflowID string) ZapTag
- func ArchivalURI(URI string) ZapTag
- func ArchvialRequestWorkflowType(requestWorkflowType string) ZapTag
- func Attempt(attempt int32) ZapTag
- func AttemptCount(attemptCount int64) ZapTag
- func AttemptEnd(attemptEnd time.Time) ZapTag
- func AttemptStart(attemptStart time.Time) ZapTag
- func Binary(key string, value []byte) ZapTag
- func BlobSize(blobSize int64) ZapTag
- func BlobSizeViolationOperation(operation string) ZapTag
- func Bool(key string, b bool) ZapTag
- func BootstrapHostPorts(s string) ZapTag
- func BuildId(buildId string) ZapTag
- func BuildIdTaskReachabilityTag(buildIdReachability string) ZapTag
- func Cause(cause string) ZapTag
- func CertThumbprint(thumbprint string) ZapTag
- func ChasmRunID(id string) ZapTag
- func ClusterName(clusterName string) ZapTag
- func Counter(c int) ZapTag
- func CurrentVersion(currentVersion int64) ZapTag
- func CursorTimestamp(timestamp time.Time) ZapTag
- func DLQMessageID(dlqMessageID int64) ZapTag
- func DefaultValue(v any) ZapTag
- func DeletedExecutionsCount(count int) ZapTag
- func DeletedExecutionsErrorCount(count int) ZapTag
- func Deployment(d string) ZapTag
- func DetailInfo(i string) ZapTag
- func Duration(key string, value time.Duration) ZapTag
- func DurationPtr(key string, value *durationpb.Duration) ZapTag
- func ESClusterStatus(status string) ZapTag
- func ESConfig(c any) ZapTag
- func ESDocID(id string) ZapTag
- func ESField(ESField string) ZapTag
- func ESIndex(index string) ZapTag
- func ESKey(ESKey string) ZapTag
- func ESMapping(mapping map[string]enumspb.IndexedValueType) ZapTag
- func ESRequest(ESRequest string) ZapTag
- func ESResponseError(msg string) ZapTag
- func ESResponseStatus(status int) ZapTag
- func ESValue(ESValue []byte) ZapTag
- func Endpoint(endpoint string) ZapTag
- func Env(env string) ZapTag
- func Error(err error) ZapTag
- func ErrorType(err error) ZapTag
- func FailoverMsg(failoverMsg string) ZapTag
- func FailoverVersion(version int64) ZapTag
- func FirstEventVersion(version int64) ZapTag
- func Float64(key string, value float64) ZapTag
- func Host(h string) ZapTag
- func HostID(hid string) ZapTag
- func IgnoredValue(v any) ZapTag
- func IncomingVersion(incomingVersion int64) ZapTag
- func Int(key string, value int) ZapTag
- func Int32(key string, value int32) ZapTag
- func Int64(key string, value int64) ZapTag
- func IsRetryable(isRetryable bool) ZapTag
- func Key(k string) ZapTag
- func LastEventVersion(version int64) ZapTag
- func ListenerName(name string) ZapTag
- func MaxLevel(lv int64) ZapTag
- func MaxQueryLevel(s time.Time) ZapTag
- func MetricScope(metricScope int) ZapTag
- func MinLevel(lv int64) ZapTag
- func MinQueryLevel(s time.Time) ZapTag
- func Name(k string) ZapTag
- func NewAnyTag(key string, value any) ZapTag
- func NewBinaryTag(key string, value []byte) ZapTag
- func NewBoolTag(key string, value bool) ZapTag
- func NewDurationPtrTag(key string, value *durationpb.Duration) ZapTag
- func NewDurationTag(key string, value time.Duration) ZapTag
- func NewErrorTag(key string, value error) ZapTag
- func NewFloat64(key string, value float64) ZapTag
- func NewInt(key string, value int) ZapTag
- func NewInt32(key string, value int32) ZapTag
- func NewInt64(key string, value int64) ZapTag
- func NewStringTag(key string, value string) ZapTag
- func NewStringerTag(key string, value fmt.Stringer) ZapTag
- func NewStringersTag(key string, value []fmt.Stringer) ZapTag
- func NewStringsTag(key string, value []string) ZapTag
- func NewTimePtrTag(key string, value *timestamppb.Timestamp) ZapTag
- func NewTimeTag(key string, value time.Time) ZapTag
- func NewUInt32(key string, value uint32) ZapTag
- func NewUInt64(key string, value uint64) ZapTag
- func NewZapTag(field zap.Field) ZapTag
- func NextNumber(n int64) ZapTag
- func NexusEndpointTargetNamespaceID(namespaceID string) ZapTag
- func NexusOperation(operation string) ZapTag
- func NexusTaskQueueName(taskQueueName string) ZapTag
- func Number(n int64) ZapTag
- func NumberChanged(n int) ZapTag
- func NumberDeleted(n int) ZapTag
- func NumberProcessed(n int) ZapTag
- func Operation(operation string) ZapTag
- func OperationID(id string) ZapTag
- func Port(p int) ZapTag
- func PrevActiveCluster(prevActiveCluster string) ZapTag
- func PreviousShardRangeID(id int64) ZapTag
- func QueryID(queryID string) ZapTag
- func QueueAlert(alert any) ZapTag
- func QueueReaderID(readerID int64) ZapTag
- func RPS(c int64) ZapTag
- func ReachabilityExitPointTag(reachabilityExitPoint string) ZapTag
- func ReadLevel(lv int64) ZapTag
- func ReplicationTask(replicationTask any) ZapTag
- func RequestCount(c int) ZapTag
- func RequestID(requestID string) ZapTag
- func ScheduleAttempt(scheduleAttempt int32) ZapTag
- func ScheduleID(scheduleID string) ZapTag
- func ServerName(serverName string) ZapTag
- func Service(sv primitives.ServiceName) ZapTag
- func ServiceErrorType(err error) ZapTag
- func ShardContextState(state int) ZapTag
- func ShardContextStateRequest(r string) ZapTag
- func ShardID(shardID int32) ZapTag
- func ShardQueueAcks(categoryName string, ackLevel any) ZapTag
- func ShardRangeID(id int64) ZapTag
- func ShardTime(shardTime any) ZapTag
- func SourceCluster(sourceCluster string) ZapTag
- func SourceShardID(shardID int32) ZapTag
- func StoreType(storeType string) ZapTag
- func String(key string, value string) ZapTag
- func Stringer(key string, value fmt.Stringer) ZapTag
- func Stringers(key string, value []fmt.Stringer) ZapTag
- func Strings(key string, value []string) ZapTag
- func SysStackTrace(stackTrace string) ZapTag
- func TLSCertFile(filePath string) ZapTag
- func TLSCertFiles(filePaths []string) ZapTag
- func TLSKeyFile(filePath string) ZapTag
- func TargetCluster(targetCluster string) ZapTag
- func TargetShardID(shardID int32) ZapTag
- func Task(task any) ZapTag
- func TaskCategoryID(taskCategoryID int) ZapTag
- func TaskID(taskID int64) ZapTag
- func TaskKey(key any) ZapTag
- func TaskPriority(priority string) ZapTag
- func TaskType(taskType enumsspb.TaskType) ZapTag
- func TaskVersion(taskVersion int64) ZapTag
- func TaskVisibilityTimestamp(timestamp time.Time) ZapTag
- func Time(key string, value time.Time) ZapTag
- func TimePtr(key string, value *timestamppb.Timestamp) ZapTag
- func Timeout(timeoutValue string) ZapTag
- func TimerTaskStatus(timerTaskStatus int32) ZapTag
- func Timestamp(timestamp time.Time) ZapTag
- func TokenLastEventID(id int64) ZapTag
- func TokenLastEventVersion(version int64) ZapTag
- func TransportType(transportType string) ZapTag
- func UInt32(key string, value uint32) ZapTag
- func UInt64(key string, value uint64) ZapTag
- func URL(url string) ZapTag
- func UnexpectedErrorAttempts(attempt int32) ZapTag
- func UserDataVersion(v int64) ZapTag
- func Value(v any) ZapTag
- func ValueType(v any) ZapTag
- func VersioningBehavior(behavior enumspb.VersioningBehavior) ZapTag
- func WorkerComponent(v any) ZapTag
- func WorkerVersion(version string) ZapTag
- func WorkerVersioningAssignmentRuleCount(assignmentRuleCount int) ZapTag
- func WorkerVersioningMaxUpstreamBuildIDs(maxUpstreamBuildIDs int) ZapTag
- func WorkerVersioningRedirectRuleCount(redirectRuleCount int) ZapTag
- func WorkflowBeginningFirstEventID(beginningFirstEventID int64) ZapTag
- func WorkflowBeginningRunID(beginningRunID string) ZapTag
- func WorkflowBinaryChecksum(cs string) ZapTag
- func WorkflowBranchID(branchID string) ZapTag
- func WorkflowBranchToken(branchToken []byte) ZapTag
- func WorkflowCommandType(commandType enumspb.CommandType) ZapTag
- func WorkflowEndingNextEventID(endingNextEventID int64) ZapTag
- func WorkflowEndingRunID(endingRunID string) ZapTag
- func WorkflowEventCount(eventCount int) ZapTag
- func WorkflowEventID(eventID int64) ZapTag
- func WorkflowFirstEventID(firstEventID int64) ZapTag
- func WorkflowHandlerName(handlerName string) ZapTag
- func WorkflowHistorySize(historySize int) ZapTag
- func WorkflowHistorySizeBytes(historySizeBytes int) ZapTag
- func WorkflowID(workflowID string) ZapTag
- func WorkflowInitiatedID(id int64) ZapTag
- func WorkflowMutableStateSize(mutableStateSize int) ZapTag
- func WorkflowNamespace(namespace string) ZapTag
- func WorkflowNamespaceID(namespaceID string) ZapTag
- func WorkflowNamespaceIDs(namespaceIDs map[string]struct{}) ZapTag
- func WorkflowNewRunID(newRunID string) ZapTag
- func WorkflowNextEventID(nextEventID int64) ZapTag
- func WorkflowPollContextTimeout(pollContextTimeout time.Duration) ZapTag
- func WorkflowQueryType(qt string) ZapTag
- func WorkflowRequestBranchToken(branchToken []byte) ZapTag
- func WorkflowResetBaseRunID(runID string) ZapTag
- func WorkflowResetNewRunID(runID string) ZapTag
- func WorkflowResetNextEventID(resetNextEventID int64) ZapTag
- func WorkflowRuleID(ruleID string) ZapTag
- func WorkflowRunID(runID string) ZapTag
- func WorkflowScheduledEventID(scheduledEventID int64) ZapTag
- func WorkflowSignalCount(signalCount int64) ZapTag
- func WorkflowSize(workflowSize int64) ZapTag
- func WorkflowStartedEventID(startedEventID int64) ZapTag
- func WorkflowStartedTimestamp(t time.Time) ZapTag
- func WorkflowState(s enumsspb.WorkflowExecutionState) ZapTag
- func WorkflowTaskFailedCause(workflowTaskFailCause enumspb.WorkflowTaskFailedCause) ZapTag
- func WorkflowTaskQueueName(taskQueueName string) ZapTag
- func WorkflowTaskQueueType(taskQueueType enumspb.TaskQueueType) ZapTag
- func WorkflowTaskRequestId(s string) ZapTag
- func WorkflowTaskTimeout(s time.Duration) ZapTag
- func WorkflowTaskTimeoutSeconds(s int64) ZapTag
- func WorkflowTaskType(wtType string) ZapTag
- func WorkflowTimeoutType(timeoutType enumspb.TimeoutType) ZapTag
- func WorkflowTimerID(id string) ZapTag
- func WorkflowTreeID(treeID string) ZapTag
- func WorkflowType(wfType string) ZapTag
- func Zap(field zap.Field) ZapTag
Constants ¶
const ( LoggingCallAtKey = "logging-call-at" WorkflowIDKey = "wf-id" WorkflowRunIDKey = "wf-run-id" )
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") WorkflowActionWorkflowPaused = workflowAction("add-workflow-paused-event") WorkflowActionWorkflowUnpaused = workflowAction("add-workflow-unpaused-event") // workflow cancellation / sign / update-options 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") WorkflowActionWorkflowPropertiesModified = workflowAction("add-workflow-properties-modified-event") WorkflowActionWorkflowOptionsUpdated = workflowAction("add-workflow-options-updated-event") // workflow update WorkflowActionUpdateAccepted = workflowAction("add-workflow-update-accepted-event") WorkflowActionUpdateCompleted = workflowAction("add-workflow-update-completed-event") WorkflowActionUpdateAdmitted = workflowAction("add-workflow-update-admitted-event") // workflow task WorkflowActionWorkflowTaskScheduled = workflowAction("add-workflowtask-scheduled-event") WorkflowActionWorkflowTaskStarted = workflowAction("add-workflowtask-started-event") WorkflowActionWorkflowTaskCompleted = workflowAction("add-workflowtask-completed-event") WorkflowActionWorkflowTaskTimedOut = workflowAction("add-workflowtask-timedout-event") WorkflowActionWorkflowTaskFailed = workflowAction("add-workflowtask-failed-event") // in memory workflow task WorkflowActionInMemoryWorkflowTaskScheduled = workflowAction("add-in-memory-workflowtask-scheduled") WorkflowActionInMemoryWorkflowTaskStarted = workflowAction("add-in-memory-workflowtask-started") // 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") WorkflowActionActivityTaskRetry = workflowAction("add-activitytask-retry-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") // time skipping WorkflowActionWorkflowExecutionTimeSkippingTransitioned = workflowAction("add-workflow-execution-time-skipping-transitioned-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 ( ComponentFX = component("fx") ComponentTaskQueue = component("taskqueue") ComponentHistoryEngine = component("history-engine") ComponentHistoryCache = component("history-cache") ComponentEventsCache = component("events-cache") ComponentTransferQueue = component("transfer-queue-processor") ComponentOutboundQueue = component("outbound-queue-processor") ComponentVisibilityQueue = component("visibility-queue-processor") ComponentArchivalQueue = component("archival-queue-processor") ComponentTimerQueue = component("timer-queue-processor") ComponentMemoryScheduledQueue = component("memory-scheduled-queue-processor") ComponentTimerBuilder = component("timer-builder") ComponentReplicatorQueue = component("replicator-queue-processor") ComponentShardController = component("shard-controller") ComponentShardContext = component("shard-context") ComponentShardEngine = component("shard-engine") ComponentMatchingEngine = component("matching-engine") ComponentPartitionScaler = component("partition-scaler") ComponentReplicator = component("replicator") ComponentReplicationTaskProcessor = component("replication-task-processor") ComponentHSMStateReplicator = component("hsm-state-replicator") ComponentActivityStateReplicator = component("activity-state-replicator") ComponentWorkflowStateReplicator = component("workflow-state-replicator") ComponentBackfillHistoryReplicator = component("backfill-history-replicator") ComponentHistoryReplicator = component("history-replicator") ComponentHistoryImporter = component("history-importer") ComponentIndexer = component("indexer") ComponentIndexerProcessor = component("indexer-processor") ComponentIndexerESProcessor = component("indexer-es-processor") ComponentESVisibilityManager = component("es-visibility-manager") ComponentArchiver = component("archiver") ComponentBatcher = component("batcher") ComponentAdminBatcher = component("admin-batcher") ComponentWorker = component("worker") ComponentWorkerManager = component("worker-manager") ComponentPerNSWorkerManager = component("perns-worker-manager") ComponentServiceResolver = component("service-resolver") ComponentMetadataInitializer = component("metadata-initializer") ComponentAddSearchAttributes = component("add-search-attributes") ComponentRPCHandler = component("rpc-handler") ComponentLongPollHandler = component("long-poll-handler") ComponentVisibilityHandler = component("visibility-handler") ComponentNamespaceReplication = component("namespace-replication") ComponentPersistence = component("persistence") ComponentWorkflowUpdate = component("workflow-update") ComponentTaskScheduler = component("task-scheduler") VersionChecker = component("version-checker") )
Pre-defined values for TagSysComponent
var ( ScopeHost = scope("host") ScopeNamespace = scope("namespace") )
Pre-defined values for scope tag
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") ErrorTypeMultipleCompletionCommands = errorType("MultipleCompletionCommands") ErrorTypeDuplicateTransferTask = errorType("DuplicateTransferTask") ErrorTypeWorkflowTaskFailed = errorType("WorkflowTaskFailed") ErrorTypeInvalidMutableStateAction = errorType("InvalidMutableStateAction") ErrorTypeInvalidMemWorkflowTaskAction = errorType("InvalidMemWorkflowTaskAction") )
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") StoreOperationConflictResolveWorkflowExecution = storeOperation("conflict-resolve-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") StoreOperationUpdateTaskQueue = storeOperation("update-task-queue") StoreOperationStopTaskQueue = storeOperation("stop-task-queue") )
Pre-defined values for TagSysStoreOperation
var FailedAssertion = NewBoolTag("failed-assertion", true)
FailedAssertion is a tag for marking a message as a failed assertion.
Functions ¶
This section is empty.
Types ¶
type ZapTag ¶
type ZapTag struct {
// contains filtered or unexported fields
}
ZapTag is the wrapper over zap.Field.
func ActivityInfo ¶
ActivityInfo returns tag for activity info
func ActivitySize ¶
ActivitySize returns a tag for a standalone activity size
func ArchivalArchiveFailReason ¶
ArchivalArchiveFailReason returns tag for ArchivalArchiveFailReason
func ArchivalCallerServiceName ¶
ArchivalCallerServiceName returns tag for the service name calling archival client
func ArchivalRequestBranchToken ¶
ArchivalRequestBranchToken returns tag for RequestBranchToken
func ArchivalRequestCloseFailoverVersion ¶
ArchivalRequestCloseFailoverVersion returns tag for RequestCloseFailoverVersion
func ArchivalRequestCloseTimestamp ¶
func ArchivalRequestCloseTimestamp(requestCloseTimeStamp *timestamppb.Timestamp) ZapTag
ArchivalRequestCloseTimestamp returns tag for RequestCloseTimestamp
func ArchivalRequestNamespace ¶
ArchivalRequestNamespace returns tag for RequestNamespace
func ArchivalRequestNamespaceID ¶
ArchivalRequestNamespaceID returns tag for RequestNamespaceID
func ArchivalRequestNextEventID ¶
ArchivalRequestNextEventID returns tag for RequestNextEventID
func ArchivalRequestRunID ¶
ArchivalRequestRunID returns tag for RequestRunID
func ArchivalRequestStatus ¶
ArchivalRequestStatus returns tag for RequestStatus
func ArchivalRequestWorkflowID ¶
ArchivalRequestWorkflowID returns tag for RequestWorkflowID
func ArchvialRequestWorkflowType ¶
ArchvialRequestWorkflowType returns tag for RequestWorkflowType
func AttemptCount ¶
AttemptCount returns tag for AttemptCount
func AttemptEnd ¶
AttemptEnd returns tag for AttemptEnd
func AttemptStart ¶
AttemptStart returns tag for AttemptStart
func BlobSizeViolationOperation ¶
BlobSizeViolationOperation returns tag for BlobSizeViolationOperation
func BootstrapHostPorts ¶
BootstrapHostPorts returns tag for bootstrap host ports
func BuildIdTaskReachabilityTag ¶
BuildIdTaskReachabilityTag returns tag for build id task reachability
func CertThumbprint ¶
CertThumbprint returns tag for CertThumbprint
func ClusterName ¶
ClusterName returns tag for ClusterName
func CurrentVersion ¶
CurrentVersion returns tag for CurrentVersion
func CursorTimestamp ¶
CursorTimestamp returns tag for CursorTimestamp
func DLQMessageID ¶
func DeletedExecutionsCount ¶
func Deployment ¶
func DurationPtr ¶
func DurationPtr(key string, value *durationpb.Duration) ZapTag
func ESClusterStatus ¶
func ESResponseError ¶
ESResponseError returns tag for ESResponse error
func ESResponseStatus ¶
ESResponseStatus returns tag for ESResponse status
func FailoverMsg ¶
FailoverMsg returns tag for FailoverMsg
func FailoverVersion ¶
FailoverVersion returns tag for Version
func FirstEventVersion ¶
FirstEventVersion returns tag for FirstEventVersion
func IncomingVersion ¶
IncomingVersion returns tag for IncomingVersion
func IsRetryable ¶
IsRetryable returns tag for IsRetryable
func LastEventVersion ¶
LastEventVersion returns tag for LastEventVersion
func MaxQueryLevel ¶
MaxQueryLevel returns tag for query level
func MinQueryLevel ¶
MinQueryLevel returns tag for query level
func NewBinaryTag ¶
func NewBoolTag ¶
func NewDurationPtrTag ¶
func NewDurationPtrTag(key string, value *durationpb.Duration) ZapTag
func NewErrorTag ¶
func NewFloat64 ¶
func NewStringTag ¶
func NewStringerTag ¶
NewStringerTag returns a tag that will lazily generate the string representation of the provided fmt.Stringer value. Note that it does **not** cache the result, so you should use `NewStringTag` instead if the tag is applied to the logger itself using `log.With`.
These are still useful if the String() implementation is complicated, especially if you have lots of Debug-level logs that are ignored in production.
func NewStringersTag ¶
NewStringersTag returns a tag that will lazily generate the string representation of the provided fmt.Stringer values. Note that it does **not** cache the results, so you should use `NewStringsTag` instead if the tag is applied to the logger itself using `log.With`.
These are still useful if the String() implementation is complicated, especially if you have lots of Debug-level logs that are ignored in production.
func NewStringsTag ¶
func NewTimePtrTag ¶
func NewTimePtrTag(key string, value *timestamppb.Timestamp) ZapTag
func NexusEndpointTargetNamespaceID ¶
NexusEndpointTargetNamespaceID returns a tag for the namespace ID targeted by a Nexus endpoint's worker target.
func NexusOperation ¶
func NexusTaskQueueName ¶
NexusTaskQueueName returns tag for NexusTaskQueueName
func NumberProcessed ¶
NumberProcessed returns tag for NumberProcessed
func OperationID ¶
OperationID returns tag for a nexus operation ID
func PrevActiveCluster ¶
PrevActiveCluster returns tag for PrevActiveCluster
func PreviousShardRangeID ¶
PreviousShardRangeID returns tag for PreviousShardRangeID
func QueueReaderID ¶
QueueReaderID returns tag for queue readerID
func ReachabilityExitPointTag ¶
ReachabilityExitPointTag returns tag for reachabilityExitPoint
func ReplicationTask ¶
func ScheduleAttempt ¶
ScheduleAttempt returns tag for ScheduleAttempt
func ServiceErrorType ¶
ServiceErrorType returns tag for ServiceErrorType
func ShardContextState ¶
ShardContextState returns tag for ShardContextState
func ShardContextStateRequest ¶
ShardContextStateRequest returns tag for ShardContextStateRequest
func ShardQueueAcks ¶
ShardQueueAcks returns tag for shard queue ack levels
func SourceCluster ¶
SourceCluster returns tag for SourceCluster
func SourceShardID ¶
func SysStackTrace ¶
SysStackTrace returns tag for SysStackTrace
func TLSCertFile ¶
TLSCertFile returns tag for TLS cert file name
func TLSCertFiles ¶
TLSCertFiles returns tag for TLS cert file names
func TargetCluster ¶
TargetCluster returns tag for TargetCluster
func TargetShardID ¶
func TaskCategoryID ¶
func TaskPriority ¶
TaskPriority returns tag for TaskPriority
func TaskVersion ¶
TaskVersion returns tag for TaskVersion
func TaskVisibilityTimestamp ¶
TaskVisibilityTimestamp returns tag for task visibilityTimestamp
func TimerTaskStatus ¶
TimerTaskStatus returns tag for TimerTaskStatus
func TokenLastEventID ¶
TokenLastEventID returns tag for TokenLastEventID
func TokenLastEventVersion ¶
TokenLastEventVersion returns tag for TokenLastEventVersion
func TransportType ¶
TransportType returns tag for transportType
func UnexpectedErrorAttempts ¶
UnexpectedErrorAttempts returns tag for UnexpectedErrorAttempts
func UserDataVersion ¶
func VersioningBehavior ¶
func VersioningBehavior(behavior enumspb.VersioningBehavior) ZapTag
func WorkerComponent ¶
func WorkerVersion ¶
WorkerVersion returns tag for worker build ID
func WorkerVersioningAssignmentRuleCount ¶
WorkerVersioningAssignmentRuleCount returns tag for AssignmentRuleCount
func WorkerVersioningMaxUpstreamBuildIDs ¶
WorkerVersioningMaxUpstreamBuildIDs returns tag for RedirectRuleCount
func WorkerVersioningRedirectRuleCount ¶
WorkerVersioningRedirectRuleCount returns tag for RedirectRuleCount
func WorkflowBeginningFirstEventID ¶
WorkflowBeginningFirstEventID returns tag for WorkflowBeginningFirstEventID
func WorkflowBeginningRunID ¶
WorkflowBeginningRunID returns tag for WorkflowBeginningRunID
func WorkflowBinaryChecksum ¶
WorkflowBinaryChecksum returns tag for WorkflowBinaryChecksum
func WorkflowBranchID ¶
WorkflowBranchID returns tag for WorkflowBranchID
func WorkflowBranchToken ¶
WorkflowBranchToken returns tag for WorkflowBranchToken
func WorkflowCommandType ¶
func WorkflowCommandType(commandType enumspb.CommandType) ZapTag
WorkflowCommandType returns tag for WorkflowCommandType
func WorkflowEndingNextEventID ¶
WorkflowEndingNextEventID returns tag for WorkflowEndingNextEventID
func WorkflowEndingRunID ¶
WorkflowEndingRunID returns tag for WorkflowEndingRunID
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 WorkflowID ¶
WorkflowID returns tag for WorkflowID TODO: Rename to BusinessID.
func WorkflowInitiatedID ¶
WorkflowInitiatedID returns tag for WorkflowInitiatedID
func WorkflowMutableStateSize ¶
WorkflowMutableStateSize returns tag for MutableStateSize
func WorkflowNamespace ¶
WorkflowNamespace returns tag for WorkflowNamespace
func WorkflowNamespaceID ¶
WorkflowNamespaceID returns tag for WorkflowNamespaceID TODO: Rename to NamespaceID
func WorkflowNamespaceIDs ¶
WorkflowNamespaceIDs returns tag for WorkflowNamespaceIDs
func WorkflowNewRunID ¶
WorkflowNewRunID returns tag for WorkflowNewRunID
func WorkflowNextEventID ¶
WorkflowNextEventID returns tag for WorkflowNextEventID
func WorkflowPollContextTimeout ¶
WorkflowPollContextTimeout returns tag for WorkflowPollContextTimeout
func WorkflowQueryType ¶
WorkflowQueryType returns tag for WorkflowQueryType
func WorkflowRequestBranchToken ¶
WorkflowRequestBranchToken returns tag for a branch token supplied by the caller
func WorkflowResetBaseRunID ¶
WorkflowResetBaseRunID returns tag for WorkflowResetBaseRunID
func WorkflowResetNewRunID ¶
WorkflowResetNewRunID returns tag for WorkflowResetNewRunID
func WorkflowResetNextEventID ¶
WorkflowResetNextEventID returns tag for WorkflowResetNextEventID
func WorkflowRuleID ¶
WorkflowRuleID returns tag for WorkflowRuleID
func WorkflowRunID ¶
WorkflowRunID returns tag for WorkflowRunID TODO: Rename to RunID
func WorkflowScheduledEventID ¶
WorkflowScheduledEventID returns tag for WorkflowScheduledEventID
func WorkflowSignalCount ¶
WorkflowSignalCount returns tag for SignalCount
func WorkflowSize ¶
WorkflowSize returns tag for WorkflowSize
func WorkflowStartedEventID ¶
WorkflowStartedEventID returns tag for WorkflowStartedEventID
func WorkflowStartedTimestamp ¶
WorkflowStartedTimestamp returns tag for WorkflowStartedTimestamp
func WorkflowState ¶
func WorkflowState(s enumsspb.WorkflowExecutionState) ZapTag
WorkflowState returns tag for WorkflowState
func WorkflowTaskFailedCause ¶
func WorkflowTaskFailedCause(workflowTaskFailCause enumspb.WorkflowTaskFailedCause) ZapTag
WorkflowTaskFailedCause returns tag for WorkflowTaskFailedCause
func WorkflowTaskQueueName ¶
WorkflowTaskQueueName returns tag for WorkflowTaskQueueName
func WorkflowTaskQueueType ¶
func WorkflowTaskQueueType(taskQueueType enumspb.TaskQueueType) ZapTag
WorkflowTaskQueueType returns tag for WorkflowTaskQueueType
func WorkflowTaskRequestId ¶
WorkflowTaskRequestId returns a tag for workflow task RequestId
func WorkflowTaskTimeout ¶
WorkflowTaskTimeout returns tag for WorkflowTaskTimeoutSeconds
func WorkflowTaskTimeoutSeconds ¶
WorkflowTaskTimeoutSeconds returns tag for WorkflowTaskTimeoutSeconds
func WorkflowTaskType ¶
func WorkflowTimeoutType ¶
func WorkflowTimeoutType(timeoutType enumspb.TimeoutType) ZapTag
WorkflowTimeoutType returns tag for WorkflowTimeoutType
func WorkflowTimerID ¶
WorkflowTimerID returns tag for WorkflowTimerID
func WorkflowTreeID ¶
WorkflowTreeID returns tag for WorkflowTreeID
func WorkflowType ¶
WorkflowType returns tag for WorkflowType