telemetry

package
v0.0.0-...-3511abf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(clusterID string, conf config.TelemetryConfig)

Init sets up the Telemetry singleton.

func PeriodicallyReportMasterTick

func PeriodicallyReportMasterTick(db db.DB, rm telemetryRPFetcher, system *actor.System)

PeriodicallyReportMasterTick periodically reports various telemetry information about the running master. It should be called once per cluster.

func ReportAllocationTerminal

func ReportAllocationTerminal(db db.DB, a model.Allocation, d *device.Device,
)

ReportAllocationTerminal reports that an allocation ends.

func ReportExperimentCreated

func ReportExperimentCreated(id int, config expconf.ExperimentConfig)

ReportExperimentCreated reports that an experiment has been created.

func ReportExperimentStateChanged

func ReportExperimentStateChanged(db db.DB, e *model.Experiment)

ReportExperimentStateChanged reports that the state of an experiment has changed.

func ReportProvisionerTick

func ReportProvisionerTick(instances []*model.Instance, instanceType string)

ReportProvisionerTick reports the state of all provision requests by a provisioner.

func ReportUserCreated

func ReportUserCreated(admin, active bool)

ReportUserCreated reports that a user has been created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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