telemetry

package module
v0.0.0-...-2ed5266 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0 modules, 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 (
	EnvTelemetryPort     = "FLOGO_STREAM_TELEMETRY_PORT"
	DefaultTelemetryPort = 9999

	MsgPipelineStarted  = "pipeline-started"
	MsgPipelineFinished = "pipeline-finished"
	MsgStageStarted     = "stage-started"
	MsgStageFinished    = "stage-finished"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineTelemetry

type PipelineTelemetry struct {
	PipelineId string                 `json:"pipelineId"`
	InstanceId string                 `json:"instanceId"`
	Type       string                 `json:"type"`
	StageId    string                 `json:"stageId,omitempty"`
	Data       map[string]interface{} `json:"data"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) Enabled

func (s *Service) Enabled() bool

DEPRECATED

func (*Service) Name

func (s *Service) Name() string

func (*Service) PipelineFinished

func (s *Service) PipelineFinished(pipelineId, instanceId string, data map[string]interface{})

func (*Service) PipelineStarted

func (s *Service) PipelineStarted(pipelineId, instanceId string, data map[string]interface{})

func (*Service) StageFinished

func (s *Service) StageFinished(pipelineId, instanceId, stageId string, data map[string]interface{})

func (*Service) StageStarted

func (s *Service) StageStarted(pipelineId, instanceId, stageId string, data map[string]interface{})

func (*Service) Start

func (s *Service) Start() error

func (*Service) Stop

func (s *Service) Stop() error

type ServiceFactory

type ServiceFactory struct {
}

func (*ServiceFactory) NewService

func (s *ServiceFactory) NewService(config *service.Config) (service.Service, error)

Jump to

Keyboard shortcuts

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