telemetry

package
v0.4.0-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Application = "Seal"
)

Variables

View Source
var (
	APIKey        = ""
	APIKeyEnvName = "WALRUS_TELEMETRY_API_KEY"
	Endpoint      = "https://app.posthog.com"
)

Functions

func EnqueuePeriodicReportEvent

func EnqueuePeriodicReportEvent(ctx context.Context, modelClient model.ClientSet) error

EnqueuePeriodicReportEvent enqueues the periodic sync event.

func PhClient

func PhClient() (posthog.Client, error)

Types

type PeriodicReportEvent

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

func (PeriodicReportEvent) Capture

func (i PeriodicReportEvent) Capture(ctx context.Context) (*posthog.Capture, error)

func (PeriodicReportEvent) Enqueue

func (i PeriodicReportEvent) Enqueue(ctx context.Context) error

func (PeriodicReportEvent) EventName

func (i PeriodicReportEvent) EventName() string

Jump to

Keyboard shortcuts

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