| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos |
| 5 |
|
| 6 |
package resource // import "go.opentelemetry.io/otel/sdk/resource" |
| 7 |
|
| 8 |
// platformOSDescription is a placeholder implementation for OSes |
| 9 |
// for which this project currently doesn't support os.description |
| 10 |
// attribute detection. See build tags declaration early on this file |
| 11 |
// for a list of unsupported OSes. |
| 12 |
func platformOSDescription() (string, error) { |
| 13 |
return "<unknown>", nil |
| 14 |
} |