opentelemetry-semantic_conventions 1.4.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7261c53b0d437137673f0fb895979531cd58fa578ed5e15724589529846f7666
4
- data.tar.gz: 4a05344287b655f8a234b26b7ab3f82eee281dc87ea4691e029c5c9d89d08474
3
+ metadata.gz: 7b2e30b39ac99397bc4fcde80c93bbcc2c37f9c58eb7e8c5b3eecb1006d88bbb
4
+ data.tar.gz: 8224d53a53dc13ea2d1db99a2658347007593652fe9aeff5c66cda52a4baa0b1
5
5
  SHA512:
6
- metadata.gz: 6319b1f937665aa42a70eb3b9ea737eb18d66576ae4c2e865b1cbcd8210742fa2be965bfb2a51c703a928d0807332749d5e66d77eb8deada62cb8cb4a68b752d
7
- data.tar.gz: e3612d95c3a7a4614fdf994c6aaf5a50d4f6f233def10570b3b23ca2acf27e95acad595a4560adb21f3c8f80d48d2b2be50527a69dafeec3d9974788360e36ce
6
+ metadata.gz: a3d8ac39512ab4a7fae32f930c768ac05ab835d95914b33fc53a22466f3b4cd706188dd75df1014d82b8bc878d06bd83a546a2d92337345aa3828343927f9db3
7
+ data.tar.gz: e6d68dddd026284b87f4cd37a0f7bedc743b851df9adb4a96b4fcab21636dfa4be3403778c74d467256a817edceacbd1532aabaf303ea1be863b1c69719e5248
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History: opentelemetry-semantic_conventions
2
2
 
3
+ ### v1.6.0 / 2021-08-12
4
+
5
+ * BREAKING CHANGE: Update opentelemetry-semantic_conventions to the 1.5.0 spec release
6
+
7
+ * ADDED: Update opentelemetry-semantic_conventions to the 1.5.0 spec release
8
+ * ADDED: Update to semantic conventions v1.6.0
9
+
3
10
  ### v1.4.0 / 2021-07-07
4
11
 
5
12
  * Initial release.
@@ -13,11 +13,11 @@ module OpenTelemetry
13
13
  # The cloud account ID the resource is assigned to
14
14
  CLOUD_ACCOUNT_ID = 'cloud.account.id'
15
15
 
16
- # The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations)
16
+ # The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations)
17
17
  CLOUD_REGION = 'cloud.region'
18
18
 
19
19
  # Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running
20
- # @note Availability zones are called "zones" on Google Cloud
20
+ # @note Availability zones are called "zones" on Alibaba Cloud and Google Cloud
21
21
  CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'
22
22
 
23
23
  # The cloud platform in use
@@ -90,17 +90,41 @@ module OpenTelemetry
90
90
  # @note It's recommended this value represents a human readable version of the device model rather than a machine readable alternative
91
91
  DEVICE_MODEL_NAME = 'device.model.name'
92
92
 
93
- # The name of the function being executed
93
+ # The name of the single function that this runtime instance executes
94
+ # @note This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes)
94
95
  FAAS_NAME = 'faas.name'
95
96
 
96
- # The unique ID of the function being executed
97
- # @note For example, in AWS Lambda this field corresponds to the [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) value, in GCP to the URI of the resource, and in Azure to the [FunctionDirectory](https://github.com/Azure/azure-functions-host/wiki/Retrieving-information-about-the-currently-running-function) field
97
+ # The unique ID of the single function that this runtime instance executes
98
+ # @note Depending on the cloud provider, use:
99
+ #
100
+ # * **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
101
+ # Take care not to use the "invoked ARN" directly but replace any
102
+ # [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
103
+ # different aliases.
104
+ # * **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
105
+ # * **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
106
+ #
107
+ # On some providers, it may not be possible to determine the full ID at startup,
108
+ # which is why this field cannot be made required. For example, on AWS the account ID
109
+ # part of the ARN is not available without calling another AWS API
110
+ # which may be deemed too slow for a short-running lambda function.
111
+ # As an alternative, consider setting `faas.id` as a span attribute instead
98
112
  FAAS_ID = 'faas.id'
99
113
 
100
- # The version string of the function being executed as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes)
114
+ # The immutable version of the function being executed
115
+ # @note Depending on the cloud provider and platform, use:
116
+ #
117
+ # * **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
118
+ # (an integer represented as a decimal string).
119
+ # * **Google Cloud Run:** The [revision](https://cloud.google.com/run/docs/managing/revisions)
120
+ # (i.e., the function name plus the revision suffix).
121
+ # * **Google Cloud Functions:** The value of the
122
+ # [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically).
123
+ # * **Azure Functions:** Not applicable. Do not set this attribute
101
124
  FAAS_VERSION = 'faas.version'
102
125
 
103
- # The execution environment ID as a string
126
+ # The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version
127
+ # @note * **AWS Lambda:** Use the (full) log stream name
104
128
  FAAS_INSTANCE = 'faas.instance'
105
129
 
106
130
  # The amount of memory available to the serverless function in MiB
@@ -7,6 +7,10 @@
7
7
  module OpenTelemetry
8
8
  module SemanticConventions
9
9
  module Trace
10
+ # 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)
11
+ # @note This may be different from `faas.id` if an alias is involved
12
+ AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'
13
+
10
14
  # An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers
11
15
  DB_SYSTEM = 'db.system'
12
16
 
@@ -189,6 +193,24 @@ module OpenTelemetry
189
193
  # Local hostname or similar, see note below
190
194
  NET_HOST_NAME = 'net.host.name'
191
195
 
196
+ # The internet connection type currently being used by the host
197
+ NET_HOST_CONNECTION_TYPE = 'net.host.connection.type'
198
+
199
+ # This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection
200
+ NET_HOST_CONNECTION_SUBTYPE = 'net.host.connection.subtype'
201
+
202
+ # The name of the mobile carrier
203
+ NET_HOST_CARRIER_NAME = 'net.host.carrier.name'
204
+
205
+ # The mobile carrier country code
206
+ NET_HOST_CARRIER_MCC = 'net.host.carrier.mcc'
207
+
208
+ # The mobile carrier network code
209
+ NET_HOST_CARRIER_MNC = 'net.host.carrier.mnc'
210
+
211
+ # The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network
212
+ NET_HOST_CARRIER_ICC = 'net.host.carrier.icc'
213
+
192
214
  # A string identifying the messaging system
193
215
  MESSAGING_SYSTEM = 'messaging.system'
194
216
 
@@ -277,9 +299,11 @@ module OpenTelemetry
277
299
  RPC_SYSTEM = 'rpc.system'
278
300
 
279
301
  # The name of the service to which a request is made, as returned by the AWS SDK
302
+ # @note This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side)
280
303
  RPC_SERVICE = 'rpc.service'
281
304
 
282
305
  # The name of the operation corresponding to the request, as returned by the AWS SDK
306
+ # @note This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side)
283
307
  RPC_METHOD = 'rpc.method'
284
308
 
285
309
  # The keys in the `RequestItems` object field
@@ -376,9 +400,6 @@ module OpenTelemetry
376
400
  # Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 does not specify this, the value can be omitted
377
401
  RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'
378
402
 
379
- # `method` property from request. Unlike `rpc.method`, this may not relate to the actual method being called. Useful for client-side traces since client does not know what will be called on the server
380
- RPC_JSONRPC_METHOD = 'rpc.jsonrpc.method'
381
-
382
403
  # `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification
383
404
  RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'
384
405
 
@@ -6,6 +6,6 @@
6
6
 
7
7
  module OpenTelemetry
8
8
  module SemanticConventions
9
- VERSION = '1.4.0'
9
+ VERSION = '1.6.0'
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-semantic_conventions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc2
19
+ version: 1.0.0.rc3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc2
26
+ version: 1.0.0.rc3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,10 +142,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
142
142
  licenses:
143
143
  - Apache-2.0
144
144
  metadata:
145
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.4.0/file.CHANGELOG.html
145
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.6.0/file.CHANGELOG.html
146
146
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/semantic_conventions
147
147
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
148
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.4.0
148
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-semantic_conventions/v1.6.0
149
149
  post_install_message:
150
150
  rdoc_options: []
151
151
  require_paths: