opentelemetry-semantic_conventions 1.11.0 → 1.36.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 (239) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -2
  3. data/CHANGELOG.md +4 -0
  4. data/lib/opentelemetry/semantic_conventions/resource.rb +258 -4
  5. data/lib/opentelemetry/semantic_conventions/trace.rb +432 -5
  6. data/lib/opentelemetry/semantic_conventions/version.rb +1 -1
  7. data/lib/opentelemetry/semantic_conventions.rb +13 -1
  8. data/lib/opentelemetry/semconv/aspnetcore/attributes.rb +97 -0
  9. data/lib/opentelemetry/semconv/aspnetcore/metrics.rb +83 -0
  10. data/lib/opentelemetry/semconv/aspnetcore.rb +22 -0
  11. data/lib/opentelemetry/semconv/client/attributes.rb +53 -0
  12. data/lib/opentelemetry/semconv/client.rb +21 -0
  13. data/lib/opentelemetry/semconv/code/attributes.rb +92 -0
  14. data/lib/opentelemetry/semconv/code.rb +21 -0
  15. data/lib/opentelemetry/semconv/db/attributes.rb +174 -0
  16. data/lib/opentelemetry/semconv/db/metrics.rb +36 -0
  17. data/lib/opentelemetry/semconv/db.rb +22 -0
  18. data/lib/opentelemetry/semconv/dotnet/attributes.rb +40 -0
  19. data/lib/opentelemetry/semconv/dotnet/metrics.rb +181 -0
  20. data/lib/opentelemetry/semconv/dotnet.rb +22 -0
  21. data/lib/opentelemetry/semconv/error/attributes.rb +61 -0
  22. data/lib/opentelemetry/semconv/error.rb +21 -0
  23. data/lib/opentelemetry/semconv/exception/attributes.rb +64 -0
  24. data/lib/opentelemetry/semconv/exception.rb +21 -0
  25. data/lib/opentelemetry/semconv/http/attributes.rb +164 -0
  26. data/lib/opentelemetry/semconv/http/metrics.rb +39 -0
  27. data/lib/opentelemetry/semconv/http.rb +22 -0
  28. data/lib/opentelemetry/semconv/incubating/android/attributes.rb +58 -0
  29. data/lib/opentelemetry/semconv/incubating/android.rb +21 -0
  30. data/lib/opentelemetry/semconv/incubating/app/attributes.rb +103 -0
  31. data/lib/opentelemetry/semconv/incubating/app.rb +21 -0
  32. data/lib/opentelemetry/semconv/incubating/artifact/attributes.rb +117 -0
  33. data/lib/opentelemetry/semconv/incubating/artifact.rb +21 -0
  34. data/lib/opentelemetry/semconv/incubating/aspnetcore/attributes.rb +113 -0
  35. data/lib/opentelemetry/semconv/incubating/aspnetcore/metrics.rb +99 -0
  36. data/lib/opentelemetry/semconv/incubating/aspnetcore.rb +22 -0
  37. data/lib/opentelemetry/semconv/incubating/aws/attributes.rb +551 -0
  38. data/lib/opentelemetry/semconv/incubating/aws.rb +21 -0
  39. data/lib/opentelemetry/semconv/incubating/az/attributes.rb +53 -0
  40. data/lib/opentelemetry/semconv/incubating/az.rb +21 -0
  41. data/lib/opentelemetry/semconv/incubating/azure/attributes.rb +115 -0
  42. data/lib/opentelemetry/semconv/incubating/azure/metrics.rb +41 -0
  43. data/lib/opentelemetry/semconv/incubating/azure.rb +22 -0
  44. data/lib/opentelemetry/semconv/incubating/browser/attributes.rb +77 -0
  45. data/lib/opentelemetry/semconv/incubating/browser.rb +21 -0
  46. data/lib/opentelemetry/semconv/incubating/cassandra/attributes.rb +78 -0
  47. data/lib/opentelemetry/semconv/incubating/cassandra.rb +21 -0
  48. data/lib/opentelemetry/semconv/incubating/cicd/attributes.rb +201 -0
  49. data/lib/opentelemetry/semconv/incubating/cicd/metrics.rb +61 -0
  50. data/lib/opentelemetry/semconv/incubating/cicd.rb +22 -0
  51. data/lib/opentelemetry/semconv/incubating/client/attributes.rb +59 -0
  52. data/lib/opentelemetry/semconv/incubating/client.rb +21 -0
  53. data/lib/opentelemetry/semconv/incubating/cloud/attributes.rb +105 -0
  54. data/lib/opentelemetry/semconv/incubating/cloud.rb +21 -0
  55. data/lib/opentelemetry/semconv/incubating/cloudevents/attributes.rb +80 -0
  56. data/lib/opentelemetry/semconv/incubating/cloudevents.rb +21 -0
  57. data/lib/opentelemetry/semconv/incubating/cloudfoundry/attributes.rb +190 -0
  58. data/lib/opentelemetry/semconv/incubating/cloudfoundry.rb +21 -0
  59. data/lib/opentelemetry/semconv/incubating/code/attributes.rb +155 -0
  60. data/lib/opentelemetry/semconv/incubating/code.rb +21 -0
  61. data/lib/opentelemetry/semconv/incubating/container/attributes.rb +197 -0
  62. data/lib/opentelemetry/semconv/incubating/container/metrics.rb +74 -0
  63. data/lib/opentelemetry/semconv/incubating/container.rb +22 -0
  64. data/lib/opentelemetry/semconv/incubating/cpu/attributes.rb +50 -0
  65. data/lib/opentelemetry/semconv/incubating/cpu/metrics.rb +49 -0
  66. data/lib/opentelemetry/semconv/incubating/cpu.rb +22 -0
  67. data/lib/opentelemetry/semconv/incubating/cpython/attributes.rb +42 -0
  68. data/lib/opentelemetry/semconv/incubating/cpython/metrics.rb +52 -0
  69. data/lib/opentelemetry/semconv/incubating/cpython.rb +22 -0
  70. data/lib/opentelemetry/semconv/incubating/db/attributes.rb +615 -0
  71. data/lib/opentelemetry/semconv/incubating/db/metrics.rb +156 -0
  72. data/lib/opentelemetry/semconv/incubating/db.rb +22 -0
  73. data/lib/opentelemetry/semconv/incubating/deployment/attributes.rb +84 -0
  74. data/lib/opentelemetry/semconv/incubating/deployment.rb +21 -0
  75. data/lib/opentelemetry/semconv/incubating/destination/attributes.rb +54 -0
  76. data/lib/opentelemetry/semconv/incubating/destination.rb +21 -0
  77. data/lib/opentelemetry/semconv/incubating/device/attributes.rb +88 -0
  78. data/lib/opentelemetry/semconv/incubating/device.rb +21 -0
  79. data/lib/opentelemetry/semconv/incubating/disk/attributes.rb +40 -0
  80. data/lib/opentelemetry/semconv/incubating/disk.rb +21 -0
  81. data/lib/opentelemetry/semconv/incubating/dns/attributes.rb +52 -0
  82. data/lib/opentelemetry/semconv/incubating/dns/metrics.rb +36 -0
  83. data/lib/opentelemetry/semconv/incubating/dns.rb +22 -0
  84. data/lib/opentelemetry/semconv/incubating/dotnet/attributes.rb +44 -0
  85. data/lib/opentelemetry/semconv/incubating/dotnet/metrics.rb +221 -0
  86. data/lib/opentelemetry/semconv/incubating/dotnet.rb +22 -0
  87. data/lib/opentelemetry/semconv/incubating/elasticsearch/attributes.rb +40 -0
  88. data/lib/opentelemetry/semconv/incubating/elasticsearch.rb +21 -0
  89. data/lib/opentelemetry/semconv/incubating/enduser/attributes.rb +79 -0
  90. data/lib/opentelemetry/semconv/incubating/enduser.rb +21 -0
  91. data/lib/opentelemetry/semconv/incubating/error/attributes.rb +81 -0
  92. data/lib/opentelemetry/semconv/incubating/error.rb +21 -0
  93. data/lib/opentelemetry/semconv/incubating/event/attributes.rb +42 -0
  94. data/lib/opentelemetry/semconv/incubating/event.rb +21 -0
  95. data/lib/opentelemetry/semconv/incubating/exception/attributes.rb +73 -0
  96. data/lib/opentelemetry/semconv/incubating/exception.rb +21 -0
  97. data/lib/opentelemetry/semconv/incubating/faas/attributes.rb +200 -0
  98. data/lib/opentelemetry/semconv/incubating/faas/metrics.rb +76 -0
  99. data/lib/opentelemetry/semconv/incubating/faas.rb +22 -0
  100. data/lib/opentelemetry/semconv/incubating/feature_flag/attributes.rb +159 -0
  101. data/lib/opentelemetry/semconv/incubating/feature_flag.rb +21 -0
  102. data/lib/opentelemetry/semconv/incubating/file/attributes.rb +207 -0
  103. data/lib/opentelemetry/semconv/incubating/file.rb +21 -0
  104. data/lib/opentelemetry/semconv/incubating/gcp/attributes.rb +159 -0
  105. data/lib/opentelemetry/semconv/incubating/gcp.rb +21 -0
  106. data/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb +404 -0
  107. data/lib/opentelemetry/semconv/incubating/gen_ai/metrics.rb +56 -0
  108. data/lib/opentelemetry/semconv/incubating/gen_ai.rb +22 -0
  109. data/lib/opentelemetry/semconv/incubating/geo/attributes.rb +91 -0
  110. data/lib/opentelemetry/semconv/incubating/geo.rb +21 -0
  111. data/lib/opentelemetry/semconv/incubating/go/attributes.rb +41 -0
  112. data/lib/opentelemetry/semconv/incubating/go/metrics.rb +94 -0
  113. data/lib/opentelemetry/semconv/incubating/go.rb +22 -0
  114. data/lib/opentelemetry/semconv/incubating/graphql/attributes.rb +62 -0
  115. data/lib/opentelemetry/semconv/incubating/graphql.rb +21 -0
  116. data/lib/opentelemetry/semconv/incubating/heroku/attributes.rb +58 -0
  117. data/lib/opentelemetry/semconv/incubating/heroku.rb +21 -0
  118. data/lib/opentelemetry/semconv/incubating/host/attributes.rb +172 -0
  119. data/lib/opentelemetry/semconv/incubating/host.rb +21 -0
  120. data/lib/opentelemetry/semconv/incubating/http/attributes.rb +366 -0
  121. data/lib/opentelemetry/semconv/incubating/http/metrics.rb +93 -0
  122. data/lib/opentelemetry/semconv/incubating/http.rb +22 -0
  123. data/lib/opentelemetry/semconv/incubating/hw/attributes.rb +70 -0
  124. data/lib/opentelemetry/semconv/incubating/hw/metrics.rb +79 -0
  125. data/lib/opentelemetry/semconv/incubating/hw.rb +22 -0
  126. data/lib/opentelemetry/semconv/incubating/ios/attributes.rb +44 -0
  127. data/lib/opentelemetry/semconv/incubating/ios.rb +21 -0
  128. data/lib/opentelemetry/semconv/incubating/jvm/attributes.rb +129 -0
  129. data/lib/opentelemetry/semconv/incubating/jvm/metrics.rb +162 -0
  130. data/lib/opentelemetry/semconv/incubating/jvm.rb +22 -0
  131. data/lib/opentelemetry/semconv/incubating/k8s/attributes.rb +910 -0
  132. data/lib/opentelemetry/semconv/incubating/k8s/metrics.rb +658 -0
  133. data/lib/opentelemetry/semconv/incubating/k8s.rb +22 -0
  134. data/lib/opentelemetry/semconv/incubating/kestrel/metrics.rb +106 -0
  135. data/lib/opentelemetry/semconv/incubating/kestrel.rb +21 -0
  136. data/lib/opentelemetry/semconv/incubating/linux/attributes.rb +41 -0
  137. data/lib/opentelemetry/semconv/incubating/linux.rb +21 -0
  138. data/lib/opentelemetry/semconv/incubating/log/attributes.rb +96 -0
  139. data/lib/opentelemetry/semconv/incubating/log.rb +21 -0
  140. data/lib/opentelemetry/semconv/incubating/mainframe/attributes.rb +40 -0
  141. data/lib/opentelemetry/semconv/incubating/mainframe.rb +21 -0
  142. data/lib/opentelemetry/semconv/incubating/message/attributes.rb +55 -0
  143. data/lib/opentelemetry/semconv/incubating/message.rb +21 -0
  144. data/lib/opentelemetry/semconv/incubating/messaging/attributes.rb +451 -0
  145. data/lib/opentelemetry/semconv/incubating/messaging/metrics.rb +96 -0
  146. data/lib/opentelemetry/semconv/incubating/messaging.rb +22 -0
  147. data/lib/opentelemetry/semconv/incubating/net/attributes.rb +175 -0
  148. data/lib/opentelemetry/semconv/incubating/net.rb +21 -0
  149. data/lib/opentelemetry/semconv/incubating/network/attributes.rb +222 -0
  150. data/lib/opentelemetry/semconv/incubating/network.rb +21 -0
  151. data/lib/opentelemetry/semconv/incubating/nodejs/attributes.rb +36 -0
  152. data/lib/opentelemetry/semconv/incubating/nodejs/metrics.rb +94 -0
  153. data/lib/opentelemetry/semconv/incubating/nodejs.rb +22 -0
  154. data/lib/opentelemetry/semconv/incubating/oci/attributes.rb +43 -0
  155. data/lib/opentelemetry/semconv/incubating/oci.rb +21 -0
  156. data/lib/opentelemetry/semconv/incubating/opentracing/attributes.rb +38 -0
  157. data/lib/opentelemetry/semconv/incubating/opentracing.rb +21 -0
  158. data/lib/opentelemetry/semconv/incubating/os/attributes.rb +78 -0
  159. data/lib/opentelemetry/semconv/incubating/os.rb +21 -0
  160. data/lib/opentelemetry/semconv/incubating/otel/attributes.rb +138 -0
  161. data/lib/opentelemetry/semconv/incubating/otel/metrics.rb +194 -0
  162. data/lib/opentelemetry/semconv/incubating/otel.rb +22 -0
  163. data/lib/opentelemetry/semconv/incubating/other/attributes.rb +41 -0
  164. data/lib/opentelemetry/semconv/incubating/other.rb +21 -0
  165. data/lib/opentelemetry/semconv/incubating/peer/attributes.rb +40 -0
  166. data/lib/opentelemetry/semconv/incubating/peer.rb +21 -0
  167. data/lib/opentelemetry/semconv/incubating/pool/attributes.rb +41 -0
  168. data/lib/opentelemetry/semconv/incubating/pool.rb +21 -0
  169. data/lib/opentelemetry/semconv/incubating/process/attributes.rb +367 -0
  170. data/lib/opentelemetry/semconv/incubating/process/metrics.rb +89 -0
  171. data/lib/opentelemetry/semconv/incubating/process.rb +22 -0
  172. data/lib/opentelemetry/semconv/incubating/profile/attributes.rb +40 -0
  173. data/lib/opentelemetry/semconv/incubating/profile.rb +21 -0
  174. data/lib/opentelemetry/semconv/incubating/rpc/attributes.rb +215 -0
  175. data/lib/opentelemetry/semconv/incubating/rpc/metrics.rb +115 -0
  176. data/lib/opentelemetry/semconv/incubating/rpc.rb +22 -0
  177. data/lib/opentelemetry/semconv/incubating/security_rule/attributes.rb +106 -0
  178. data/lib/opentelemetry/semconv/incubating/security_rule.rb +21 -0
  179. data/lib/opentelemetry/semconv/incubating/server/attributes.rb +61 -0
  180. data/lib/opentelemetry/semconv/incubating/server.rb +21 -0
  181. data/lib/opentelemetry/semconv/incubating/service/attributes.rb +103 -0
  182. data/lib/opentelemetry/semconv/incubating/service.rb +21 -0
  183. data/lib/opentelemetry/semconv/incubating/session/attributes.rb +49 -0
  184. data/lib/opentelemetry/semconv/incubating/session.rb +21 -0
  185. data/lib/opentelemetry/semconv/incubating/signalr/attributes.rb +55 -0
  186. data/lib/opentelemetry/semconv/incubating/signalr/metrics.rb +49 -0
  187. data/lib/opentelemetry/semconv/incubating/signalr.rb +22 -0
  188. data/lib/opentelemetry/semconv/incubating/source/attributes.rb +54 -0
  189. data/lib/opentelemetry/semconv/incubating/source.rb +21 -0
  190. data/lib/opentelemetry/semconv/incubating/system/attributes.rb +162 -0
  191. data/lib/opentelemetry/semconv/incubating/system/metrics.rb +227 -0
  192. data/lib/opentelemetry/semconv/incubating/system.rb +22 -0
  193. data/lib/opentelemetry/semconv/incubating/telemetry/attributes.rb +88 -0
  194. data/lib/opentelemetry/semconv/incubating/telemetry.rb +21 -0
  195. data/lib/opentelemetry/semconv/incubating/test/attributes.rb +75 -0
  196. data/lib/opentelemetry/semconv/incubating/test.rb +21 -0
  197. data/lib/opentelemetry/semconv/incubating/thread/attributes.rb +49 -0
  198. data/lib/opentelemetry/semconv/incubating/thread.rb +21 -0
  199. data/lib/opentelemetry/semconv/incubating/tls/attributes.rb +293 -0
  200. data/lib/opentelemetry/semconv/incubating/tls.rb +21 -0
  201. data/lib/opentelemetry/semconv/incubating/url/attributes.rb +225 -0
  202. data/lib/opentelemetry/semconv/incubating/url.rb +21 -0
  203. data/lib/opentelemetry/semconv/incubating/user/attributes.rb +87 -0
  204. data/lib/opentelemetry/semconv/incubating/user.rb +21 -0
  205. data/lib/opentelemetry/semconv/incubating/user_agent/attributes.rb +100 -0
  206. data/lib/opentelemetry/semconv/incubating/user_agent.rb +21 -0
  207. data/lib/opentelemetry/semconv/incubating/v8js/attributes.rb +43 -0
  208. data/lib/opentelemetry/semconv/incubating/v8js/metrics.rb +66 -0
  209. data/lib/opentelemetry/semconv/incubating/v8js.rb +22 -0
  210. data/lib/opentelemetry/semconv/incubating/vcs/attributes.rb +303 -0
  211. data/lib/opentelemetry/semconv/incubating/vcs/metrics.rb +88 -0
  212. data/lib/opentelemetry/semconv/incubating/vcs.rb +22 -0
  213. data/lib/opentelemetry/semconv/incubating/webengine/attributes.rb +58 -0
  214. data/lib/opentelemetry/semconv/incubating/webengine.rb +21 -0
  215. data/lib/opentelemetry/semconv/incubating/zos/attributes.rb +49 -0
  216. data/lib/opentelemetry/semconv/incubating/zos.rb +21 -0
  217. data/lib/opentelemetry/semconv/jvm/attributes.rb +91 -0
  218. data/lib/opentelemetry/semconv/jvm/metrics.rb +91 -0
  219. data/lib/opentelemetry/semconv/jvm.rb +22 -0
  220. data/lib/opentelemetry/semconv/kestrel/metrics.rb +88 -0
  221. data/lib/opentelemetry/semconv/kestrel.rb +21 -0
  222. data/lib/opentelemetry/semconv/network/attributes.rb +120 -0
  223. data/lib/opentelemetry/semconv/network.rb +21 -0
  224. data/lib/opentelemetry/semconv/otel/attributes.rb +61 -0
  225. data/lib/opentelemetry/semconv/otel.rb +21 -0
  226. data/lib/opentelemetry/semconv/server/attributes.rb +55 -0
  227. data/lib/opentelemetry/semconv/server.rb +21 -0
  228. data/lib/opentelemetry/semconv/service/attributes.rb +50 -0
  229. data/lib/opentelemetry/semconv/service.rb +21 -0
  230. data/lib/opentelemetry/semconv/signalr/attributes.rb +49 -0
  231. data/lib/opentelemetry/semconv/signalr/metrics.rb +43 -0
  232. data/lib/opentelemetry/semconv/signalr.rb +22 -0
  233. data/lib/opentelemetry/semconv/telemetry/attributes.rb +59 -0
  234. data/lib/opentelemetry/semconv/telemetry.rb +21 -0
  235. data/lib/opentelemetry/semconv/url/attributes.rb +118 -0
  236. data/lib/opentelemetry/semconv/url.rb +21 -0
  237. data/lib/opentelemetry/semconv/user_agent/attributes.rb +40 -0
  238. data/lib/opentelemetry/semconv/user_agent.rb +21 -0
  239. metadata +249 -4
