opentelemetry-semantic_conventions 1.44.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/lib/opentelemetry/semantic_conventions/version.rb +2 -2
  4. data/lib/opentelemetry/semconv/client/attributes.rb +2 -2
  5. data/lib/opentelemetry/semconv/db/attributes.rb +16 -11
  6. data/lib/opentelemetry/semconv/incubating/aws/attributes.rb +1 -1
  7. data/lib/opentelemetry/semconv/incubating/azure/attributes.rb +20 -0
  8. data/lib/opentelemetry/semconv/incubating/client/attributes.rb +72 -2
  9. data/lib/opentelemetry/semconv/incubating/container/metrics.rb +20 -25
  10. data/lib/opentelemetry/semconv/incubating/cpu/attributes.rb +4 -2
  11. data/lib/opentelemetry/semconv/incubating/db/attributes.rb +17 -12
  12. data/lib/opentelemetry/semconv/incubating/db/metrics.rb +8 -2
  13. data/lib/opentelemetry/semconv/incubating/destination/attributes.rb +53 -2
  14. data/lib/opentelemetry/semconv/incubating/enduser/attributes.rb +2 -0
  15. data/lib/opentelemetry/semconv/incubating/faas/attributes.rb +7 -3
  16. data/lib/opentelemetry/semconv/incubating/gcp/attributes.rb +20 -0
  17. data/lib/opentelemetry/semconv/incubating/host/attributes.rb +60 -1
  18. data/lib/opentelemetry/semconv/incubating/http/attributes.rb +59 -0
  19. data/lib/opentelemetry/semconv/incubating/jvm/attributes.rb +24 -0
  20. data/lib/opentelemetry/semconv/incubating/jvm/metrics.rb +45 -2
  21. data/lib/opentelemetry/semconv/incubating/k8s/metrics.rb +268 -66
  22. data/lib/opentelemetry/semconv/incubating/kafka/attributes.rb +55 -0
  23. data/lib/opentelemetry/semconv/incubating/kafka.rb +21 -0
  24. data/lib/opentelemetry/semconv/incubating/log/attributes.rb +5 -5
  25. data/lib/opentelemetry/semconv/incubating/messaging/attributes.rb +68 -26
  26. data/lib/opentelemetry/semconv/incubating/network/attributes.rb +103 -1
  27. data/lib/opentelemetry/semconv/incubating/opentracing/attributes.rb +1 -0
  28. data/lib/opentelemetry/semconv/incubating/otel/metrics.rb +7 -1
  29. data/lib/opentelemetry/semconv/incubating/peer/attributes.rb +1 -1
  30. data/lib/opentelemetry/semconv/incubating/rabbitmq/attributes.rb +41 -0
  31. data/lib/opentelemetry/semconv/incubating/rabbitmq.rb +21 -0
  32. data/lib/opentelemetry/semconv/incubating/rocketmq/attributes.rb +71 -0
  33. data/lib/opentelemetry/semconv/incubating/rocketmq.rb +21 -0
  34. data/lib/opentelemetry/semconv/incubating/rpc/attributes.rb +110 -33
  35. data/lib/opentelemetry/semconv/incubating/rpc/metrics.rb +6 -2
  36. data/lib/opentelemetry/semconv/incubating/server/attributes.rb +70 -0
  37. data/lib/opentelemetry/semconv/incubating/service/attributes.rb +16 -0
  38. data/lib/opentelemetry/semconv/incubating/source/attributes.rb +53 -2
  39. data/lib/opentelemetry/semconv/incubating/system/attributes.rb +15 -9
  40. data/lib/opentelemetry/semconv/incubating/system/metrics.rb +7 -3
  41. data/lib/opentelemetry/semconv/incubating/url/attributes.rb +12 -0
  42. data/lib/opentelemetry/semconv/incubating/v8js/attributes.rb +2 -1
  43. data/lib/opentelemetry/semconv/incubating/zos/attributes.rb +4 -2
  44. data/lib/opentelemetry/semconv/rpc/attributes.rb +77 -0
  45. data/lib/opentelemetry/semconv/rpc/metrics.rb +45 -0
  46. data/lib/opentelemetry/semconv/rpc.rb +22 -0
  47. data/lib/opentelemetry/semconv/url/attributes.rb +12 -0
  48. data/lib/opentelemetry/semconv.rb +4 -0
  49. metadata +14 -5
