Skip to main content

agents/anchor-edge-agent/internal/types/events.go

Metadata

Indexed Symbols

No indexed functions/methods detected in this file.

Markdown Headings (if applicable)

No markdown headings detected.

Source Preview

package types

import "time"

type TelemetryEvent struct {
EventID string `json:"eventId"`
WorkspaceID string `json:"workspaceId"`
ClientID string `json:"clientId"`
AssetID string `json:"assetId"`
OccurredAt time.Time `json:"occurredAt"`
CorrelationID string `json:"correlationId"`
Kind string `json:"kind"`
Data map[string]any `json:"data"`
}

type TelemetryEnvelope struct {
Events []TelemetryEvent `json:"events"`
}