OSTelemetryData returns the OS telemetry data which is attached to telemetry messages.
()
| 39 | |
| 40 | // OSTelemetryData returns the OS telemetry data which is attached to telemetry messages. |
| 41 | func 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 | } |