code: func (d *diagnosticsCollector) EnrichWithOSInfo() {
  	uptime, err := d.server.systemInfo.Uptime()
  	if !d.logErr(err) {
  		d.Set("HostUptime", uptime)
  	}
  	platform, err := d.server.systemInfo.Platform()
  	if !d.logErr(err) {
  		d.Set("OSPlatform", platform)
  	}
  	family, err := d.server.systemInfo.Family()
  	if !d.logErr(err) {
  		d.Set("OSFamily", family)
  	}
  	version, err := d.server.systemInfo.OSVersion()
  	if !d.logErr(err) {
  		d.Set("OSVersion", version)
  	}
  	kernelVersion, err := d.server.systemInfo.KernelVersion()
  	if !d.logErr(err) {
  		d.Set("OSKernelVersion", kernelVersion)
  	}
  }
docs: // EnrichWithOSInfo adds OS information to the diagnostics payload.