-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into attribute-templates
- Loading branch information
Showing
8 changed files
with
157 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
groups: | ||
- id: peer | ||
prefix: peer | ||
type: span | ||
brief: "Operations that access some remote service." | ||
attributes: | ||
- id: service | ||
type: string | ||
brief: > | ||
The [`service.name`](/docs/resource/README.md#service) | ||
of the remote service. SHOULD be equal to the actual `service.name` | ||
resource attribute of the remote service if any. | ||
examples: "AuthTokenCache" | ||
- id: identity | ||
prefix: enduser | ||
type: span | ||
brief: > | ||
These attributes may be used for any operation with an authenticated and/or authorized enduser. | ||
attributes: | ||
- id: id | ||
type: string | ||
brief: > | ||
Username or client_id extracted from the access token or | ||
[Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) | ||
header in the inbound request from outside the system. | ||
examples: 'username' | ||
- id: role | ||
type: string | ||
brief: 'Actual/assumed role the client is making the request under extracted from token or application security context.' | ||
examples: 'admin' | ||
- id: scope | ||
type: string | ||
brief: > | ||
Scopes or granted authorities the client currently possesses extracted from token | ||
or application security context. The value would come from the scope associated | ||
with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) | ||
or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). | ||
examples: 'read:message, write:files' | ||
- id: thread | ||
prefix: thread | ||
type: span | ||
brief: > | ||
These attributes may be used for any operation to store information about a thread that started a span. | ||
attributes: | ||
- id: id | ||
type: int | ||
brief: > | ||
Current "managed" thread ID (as opposed to OS thread ID). | ||
examples: 42 | ||
- id: name | ||
type: string | ||
brief: > | ||
Current thread name. | ||
examples: main | ||
- id: daemon | ||
brief: "Whether the thread is daemon or not." | ||
type: boolean | ||
- id: code | ||
prefix: code | ||
type: span | ||
brief: > | ||
These attributes allow to report this unit of code and therefore to provide more context about the span. | ||
attributes: | ||
- id: function | ||
type: string | ||
brief: > | ||
The method or function name, or equivalent (usually rightmost part of the code unit's name). | ||
examples: serveRequest | ||
- id: namespace | ||
type: string | ||
brief: > | ||
The "namespace" within which `code.function` is defined. Usually the qualified class or module name, | ||
such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. | ||
examples: com.example.MyHttpService | ||
- id: filepath | ||
type: string | ||
brief: > | ||
The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). | ||
examples: /usr/local/MyApplication/content_root/app/index.php | ||
- id: lineno | ||
type: int | ||
brief: > | ||
The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. | ||
examples: 42 | ||
- id: column | ||
type: int | ||
brief: > | ||
The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. | ||
examples: 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |