sdk/resource/host_id_bsd.go
raw| 1 | // Copyright The OpenTelemetry Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | //go:build dragonfly || freebsd || netbsd || openbsd || solaris |
| 5 | |
| 6 | package resource // import "go.opentelemetry.io/otel/sdk/resource" |
| 7 | |
| 8 | var platformHostIDReader hostIDReader = &hostIDReaderBSD{ |
| 9 | execCommand: execCommand, |
| 10 | readFile: readFile, |
| 11 | } |