analytics

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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