analytics

package
v1.2.14-prerelease08 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Domain               = "domain"
	WorkflowID           = "workflowID"
	RunID                = "runID"
	Identity             = "identity"
	IssueType            = "issue_type"
	DiagnosticsWfID      = "diagnostics_workflowID"
	DiagnosticsWfRunID   = "diagnostics_workflow_runID"
	SatisfactionFeedback = "satisfaction_feedback"
	Environment          = "environment"
	DiagnosticsStartTime = "diagnostics_start_time"
	DiagnosticsEndTime   = "diagnostics_end_time"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataEmitter

type DataEmitter interface {
	EmitUsageData(context.Context, WfDiagnosticsUsageData) error
}

DataEmitter is the interface to emit workflow diagnostics data

func NewEmitter

func NewEmitter(p EmitterParams) DataEmitter

type Emitter

type Emitter DataEmitter

type EmitterParams

type EmitterParams struct {
	Producer messaging.Producer
}

type WfDiagnosticsUsageData

type WfDiagnosticsUsageData struct {
	Domain                string
	WorkflowID            string
	RunID                 string
	Identity              string
	IssueType             string
	DiagnosticsWorkflowID string
	DiagnosticsRunID      string
	Environment           string
	DiagnosticsStartTime  time.Time
	DiagnosticsEndTime    time.Time
	SatisfactionFeedback  bool
}

Jump to

Keyboard shortcuts

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