Add android.yaml and android.os.api.level resource attribute (#328)

Co-authored-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
Co-authored-by: Joao Grassi <joao.grassi@dynatrace.com>
This commit is contained in:
Surbhi A 2023-09-22 10:02:30 -07:00 committed by GitHub
parent e4b67282cc
commit 65eed24c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 0 deletions

View File

@ -112,6 +112,8 @@ release.
([#247](https://github.com/open-telemetry/semantic-conventions/pull/247)) ([#247](https://github.com/open-telemetry/semantic-conventions/pull/247))
- Move non-`network.*` attributes out of network.yaml. - Move non-`network.*` attributes out of network.yaml.
([#296](https://github.com/open-telemetry/semantic-conventions/pull/296)) ([#296](https://github.com/open-telemetry/semantic-conventions/pull/296))
- Introducing Android `android.os.api_level` resource attribute.
([#328](https://github.com/open-telemetry/semantic-conventions/pull/328))
## v1.21.0 (2023-07-13) ## v1.21.0 (2023-07-13)

15
docs/resource/android.md Normal file
View File

@ -0,0 +1,15 @@
# Android
**Status**: [Experimental][DocumentStatus]
**type:** `android`
**Description**: The Android platform on which the Android application is running.
<!-- semconv android -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|
| `android.os.api_level` | string | Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). | `33`; `32` | Recommended |
<!-- endsemconv -->
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md

View File

@ -0,0 +1,14 @@
groups:
- id: android
prefix: android
type: resource
brief: >
The Android platform on which the Android application is running.
attributes:
- id: os.api_level
type: string
brief: >
Uniquely identifies the framework API revision offered by a version
(`os.version`) of the android operating system. More information can be found
[here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
examples: ['33', '32']