@@ -24,14 +24,16 @@ module OpenTelemetry
24
24
  module ZOS
25
25
  # @!group Attribute Names
26
26
 
27
- # The System Management Facility (SMF) Identifier uniquely identified a z/OS system within a SYSPLEX or mainframe environment and is used for system and performance analysis.
27
+ # The System Management Facility (SMF) identifier that uniquely identifies a z/OS system within a sysplex or mainframe environment and is used for system and performance analysis.
28
28
  #
29
29
  # @note Stability Level: development
30
+ # @deprecated Moved to the [OpenTelemetry Mainframe semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-mainframe).
30
31
  ZOS_SMF_ID = 'zos.smf.id'
31
32
 
32
- # The name of the SYSPLEX to which the z/OS system belongs too.
33
+ # The name of the sysplex to which the z/OS system belongs.
33
34
  #
34
35
  # @note Stability Level: development
36
+ # @deprecated Moved to the [OpenTelemetry Mainframe semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-mainframe).
35
37
  ZOS_SYSPLEX_NAME = 'zos.sysplex.name'
36
38
 
37
39
  # @!endgroup
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright The OpenTelemetry Authors
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+ # SPDX-License-Identifier: Apache-2.0
18
+ #
19
+ # This file was autogenerated. Do not edit it by hand.
20
+
21
+ module OpenTelemetry
22
+ module SemConv
23
+ module RPC
24
+ # @!group Attribute Names
25
+
26
+ # The fully-qualified logical name of the method from the RPC interface perspective.
27
+ #
28
+ # The method name MAY have unbounded cardinality in edge or error cases.
29
+ #
30
+ # Some RPC frameworks or libraries provide a fixed set of recognized methods
31
+ # for client stubs and server implementations. Instrumentations for such
32
+ # frameworks MUST set this attribute to the original method name only
33
+ # when the method is recognized by the framework or library.
34
+ #
35
+ # When the method is not recognized, for example, when the server receives
36
+ # a request for a method that is not predefined on the server, or when
37
+ # instrumentation is not able to reliably detect if the method is predefined,
38
+ # the attribute MUST be set to `_OTHER`.
39
+ #
40
+ # If the RPC instrumentation could end up converting valid RPC methods to
41
+ # `_OTHER`, then it SHOULD provide a way to configure the list of recognized
42
+ # RPC methods.
43
+ #
44
+ # The `rpc.method` can be different from the name of any implementing
45
+ # method/function.
46
+ # The `code.function.name` attribute may be used to record the fully-qualified
47
+ # method actually executing the call on the server side, or the
48
+ # RPC client stub method on the client side.
49
+ #
50
+ # @note Stability Level: stable
51
+ RPC_METHOD = 'rpc.method'
52
+
53
+ # The original name of the method used by the client.
54
+ #
55
+ # @note Stability Level: stable
56
+ RPC_METHOD_ORIGINAL = 'rpc.method_original'
57
+
58
+ # Status code of the RPC returned by the RPC server or generated by the client
59
+ #
60
+ # Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes.
61
+ # The value MAY use a standardized string representation of a numeric status code, if one exists, instead of the numeric code. The value MAY be a synthetic status provided by the client library rather than returned by the remote service.
62
+ # Semantic conventions for individual RPC frameworks SHOULD document what `rpc.status_code` means in the context of that system and which values are considered to represent errors.
63
+ #
64
+ # @note Stability Level: stable
65
+ RPC_STATUS_CODE = 'rpc.status_code'
66
+
67
+ # The Remote Procedure Call (RPC) system.
68
+ #
69
+ # The client and server RPC systems may differ for the same RPC interaction. For example, a client may use Apache Dubbo or Connect RPC to communicate with a server that uses gRPC since both protocols provide compatibility with gRPC.
70
+ #
71
+ # @note Stability Level: stable
72
+ RPC_SYSTEM_NAME = 'rpc.system.name'
73
+
74
+ # @!endgroup
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright The OpenTelemetry Authors
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+ # SPDX-License-Identifier: Apache-2.0
18
+ #
19
+ # This file was autogenerated. Do not edit it by hand.
20
+
21
+ module OpenTelemetry
22
+ module SemConv
23
+ module RPC
24
+ # @!group Metrics Names
25
+
26
+ # Measures the duration of an outgoing Remote Procedure Call (RPC).
27
+ #
28
+ # When this metric is reported alongside an RPC client span, the metric value
29
+ # SHOULD be the same as the RPC client span duration.
30
+ #
31
+ # @note Stability Level: stable
32
+ RPC_CLIENT_CALL_DURATION = 'rpc.client.call.duration'
33
+
34
+ # Measures the duration of an incoming Remote Procedure Call (RPC).
35
+ #
36
+ # When this metric is reported alongside an RPC server span, the metric value
37
+ # SHOULD be the same as the RPC server span duration.
38
+ #
39
+ # @note Stability Level: stable
40
+ RPC_SERVER_CALL_DURATION = 'rpc.server.call.duration'
41
+
42
+ # @!endgroup
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright The OpenTelemetry Authors
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+ # SPDX-License-Identifier: Apache-2.0
18
+
19
+ # This file was autogenerated. Do not edit it by hand.
20
+
21
+ require_relative 'rpc/attributes'
22
+ require_relative 'rpc/metrics'
@@ -47,9 +47,15 @@ module OpenTelemetry
47
47
  # - [`X-Amz-Signature`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
48
48
  # - [`X-Amz-Credential`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
49
49
  # - [`X-Amz-Security-Token`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
50
+ # - [`AWSAccessKeyId`](https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
51
+ # - [`Signature`](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html)
50
52
  # - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
51
53
  # - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
52
54
  #
55
+ # Several of these keys are used by more than one service or signing scheme. Each link
56
+ # points to one representative usage rather than an exhaustive list, and does not narrow
57
+ # the scope of the key to the linked service or signing scheme.
58
+ #
53
59
  # This list is subject to change over time.
54
60
  #
55
61
  # Matching of query parameter keys against the sensitive list SHOULD be case-sensitive.
@@ -85,9 +91,15 @@ module OpenTelemetry
85
91
  # - [`X-Amz-Signature`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
86
92
  # - [`X-Amz-Credential`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
87
93
  # - [`X-Amz-Security-Token`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
94
+ # - [`AWSAccessKeyId`](https://docs.aws.amazon.com/AmazonS3/latest/developerguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
95
+ # - [`Signature`](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html)
88
96
  # - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
89
97
  # - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
90
98
  #
99
+ # Several of these keys are used by more than one service or signing scheme. Each link
100
+ # points to one representative usage rather than an exhaustive list, and does not narrow
101
+ # the scope of the key to the linked service or signing scheme.
102
+ #
91
103
  # This list is subject to change over time.
92
104
  #
93
105
  # Matching of query parameter keys against the sensitive list SHOULD be case-sensitive.
@@ -36,6 +36,7 @@ module OpenTelemetry
36
36
  autoload :KESTREL, 'opentelemetry/semconv/kestrel'
37
37
  autoload :NETWORK, 'opentelemetry/semconv/network'
38
38
  autoload :OTEL, 'opentelemetry/semconv/otel'
39
+ autoload :RPC, 'opentelemetry/semconv/rpc'
39
40
  autoload :SERVER, 'opentelemetry/semconv/server'
40
41
  autoload :SERVICE, 'opentelemetry/semconv/service'
41
42
  autoload :SIGNALR, 'opentelemetry/semconv/signalr'
@@ -91,6 +92,7 @@ module OpenTelemetry
91
92
  autoload :JSONRPC, 'opentelemetry/semconv/incubating/jsonrpc'
92
93
  autoload :JVM, 'opentelemetry/semconv/incubating/jvm'
93
94
  autoload :K8S, 'opentelemetry/semconv/incubating/k8s'
95
+ autoload :KAFKA, 'opentelemetry/semconv/incubating/kafka'
94
96
  autoload :KESTREL, 'opentelemetry/semconv/incubating/kestrel'
95
97
  autoload :LINUX, 'opentelemetry/semconv/incubating/linux'
96
98
  autoload :LOG, 'opentelemetry/semconv/incubating/log'
