MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / MakeTEvent

Function MakeTEvent

pkg/telemetry/telemetrydata/telemetrydata.go:195–204  ·  view source on GitHub ↗
(event string, props TEventProps)

Source from the content-addressed store, hash-verified

193}
194
195func MakeTEvent(event string, props TEventProps) *TEvent {
196 now := time.Now()
197 // TsLocal gets set in EnsureTimestamps()
198 return &TEvent{
199 Uuid: uuid.New().String(),
200 Ts: now.UnixMilli(),
201 Event: event,
202 Props: props,
203 }
204}
205
206func MakeUntypedTEvent(event string, propsMap map[string]any) (*TEvent, error) {
207 if event == "" {

Callers 7

sendAIMetricsTelemetryFunction · 0.92
panicTelemetryHandlerFunction · 0.92
updateTelemetryCountsFunction · 0.92
startupActivityUpdateFunction · 0.92
shutdownActivityUpdateFunction · 0.92
MakeUntypedTEventFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected