Skip to content

Commit 6f80fdb

Browse files
committed
Scope reduction
1 parent 7b347cf commit 6f80fdb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+139
-367
lines changed

docs/exceptions/exceptions-spans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This event describes a single exception.
4444
<details>
4545
<summary><b>Past Attributes:</b></summary>
4646

47-
| Key | Type | Summary | Example Values | Deprecation Explanation |
47+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
4848
|---|---|---|---|---|
4949
| [`exception.escaped`](/docs/registry/attributes/exception.md) | boolean | Indicates that the exception is escaping the scope of the span. | | It's no longer recommended to record exceptions that are handled and do not escape the scope of a span. |
5050

docs/registry/attributes/android.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
The Android platform on which the Android application is running.
99

10-
**Current Attributes:**
11-
12-
| Key | Type | Summary | Example Values | Stability |
10+
| Attribute | Type | Description | Examples | Stability |
1311
|---|---|---|---|---|
1412
| <a id="android-app-state" href="#android-app-state">`android.app.state`</a> | string | This attribute represents the state of the application. [1] | `created` | ![Development](https://img.shields.io/badge/-development-blue) |
1513
| <a id="android-os-api-level" href="#android-os-api-level">`android.os.api_level`</a> | string | Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found in the [Android API levels documentation](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). | `33`; `32` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -29,7 +27,7 @@ The Android platform on which the Android application is running.
2927
<details>
3028
<summary><b>Past Attributes:</b></summary>
3129

32-
| Key | Type | Summary | Example Values | Deprecation Explanation |
30+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
3331
|---|---|---|---|---|
3432
| <a id="android-state" href="#android-state">`android.state`</a> | string | This attribute represents the state of the application. [1] | `created`; `background`; `foreground` | Use `android.app.state` instead. |
3533

docs/registry/attributes/app.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
Describes attributes related to client-side applications (e.g. web apps or mobile apps).
99

10-
**Current Attributes:**
11-
12-
| Key | Type | Summary | Example Values | Stability |
10+
| Attribute | Type | Description | Examples | Stability |
1311
|---|---|---|---|---|
1412
| <a id="app-build-id" href="#app-build-id">`app.build_id`</a> | string | Unique identifier for a particular build or compilation of the application. | `6cff0a7e-cefc-4668-96f5-1273d8b334d0`; `9f2b833506aa6973a92fde9733e6271f`; `my-app-1.0.0-code-123` | ![Development](https://img.shields.io/badge/-development-blue) |
1513
| <a id="app-installation-id" href="#app-installation-id">`app.installation.id`</a> | string | A unique identifier representing the installation of an application on a specific device [1] | `2ab2916d-a51f-4ac8-80ee-45ac31a28092` | ![Development](https://img.shields.io/badge/-development-blue) |

docs/registry/attributes/artifact.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
This group describes attributes specific to artifacts. Artifacts are files or other immutable objects that are intended for distribution. This definition aligns directly with the [SLSA](https://slsa.dev/spec/v1.0/terminology#package-model) package model.
99

10-
**Current Attributes:**
11-
12-
| Key | Type | Summary | Example Values | Stability |
10+
| Attribute | Type | Description | Examples | Stability |
1311
|---|---|---|---|---|
1412
| <a id="artifact-attestation-filename" href="#artifact-attestation-filename">`artifact.attestation.filename`</a> | string | The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. | `golang-binary-amd64-v0.1.0.attestation`; `docker-image-amd64-v0.1.0.intoto.json1`; `release-1.tar.gz.attestation`; `file-name-package.tar.gz.intoto.json1` | ![Development](https://img.shields.io/badge/-development-blue) |
1513
| <a id="artifact-attestation-hash" href="#artifact-attestation-hash">`artifact.attestation.hash`</a> | string | The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the [software attestation space](https://github.com/in-toto/attestation/tree/main/spec) also refer to this as the **digest**. | `1b31dfcd5b7f9267bf2ff47651df1cfb9147b9e4df1f335accf65b4cda498408` | ![Development](https://img.shields.io/badge/-development-blue) |

docs/registry/attributes/aspnetcore.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
ASP.NET Core attributes
99

10-
**Current Attributes:**
11-
12-
| Key | Type | Summary | Example Values | Stability |
10+
| Attribute | Type | Description | Examples | Stability |
1311
|---|---|---|---|---|
1412
| <a id="aspnetcore-authentication-result" href="#aspnetcore-authentication-result">`aspnetcore.authentication.result`</a> | string | The result of the authentication operation. | `success`; `failure` | ![Development](https://img.shields.io/badge/-development-blue) |
1513
| <a id="aspnetcore-authentication-scheme" href="#aspnetcore-authentication-scheme">`aspnetcore.authentication.scheme`</a> | string | The identifier that names a particular authentication handler. | `Cookies`; `Bearer`; `Identity.Application` | ![Development](https://img.shields.io/badge/-development-blue) |

docs/registry/attributes/aws.md

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121

2222
This section defines generic attributes for AWS services.
2323

24-
**Current Attributes:**
25-
26-
| Key | Type | Summary | Example Values | Stability |
24+
| Attribute | Type | Description | Examples | Stability |
2725
|---|---|---|---|---|
2826
| <a id="aws-extended-request-id" href="#aws-extended-request-id">`aws.extended_request_id`</a> | string | The AWS extended request ID as returned in the response header `x-amz-id-2`. | `wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=` | ![Development](https://img.shields.io/badge/-development-blue) |
2927
| <a id="aws-request-id" href="#aws-request-id">`aws.request_id`</a> | string | The AWS request ID as returned in the response headers `x-amzn-requestid`, `x-amzn-request-id` or `x-amz-request-id`. | `79b9da39-b7ae-508a-a6bc-864b2829c622`; `C9ER4AJX75574TDJ` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -32,9 +30,7 @@ This section defines generic attributes for AWS services.
3230

3331
This document defines attributes for AWS Bedrock.
3432

35-
**Current Attributes:**
36-
37-
| Key | Type | Summary | Example Values | Stability |
33+
| Attribute | Type | Description | Examples | Stability |
3834
|---|---|---|---|---|
3935
| <a id="aws-bedrock-guardrail-id" href="#aws-bedrock-guardrail-id">`aws.bedrock.guardrail.id`</a> | string | The unique identifier of the AWS Bedrock Guardrail. A [guardrail](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) helps safeguard and prevent unwanted behavior from model responses or user messages. | `sgi5gkybzqak` | ![Development](https://img.shields.io/badge/-development-blue) |
4036
| <a id="aws-bedrock-knowledge-base-id" href="#aws-bedrock-knowledge-base-id">`aws.bedrock.knowledge_base.id`</a> | string | The unique identifier of the AWS Bedrock Knowledge base. A [knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html) is a bank of information that can be queried by models to generate more relevant responses and augment prompts. | `XFWUPB9PAW` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -43,9 +39,7 @@ This document defines attributes for AWS Bedrock.
4339

4440
This document defines attributes for AWS DynamoDB.
4541

46-
**Current Attributes:**
47-
48-
| Key | Type | Summary | Example Values | Stability |
42+
| Attribute | Type | Description | Examples | Stability |
4943
|---|---|---|---|---|
5044
| <a id="aws-dynamodb-attribute-definitions" href="#aws-dynamodb-attribute-definitions">`aws.dynamodb.attribute_definitions`</a> | string[] | The JSON-serialized value of each item in the `AttributeDefinitions` request field. | `["{ \"AttributeName\": \"string\", \"AttributeType\": \"string\" }"]` | ![Development](https://img.shields.io/badge/-development-blue) |
5145
| <a id="aws-dynamodb-attributes-to-get" href="#aws-dynamodb-attributes-to-get">`aws.dynamodb.attributes_to_get`</a> | string[] | The value of the `AttributesToGet` request parameter. | `["lives", "id"]` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -74,9 +68,7 @@ This document defines attributes for AWS DynamoDB.
7468

7569
This document defines attributes for AWS Elastic Container Service (ECS).
7670

77-
**Current Attributes:**
78-
79-
| Key | Type | Summary | Example Values | Stability |
71+
| Attribute | Type | Description | Examples | Stability |
8072
|---|---|---|---|---|
8173
| <a id="aws-ecs-cluster-arn" href="#aws-ecs-cluster-arn">`aws.ecs.cluster.arn`</a> | string | The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | ![Development](https://img.shields.io/badge/-development-blue) |
8274
| <a id="aws-ecs-container-arn" href="#aws-ecs-container-arn">`aws.ecs.container.arn`</a> | string | The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). | `arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -99,29 +91,23 @@ This document defines attributes for AWS Elastic Container Service (ECS).
9991

10092
This document defines attributes for AWS Elastic Kubernetes Service (EKS).
10193

102-
**Current Attributes:**
103-
104-
| Key | Type | Summary | Example Values | Stability |
94+
| Attribute | Type | Description | Examples | Stability |
10595
|---|---|---|---|---|
10696
| <a id="aws-eks-cluster-arn" href="#aws-eks-cluster-arn">`aws.eks.cluster.arn`</a> | string | The ARN of an EKS cluster. | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | ![Development](https://img.shields.io/badge/-development-blue) |
10797

10898
## Amazon Kinesis Attributes
10999

110100
This document defines attributes for AWS Kinesis.
111101

112-
**Current Attributes:**
113-
114-
| Key | Type | Summary | Example Values | Stability |
102+
| Attribute | Type | Description | Examples | Stability |
115103
|---|---|---|---|---|
116104
| <a id="aws-kinesis-stream-name" href="#aws-kinesis-stream-name">`aws.kinesis.stream_name`</a> | string | The name of the AWS Kinesis [stream](https://docs.aws.amazon.com/streams/latest/dev/introduction.html) the request refers to. Corresponds to the `--stream-name` parameter of the Kinesis [describe-stream](https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html) operation. | `some-stream-name` | ![Development](https://img.shields.io/badge/-development-blue) |
117105

118106
## Amazon Lambda Attributes
119107

120108
This document defines attributes for AWS Lambda.
121109

122-
**Current Attributes:**
123-
124-
| Key | Type | Summary | Example Values | Stability |
110+
| Attribute | Type | Description | Examples | Stability |
125111
|---|---|---|---|---|
126112
| <a id="aws-lambda-invoked-arn" href="#aws-lambda-invoked-arn">`aws.lambda.invoked_arn`</a> | string | The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). [1] | `arn:aws:lambda:us-east-1:123456:function:myfunction:myalias` | ![Development](https://img.shields.io/badge/-development-blue) |
127113
| <a id="aws-lambda-resource-mapping-id" href="#aws-lambda-resource-mapping-id">`aws.lambda.resource_mapping.id`</a> | string | The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. | `587ad24b-03b9-4413-8202-bbd56b36e5b7` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -132,9 +118,7 @@ This document defines attributes for AWS Lambda.
132118

133119
This document defines attributes for AWS Logs.
134120

135-
**Current Attributes:**
136-
137-
| Key | Type | Summary | Example Values | Stability |
121+
| Attribute | Type | Description | Examples | Stability |
138122
|---|---|---|---|---|
139123
| <a id="aws-log-group-arns" href="#aws-log-group-arns">`aws.log.group.arns`</a> | string[] | The Amazon Resource Name(s) (ARN) of the AWS log group(s). [2] | `["arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*"]` | ![Development](https://img.shields.io/badge/-development-blue) |
140124
| <a id="aws-log-group-names" href="#aws-log-group-names">`aws.log.group.names`</a> | string[] | The name(s) of the AWS log group(s) an application is writing to. [3] | `["/aws/lambda/my-function", "opentelemetry-service"]` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -151,9 +135,7 @@ This document defines attributes for AWS Logs.
151135

152136
This document defines attributes for AWS S3.
153137

154-
**Current Attributes:**
155-
156-
| Key | Type | Summary | Example Values | Stability |
138+
| Attribute | Type | Description | Examples | Stability |
157139
|---|---|---|---|---|
158140
| <a id="aws-s3-bucket" href="#aws-s3-bucket">`aws.s3.bucket`</a> | string | The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. [5] | `some-bucket-name` | ![Development](https://img.shields.io/badge/-development-blue) |
159141
| <a id="aws-s3-copy-source" href="#aws-s3-copy-source">`aws.s3.copy_source`</a> | string | The source object (in the form `bucket`/`key`) for the copy operation. [6] | `someFile.yml` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -212,39 +194,31 @@ This applies in particular to the following operations:
212194

213195
This document defines attributes for AWS Secrets Manager.
214196

215-
**Current Attributes:**
216-
217-
| Key | Type | Summary | Example Values | Stability |
197+
| Attribute | Type | Description | Examples | Stability |
218198
|---|---|---|---|---|
219199
| <a id="aws-secretsmanager-secret-arn" href="#aws-secretsmanager-secret-arn">`aws.secretsmanager.secret.arn`</a> | string | The ARN of the Secret stored in the Secrets Mangger | `arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-6RandomCharacters` | ![Development](https://img.shields.io/badge/-development-blue) |
220200

221201
## Amazon SNS Attributes
222202

223203
This document defines attributes for AWS SNS.
224204

225-
**Current Attributes:**
226-
227-
| Key | Type | Summary | Example Values | Stability |
205+
| Attribute | Type | Description | Examples | Stability |
228206
|---|---|---|---|---|
229207
| <a id="aws-sns-topic-arn" href="#aws-sns-topic-arn">`aws.sns.topic.arn`</a> | string | The ARN of the AWS SNS Topic. An Amazon SNS [topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html) is a logical access point that acts as a communication channel. | `arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE` | ![Development](https://img.shields.io/badge/-development-blue) |
230208

231209
## Amazon SQS Attributes
232210

233211
This document defines attributes for AWS SQS.
234212

235-
**Current Attributes:**
236-
237-
| Key | Type | Summary | Example Values | Stability |
213+
| Attribute | Type | Description | Examples | Stability |
238214
|---|---|---|---|---|
239215
| <a id="aws-sqs-queue-url" href="#aws-sqs-queue-url">`aws.sqs.queue.url`</a> | string | The URL of the AWS SQS Queue. It's a unique identifier for a queue in Amazon Simple Queue Service (SQS) and is used to access the queue and perform actions on it. | `https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue` | ![Development](https://img.shields.io/badge/-development-blue) |
240216

241217
## Amazon Step Functions Attributes
242218

243219
This document defines attributes for AWS Step Functions.
244220

245-
**Current Attributes:**
246-
247-
| Key | Type | Summary | Example Values | Stability |
221+
| Attribute | Type | Description | Examples | Stability |
248222
|---|---|---|---|---|
249223
| <a id="aws-step-functions-activity-arn" href="#aws-step-functions-activity-arn">`aws.step_functions.activity.arn`</a> | string | The ARN of the AWS Step Functions Activity. | `arn:aws:states:us-east-1:123456789012:activity:get-greeting` | ![Development](https://img.shields.io/badge/-development-blue) |
250224
| <a id="aws-step-functions-state-machine-arn" href="#aws-step-functions-state-machine-arn">`aws.step_functions.state_machine.arn`</a> | string | The ARN of the AWS Step Functions State Machine. | `arn:aws:states:us-east-1:123456789012:stateMachine:myStateMachine:1` | ![Development](https://img.shields.io/badge/-development-blue) |

docs/registry/attributes/azure.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
This section defines generic attributes used by Azure Client Libraries.
1313

14-
**Current Attributes:**
15-
16-
| Key | Type | Summary | Example Values | Stability |
14+
| Attribute | Type | Description | Examples | Stability |
1715
|---|---|---|---|---|
1816
| <a id="azure-client-id" href="#azure-client-id">`azure.client.id`</a> | string | The unique identifier of the client instance. | `3ba4827d-4422-483f-b59f-85b74211c11d`; `storage-client-1` | ![Development](https://img.shields.io/badge/-development-blue) |
1917
| <a id="azure-resource-provider-namespace" href="#azure-resource-provider-namespace">`azure.resource_provider.namespace`</a> | string | [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client. | `Microsoft.Storage`; `Microsoft.KeyVault`; `Microsoft.ServiceBus` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -23,9 +21,7 @@ This section defines generic attributes used by Azure Client Libraries.
2321

2422
This section defines attributes for Azure Cosmos DB.
2523

26-
**Current Attributes:**
27-
28-
| Key | Type | Summary | Example Values | Stability |
24+
| Attribute | Type | Description | Examples | Stability |
2925
|---|---|---|---|---|
3026
| <a id="azure-cosmosdb-connection-mode" href="#azure-cosmosdb-connection-mode">`azure.cosmosdb.connection.mode`</a> | string | Cosmos client connection mode. | `gateway`; `direct` | ![Development](https://img.shields.io/badge/-development-blue) |
3127
| <a id="azure-cosmosdb-consistency-level" href="#azure-cosmosdb-consistency-level">`azure.cosmosdb.consistency.level`</a> | string | Account or request [consistency level](https://learn.microsoft.com/azure/cosmos-db/consistency-levels). | `Eventual`; `ConsistentPrefix`; `BoundedStaleness`; `Strong`; `Session` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -64,7 +60,7 @@ This section describes deprecated Azure attributes.
6460
<details>
6561
<summary><b>Past Attributes:</b></summary>
6662

67-
| Key | Type | Summary | Example Values | Deprecation Explanation |
63+
| Key | Value Type | Summary | Example Values | Deprecation Explanation |
6864
|---|---|---|---|---|
6965
| <a id="az-namespace" href="#az-namespace">`az.namespace`</a> | string | Deprecated, use `azure.resource_provider.namespace` instead. | `Microsoft.Storage`; `Microsoft.KeyVault`; `Microsoft.ServiceBus` | Use `azure.resource_provider.namespace` instead. |
7066
| <a id="az-service-request-id" href="#az-service-request-id">`az.service_request_id`</a> | string | Deprecated, use `azure.service.request.id` instead. | `00000000-0000-0000-0000-000000000000` | Use `azure.service.request.id` instead. |

docs/registry/attributes/browser.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
The web browser attributes
99

10-
**Current Attributes:**
11-
12-
| Key | Type | Summary | Example Values | Stability |
10+
| Attribute | Type | Description | Examples | Stability |
1311
|---|---|---|---|---|
1412
| <a id="browser-brands" href="#browser-brands">`browser.brands`</a> | string[] | Array of brand name and version separated by a space [1] | `[" Not A;Brand 99", "Chromium 99", "Chrome 99"]` | ![Development](https://img.shields.io/badge/-development-blue) |
1513
| <a id="browser-language" href="#browser-language">`browser.language`</a> | string | Preferred language of the user using the browser [2] | `en`; `en-US`; `fr`; `fr-FR` | ![Development](https://img.shields.io/badge/-development-blue) |

0 commit comments

Comments
 (0)