@@ -117,6 +119,8 @@ module OpenTelemetry
117
119
  autoload :PPROF, 'opentelemetry/semconv/incubating/pprof'
118
120
  autoload :PROCESS, 'opentelemetry/semconv/incubating/process'
119
121
  autoload :PROFILE, 'opentelemetry/semconv/incubating/profile'
122
+ autoload :RABBITMQ, 'opentelemetry/semconv/incubating/rabbitmq'
123
+ autoload :ROCKETMQ, 'opentelemetry/semconv/incubating/rocketmq'
120
124
  autoload :RPC, 'opentelemetry/semconv/incubating/rpc'
121
125
  autoload :SECURITY_RULE, 'opentelemetry/semconv/incubating/security_rule'
122
126
  autoload :SERVER, 'opentelemetry/semconv/incubating/server'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-semantic_conventions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
@@ -172,6 +172,8 @@ files:
172
172
  - lib/opentelemetry/semconv/incubating/k8s.rb
173
173
  - lib/opentelemetry/semconv/incubating/k8s/attributes.rb
174
174
  - lib/opentelemetry/semconv/incubating/k8s/metrics.rb
175
+ - lib/opentelemetry/semconv/incubating/kafka.rb
176
+ - lib/opentelemetry/semconv/incubating/kafka/attributes.rb
175
177
  - lib/opentelemetry/semconv/incubating/kestrel.rb
176
178
  - lib/opentelemetry/semconv/incubating/kestrel/metrics.rb
177
179
  - lib/opentelemetry/semconv/incubating/linux.rb
@@ -231,6 +233,10 @@ files:
231
233
  - lib/opentelemetry/semconv/incubating/process/metrics.rb
232
234
  - lib/opentelemetry/semconv/incubating/profile.rb
233
235
  - lib/opentelemetry/semconv/incubating/profile/attributes.rb
236
+ - lib/opentelemetry/semconv/incubating/rabbitmq.rb
237
+ - lib/opentelemetry/semconv/incubating/rabbitmq/attributes.rb
238
+ - lib/opentelemetry/semconv/incubating/rocketmq.rb
239
+ - lib/opentelemetry/semconv/incubating/rocketmq/attributes.rb
234
240
  - lib/opentelemetry/semconv/incubating/rpc.rb
235
241
  - lib/opentelemetry/semconv/incubating/rpc/attributes.rb
236
242
  - lib/opentelemetry/semconv/incubating/rpc/metrics.rb
@@ -285,6 +291,9 @@ files:
285
291
  - lib/opentelemetry/semconv/network/attributes.rb
286
292
  - lib/opentelemetry/semconv/otel.rb
287
293
  - lib/opentelemetry/semconv/otel/attributes.rb
294
+ - lib/opentelemetry/semconv/rpc.rb
295
+ - lib/opentelemetry/semconv/rpc/attributes.rb
296
+ - lib/opentelemetry/semconv/rpc/metrics.rb
288
297
  - lib/opentelemetry/semconv/server.rb
289
298
  - lib/opentelemetry/semconv/server/attributes.rb
290
299
  - lib/opentelemetry/semconv/service.rb
@@ -302,10 +311,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
302
311
  licenses:
303
312
  - Apache-2.0
304
313
  metadata:
305
- changelog_uri: https://rubydoc.info/gems/opentelemetry-semantic_conventions/1.44.0/file/CHANGELOG.md
306
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/opentelemetry-semantic_conventions/v1.44.0/semantic_conventions
314
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-semantic_conventions/1.45.0/file/CHANGELOG.md
315
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/opentelemetry-semantic_conventions/v1.45.0/semantic_conventions
307
316
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
308
- documentation_uri: https://rubydoc.info/gems/opentelemetry-semantic_conventions/1.44.0
317
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-semantic_conventions/1.45.0
309
318
  rdoc_options: []
310
319
  require_paths:
311
320
  - lib
@@ -320,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
329
  - !ruby/object:Gem::Version
321
330
  version: '0'
322
331
  requirements: []
323
- rubygems_version: 4.0.16
332
+ rubygems_version: 4.0.20
324
333
  specification_version: 4
325
334
  summary: Semantic Convention definitions for OpenTelemetry
326
335
  test_files: []