moving android to the registry attributes (#544)

Signed-off-by: Miguel Luna <39376769+mlunadia@users.noreply.github.com>
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
Co-authored-by: Chris Mark <chrismarkou92@gmail.com>
Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com>
This commit is contained in:
Miguel Luna 2024-03-06 11:07:21 +00:00 committed by GitHub
parent 0e945f169e
commit 153b768fa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 26 additions and 9 deletions

View File

@ -27,6 +27,7 @@ All registered attributes are listed by namespace in this registry.
Currently, the following namespaces exist: Currently, the following namespaces exist:
* [Android](android.md)
* [Browser](browser.md) * [Browser](browser.md)
* [Client](client.md) * [Client](client.md)
* [Cloud](cloud.md) * [Cloud](cloud.md)

View File

@ -0,0 +1,8 @@
# Android
## Android Attributes
<!-- semconv registry.android(omit_requirement_level) -->
| Attribute | Type | Description | Examples |
|---|---|---|---|
| `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` |
<!-- endsemconv -->

View File

@ -9,7 +9,7 @@
<!-- semconv android --> <!-- semconv android -->
| Attribute | Type | Description | Examples | Requirement Level | | 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 | | [`android.os.api_level`](../attributes-registry/android.md) | 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 --> <!-- endsemconv -->
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md [DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md

View File

@ -0,0 +1,15 @@
groups:
- id: registry.android
prefix: android
type: attribute_group
brief: >
The Android platform on which the Android application is running.
attributes:
- id: os.api_level
type: string
stability: experimental
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']

View File

@ -5,11 +5,4 @@ groups:
brief: > brief: >
The Android platform on which the Android application is running. The Android platform on which the Android application is running.
attributes: attributes:
- id: os.api_level - ref: android.os.api_level
type: string
stability: experimental
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']