agents/anchor-edge-agent/internal/types/events.go
Metadata
- Purpose: Edge agent runtime code for endpoint telemetry collection and transport.
- Domain:
agents - Language:
go - Bytes: 521
- Lines: 19
- Content hash (short):
0b18a18e - Source (start): agents/anchor-edge-agent/internal/types/events.go:1
- Source (end): agents/anchor-edge-agent/internal/types/events.go:19
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"`
}