Skip to content

Commit

Permalink
Add android.yaml and android.os.api.level resource attribute (#328)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
Co-authored-by: Joao Grassi <joao.grassi@dynatrace.com>
  • Loading branch information
3 people committed Sep 22, 2023
1 parent e4b6728 commit 65eed24
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ release.
([#247](https://github.com/open-telemetry/semantic-conventions/pull/247))
- Move non-`network.*` attributes out of network.yaml.
([#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)

Expand Down
15 changes: 15 additions & 0 deletions docs/resource/android.md
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions model/resource/android.yaml
Original file line number Diff line number Diff line change
@@ -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']

0 comments on commit 65eed24

Please sign in to comment.