Documentation
¶
Overview ¶
Package telemetry is a no-op in GenieTerm: nothing is uploaded and nothing is recorded locally. The record APIs are kept (instead of deleting the ~40 inherited call sites) so the soft fork stays easy to merge with upstream Wave.
Index ¶
- Constants
- func GoRecordTEventWrap(tevent *telemetrydata.TEvent)
- func GoUpdateActivityWrap(update wshrpc.ActivityUpdate, debugStr string)
- func PurgeLocalTelemetry(ctx context.Context) error
- func RecordTEvent(ctx context.Context, tevent *telemetrydata.TEvent) error
- func UpdateActivity(ctx context.Context, update wshrpc.ActivityUpdate) error
Constants ¶
const ActivityEventName = "app:activity"
const WshRunEventName = "wsh:run"
Variables ¶
This section is empty.
Functions ¶
func GoRecordTEventWrap ¶
func GoRecordTEventWrap(tevent *telemetrydata.TEvent)
func GoUpdateActivityWrap ¶
func GoUpdateActivityWrap(update wshrpc.ActivityUpdate, debugStr string)
func PurgeLocalTelemetry ¶ added in v0.5.0
PurgeLocalTelemetry deletes rows recorded by earlier versions. The tables themselves are kept so existing databases and migrations stay valid.
func RecordTEvent ¶
func RecordTEvent(ctx context.Context, tevent *telemetrydata.TEvent) error
func UpdateActivity ¶
func UpdateActivity(ctx context.Context, update wshrpc.ActivityUpdate) error
Types ¶
This section is empty.