@@ -0,0 +1,225 @@
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 Incubating
24
+ module URL
25
+ # @!group Attribute Names
26
+
27
+ # Domain extracted from the `url.full`, such as "opentelemetry.io".
28
+ #
29
+ # In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field.
30
+ #
31
+ # @note Stability Level: development
32
+ #
33
+ # @example Sample Values
34
+ # www.foo.bar
35
+ # opentelemetry.io
36
+ # 3.12.167.2
37
+ # [1080:0:0:0:8:800:200C:417A]
38
+ #
39
+ URL_DOMAIN = 'url.domain'
40
+
41
+ # The file extension extracted from the `url.full`, excluding the leading dot.
42
+ #
43
+ # The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`.
44
+ #
45
+ # @note Stability Level: development
46
+ #
47
+ # @example Sample Values
48
+ # png
49
+ # gz
50
+ #
51
+ URL_EXTENSION = 'url.extension'
52
+
53
+ # The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component
54
+ #
55
+ # @note Stability Level: stable
56
+ #
57
+ # @example Sample Values
58
+ # SemConv
59
+ #
60
+ #
61
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::URL::URL_FRAGMENT}.
62
+ URL_FRAGMENT = 'url.fragment'
63
+
64
+ # Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986)
65
+ #
66
+ # For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment
67
+ # is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless.
68
+ #
69
+ # `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`.
70
+ # In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`.
71
+ #
72
+ # `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed).
73
+ #
74
+ # Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it.
75
+ #
76
+ #
77
+ # Query string values for the following keys SHOULD be redacted by default and replaced by the
78
+ # value `REDACTED`:
79
+ #
80
+ # - [`AWSAccessKeyId`](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
81
+ # - [`Signature`](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
82
+ # - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
83
+ # - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
84
+ #
85
+ # This list is subject to change over time.
86
+ #
87
+ # When a query string value is redacted, the query string key SHOULD still be preserved, e.g.
88
+ # `https://www.example.com/path?color=blue&sig=REDACTED`.
89
+ #
90
+ # @note Stability Level: stable
91
+ #
92
+ # @example Sample Values
93
+ # https://www.foo.bar/search?q=OpenTelemetry#SemConv
94
+ # //localhost
95
+ #
96
+ #
97
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::URL::URL_FULL}.
98
+ URL_FULL = 'url.full'
99
+
100
+ # Unmodified original URL as seen in the event source.
101
+ #
102
+ # In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not.
103
+ # `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same.
104
+ #
105
+ # @note Stability Level: development
106
+ #
107
+ # @example Sample Values
108
+ # https://www.foo.bar/search?q=OpenTelemetry#SemConv
109
+ # search?q=OpenTelemetry
110
+ #
111
+ URL_ORIGINAL = 'url.original'
112
+
113
+ # The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component
114
+ #
115
+ # Sensitive content provided in `url.path` SHOULD be scrubbed when instrumentations can identify it.
116
+ #
117
+ # @note Stability Level: stable
118
+ #
119
+ # @example Sample Values
120
+ # /search
121
+ #
122
+ #
123
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::URL::URL_PATH}.
124
+ URL_PATH = 'url.path'
125
+
126
+ # Port extracted from the `url.full`
127
+ #
128
+ # @note Stability Level: development
129
+ #
130
+ # @example Sample Values
131
+ # 443
132
+ #
133
+ URL_PORT = 'url.port'
134
+
135
+ # The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component
136
+ #
137
+ # Sensitive content provided in `url.query` SHOULD be scrubbed when instrumentations can identify it.
138
+ #
139
+ #
140
+ # Query string values for the following keys SHOULD be redacted by default and replaced by the value `REDACTED`:
141
+ #
142
+ # - [`AWSAccessKeyId`](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
143
+ # - [`Signature`](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth)
144
+ # - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
145
+ # - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
146
+ #
147
+ # This list is subject to change over time.
148
+ #
149
+ # When a query string value is redacted, the query string key SHOULD still be preserved, e.g.
150
+ # `q=OpenTelemetry&sig=REDACTED`.
151
+ #
152
+ # @note Stability Level: stable
153
+ #
154
+ # @example Sample Values
155
+ # q=OpenTelemetry
156
+ #
157
+ #
158
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::URL::URL_QUERY}.
159
+ URL_QUERY = 'url.query'
160
+
161
+ # The highest registered url domain, stripped of the subdomain.
162
+ #
163
+ # This value can be determined precisely with the [public suffix list](https://publicsuffix.org/). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`.
164
+ #
165
+ # @note Stability Level: development
166
+ #
167
+ # @example Sample Values
168
+ # example.com
169
+ # foo.co.uk
170
+ #
171
+ URL_REGISTERED_DOMAIN = 'url.registered_domain'
172
+
173
+ # The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol.
174
+ #
175
+ # @note Stability Level: stable
176
+ #
177
+ # @example Sample Values
178
+ # https
179
+ # ftp
180
+ # telnet
181
+ #
182
+ #
183
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::URL::URL_SCHEME}.
184
+ URL_SCHEME = 'url.scheme'
185
+
186
+ # The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain.
187
+ #
188
+ # The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.
189
+ #
190
+ # @note Stability Level: development
191
+ #
192
+ # @example Sample Values
193
+ # east
194
+ # sub2.sub1
195
+ #
196
+ URL_SUBDOMAIN = 'url.subdomain'
197
+
198
+ # The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2).
199
+ #
200
+ # @note Stability Level: development
201
+ #
202
+ # @example Sample Values
203
+ # /users/{id}
204
+ # /users/:id
205
+ # /users?id={id}
206
+ #
207
+ URL_TEMPLATE = 'url.template'
208
+
209
+ # The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`.
210
+ #
211
+ # This value can be determined precisely with the [public suffix list](https://publicsuffix.org/).
212
+ #
213
+ # @note Stability Level: development
214
+ #
215
+ # @example Sample Values
216
+ # com
217
+ # co.uk
218
+ #
219
+ URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'
220
+
221
+ # @!endgroup
222
+ end
223
+ end
224
+ end
225
+ end
@@ -0,0 +1,21 @@
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 'url/attributes'
@@ -0,0 +1,87 @@
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 Incubating
24
+ module USER
25
+ # @!group Attribute Names
26
+
27
+ # User email address.
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # a.einstein@example.com
33
+ #
34
+ USER_EMAIL = 'user.email'
35
+
36
+ # User's full name
37
+ #
38
+ # @note Stability Level: development
39
+ #
40
+ # @example Sample Values
41
+ # Albert Einstein
42
+ #
43
+ USER_FULL_NAME = 'user.full_name'
44
+
45
+ # Unique user hash to correlate information for a user in anonymized form.
46
+ #
47
+ # Useful if `user.id` or `user.name` contain confidential information and cannot be used.
48
+ #
49
+ # @note Stability Level: development
50
+ #
51
+ # @example Sample Values
52
+ # 364fc68eaf4c8acec74a4e52d7d1feaa
53
+ #
54
+ USER_HASH = 'user.hash'
55
+
56
+ # Unique identifier of the user.
57
+ #
58
+ # @note Stability Level: development
59
+ #
60
+ # @example Sample Values
61
+ # S-1-5-21-202424912787-2692429404-2351956786-1000
62
+ #
63
+ USER_ID = 'user.id'
64
+
65
+ # Short name or login/username of the user.
66
+ #
67
+ # @note Stability Level: development
68
+ #
69
+ # @example Sample Values
70
+ # a.einstein
71
+ #
72
+ USER_NAME = 'user.name'
73
+
74
+ # Array of user roles at the time of the event.
75
+ #
76
+ # @note Stability Level: development
77
+ #
78
+ # @example Sample Values
79
+ # ["admin", "reporting_user"]
80
+ #
81
+ USER_ROLES = 'user.roles'
82
+
83
+ # @!endgroup
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,21 @@
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 'user/attributes'
@@ -0,0 +1,100 @@
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 Incubating
24
+ module USER_AGENT
25
+ # @!group Attribute Names
26
+
27
+ # Name of the user-agent extracted from original. Usually refers to the browser's name.
28
+ #
29
+ # [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name SHOULD be selected. In such a scenario it should align with `user_agent.version`
30
+ #
31
+ # @note Stability Level: development
32
+ #
33
+ # @example Sample Values
34
+ # Safari
35
+ # YourApp
36
+ #
37
+ USER_AGENT_NAME = 'user_agent.name'
38
+
39
+ # Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client.
40
+ #
41
+ # @note Stability Level: stable
42
+ #
43
+ # @example Sample Values
44
+ # CERN-LineMode/2.15 libwww/2.17b3
45
+ # Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1
46
+ # YourApp/1.0.0 grpc-java-okhttp/1.27.2
47
+ #
48
+ #
49
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::USER_AGENT::USER_AGENT_ORIGINAL}.
50
+ USER_AGENT_ORIGINAL = 'user_agent.original'
51
+
52
+ # Human readable operating system name.
53
+ #
54
+ # For mapping user agent strings to OS names, libraries such as [ua-parser](https://github.com/ua-parser) can be utilized.
55
+ #
56
+ # @note Stability Level: development
57
+ #
58
+ # @example Sample Values
59
+ # iOS
60
+ # Android
61
+ # Ubuntu
62
+ #
63
+ USER_AGENT_OS_NAME = 'user_agent.os.name'
64
+
65
+ # The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes).
66
+ #
67
+ # For mapping user agent strings to OS versions, libraries such as [ua-parser](https://github.com/ua-parser) can be utilized.
68
+ #
69
+ # @note Stability Level: development
70
+ #
71
+ # @example Sample Values
72
+ # 14.2.1
73
+ # 18.04.1
74
+ #
75
+ USER_AGENT_OS_VERSION = 'user_agent.os.version'
76
+
77
+ # Specifies the category of synthetic traffic, such as tests or bots.
78
+ #
79
+ # This attribute MAY be derived from the contents of the `user_agent.original` attribute. Components that populate the attribute are responsible for determining what they consider to be synthetic bot or test traffic. This attribute can either be set for self-identification purposes, or on telemetry detected to be generated as a result of a synthetic request. This attribute is useful for distinguishing between genuine client traffic and synthetic traffic generated by bots or tests.
80
+ #
81
+ # @note Stability Level: development
82
+ USER_AGENT_SYNTHETIC_TYPE = 'user_agent.synthetic.type'
83
+
84
+ # Version of the user-agent extracted from original. Usually refers to the browser's version
85
+ #
86
+ # [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version SHOULD be selected. In such a scenario it should align with `user_agent.name`
87
+ #
88
+ # @note Stability Level: development
89
+ #
90
+ # @example Sample Values
91
+ # 14.1.2
92
+ # 1.0.0
93
+ #
94
+ USER_AGENT_VERSION = 'user_agent.version'
95
+
96
+ # @!endgroup
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,21 @@
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 'user_agent/attributes'
@@ -0,0 +1,43 @@
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 Incubating
24
+ module V8JS
25
+ # @!group Attribute Names
26
+
27
+ # The type of garbage collection.
28
+ #
29
+ # @note Stability Level: development
30
+ V8JS_GC_TYPE = 'v8js.gc.type'
31
+
32
+ # The name of the space type of heap memory.
33
+ #
34
+ # Value can be retrieved from value `space_name` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
35
+ #
36
+ # @note Stability Level: development
37
+ V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name'
38
+
39
+ # @!endgroup
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,66 @@
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 Incubating
24
+ module V8JS
25
+ # @!group Metrics Names
26
+
27
+ # Garbage collection duration.
28
+ #
29
+ # The values can be retrieved from [`perf_hooks.PerformanceObserver(...).observe({ entryTypes: ['gc'] })`](https://nodejs.org/api/perf_hooks.html#performanceobserverobserveoptions)
30
+ #
31
+ # @note Stability Level: development
32
+ V8JS_GC_DURATION = 'v8js.gc.duration'
33
+
34
+ # Heap space available size.
35
+ #
36
+ # Value can be retrieved from value `space_available_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
37
+ #
38
+ # @note Stability Level: development
39
+ V8JS_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.heap.space.available_size'
40
+
41
+ # Committed size of a heap space.
42
+ #
43
+ # Value can be retrieved from value `physical_space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
44
+ #
45
+ # @note Stability Level: development
46
+ V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_size'
47
+
48
+ # Total heap memory size pre-allocated.
49
+ #
50
+ # The value can be retrieved from value `space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
51
+ #
52
+ # @note Stability Level: development
53
+ V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit'
54
+
55
+ # Heap Memory size allocated.
56
+ #
57
+ # The value can be retrieved from value `space_used_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
58
+ #
59
+ # @note Stability Level: development
60
+ V8JS_MEMORY_HEAP_USED = 'v8js.memory.heap.used'
61
+
62
+ # @!endgroup
63
+ end
64
+ end
65
+ end
66
+ 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 'v8js/attributes'
22
+ require_relative 'v8js/metrics'