MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / OSTelemetryData

Function OSTelemetryData

pkg/telemetry/exporter/utils.go:41–48  ·  view source on GitHub ↗

OSTelemetryData returns the OS telemetry data which is attached to telemetry messages.

()

Source from the content-addressed store, hash-verified

39
40// OSTelemetryData returns the OS telemetry data which is attached to telemetry messages.
41func OSTelemetryData() *models.OSTelemetry {
42 return &models.OSTelemetry{
43 OperatingSystem: runtime.GOOS,
44 Arch: runtime.GOARCH,
45 BinaryVersion: version.String(),
46 GolangVersion: runtime.Version(),
47 }
48}

Callers

nothing calls this directly

Calls 1

StringFunction · 0.92

Tested by

no test coverage detected