tracer

package
v0.0.0-...-12b6483 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewTrace = func(eventId int, taskName string, message string, keyword string) trace {
	return trace{
		component:             configuration.GetComponent(),
		threadId:              1,
		processId:             os.Getpid(),
		eventId:               eventId,
		taskName:              taskName,
		message:               message,
		keyword:               keyword,
		activityId:            activityId,
		accountId:             configuration.GetAccountId(),
		subscriptionId:        empty,
		machineId:             empty,
		hybridWorkerGroupName: configuration.GetHybridWorkerGroupName(),
		hybridWorkerVersion:   configuration.GetWorkerVersion()}
}

Functions

func InitializeTracer

func InitializeTracer(client jrdsTracer)

func LogDebugTrace

func LogDebugTrace(message string)

func LogErrorTrace

func LogErrorTrace(error string)

func LogSandboxGetJobActions

func LogSandboxGetJobActions(actions *jrds.JobActions)

func LogSandboxJobLoaded

func LogSandboxJobLoaded(sandboxId, jobId string)

func LogSandboxJobUnloaded

func LogSandboxJobUnloaded(sandboxId, jobId string)

func LogSandboxJobUnsupportedRunbookType

func LogSandboxJobUnsupportedRunbookType(sandboxId, jobId string)

func LogSandboxJrdsClosureRequest

func LogSandboxJrdsClosureRequest(sandboxId string)

func LogSandboxStarting

func LogSandboxStarting(id string)

func LogSandboxStderr

func LogSandboxStderr(message string)

func LogSandboxStdout

func LogSandboxStdout(message string)

func LogWorkerErrorGettingSandboxActions

func LogWorkerErrorGettingSandboxActions(err error)

func LogWorkerFailedToCreateSandbox

func LogWorkerFailedToCreateSandbox(err error)

func LogWorkerSandboxActionsFound

func LogWorkerSandboxActionsFound(actions jrds.SandboxActions)

func LogWorkerSandboxProcessExited

func LogWorkerSandboxProcessExited(sandboxId string, pid, exitCode int)

func LogWorkerStarting

func LogWorkerStarting()

func LogWorkerTraceError

func LogWorkerTraceError(message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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