Skip to content

Commit

Permalink
added app.bundle and app.shortVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kuba committed Nov 23, 2021
1 parent 50a250e commit 7b017db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion specification/resource/semantic_conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,20 @@ service.name = Shop.shoppingcart
|---|---|---|---|---|
| `app.name` | string | Logical name of the client application. [1] | `web storefront` | Yes |
| `app.namespace` | string | A namespace for `app.name`. [2] | `Shop` | No |
| `app.version` | string | The version string of the app build or implementation. | `2.0.0` | No |
| `app.bundle` | string | Name of the bundle or package. [3] | `ShopApplication`, `com.example.ShopApplication` | No |
| `app.version` | string | The version string of the app build or implementation. This can include more verbose information, such as the build number. [4] | `2.0.0` | No |
| `app.shortVersion` | string | Human-readable version or version used to identify a release to end users. [5] | `10.14.1` | No |

**[1]:** MUST be the same for all instances of the application running on individual client devices. If the value was not specified, SDKs MUST fallback to `unknown_application`.

**[2]:** A string value having a meaning that helps to distinguish a group of client applications, for example the team name that owns a group of applications or web site name that consists of multiple components. `app.name` is expected to be unique within the same namespace. If `app.namespace` is not specified in the Resource then `app.name` is expected to be unique for all applications that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.

**[3]:** For iOS bundles, this equates to the `CFBundleName` property, and for Android to the `android:package` attribute.

**[4]:** For iOS bundles, this equates to the `CFBundleVersion` property, and for Android to the `android:versionCode` attribute.

**[5]:** For iOS bundles, this equates to the `CFBundleShortVersionString` property, and for Android to the `android:versionName` attribute.

## Telemetry SDK

**type:** `telemetry.sdk`
Expand Down

0 comments on commit 7b017db

Please sign in to comment.