| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
/* |
| 5 |
Package azurevm provides a [resource.Detector] which supports detecting |
| 6 |
attributes specific to Azure VMs. |
| 7 |
|
| 8 |
According to semantic conventions for [host], [cloud], and [os] attributes, |
| 9 |
each of the following attributes is added if it is available: |
| 10 |
|
| 11 |
- cloud.provider |
| 12 |
- cloud.platform |
| 13 |
- cloud.region |
| 14 |
- cloud.resource_id |
| 15 |
- host.id |
| 16 |
- host.name |
| 17 |
- host.type |
| 18 |
- os.type |
| 19 |
- os.version |
| 20 |
|
| 21 |
[host]: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/host.md |
| 22 |
[cloud]: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/cloud.md |
| 23 |
[os]: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/os.md |
| 24 |
*/ |
| 25 |
package azurevm // import "go.opentelemetry.io/contrib/detectors/azure/azurevm" |