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,59 @@
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 CLIENT
25
+ # @!group Attribute Names
26
+
27
+ # Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
28
+ #
29
+ # When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available.
30
+ #
31
+ # @note Stability Level: stable
32
+ #
33
+ # @example Sample Values
34
+ # client.example.com
35
+ # 10.1.2.80
36
+ # /tmp/my.sock
37
+ #
38
+ #
39
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CLIENT::CLIENT_ADDRESS}.
40
+ CLIENT_ADDRESS = 'client.address'
41
+
42
+ # Client port number.
43
+ #
44
+ # When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available.
45
+ #
46
+ # @note Stability Level: stable
47
+ #
48
+ # @example Sample Values
49
+ # 65123
50
+ #
51
+ #
52
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CLIENT::CLIENT_PORT}.
53
+ CLIENT_PORT = 'client.port'
54
+
55
+ # @!endgroup
56
+ end
57
+ end
58
+ end
59
+ 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 'client/attributes'
@@ -0,0 +1,105 @@
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 CLOUD
25
+ # @!group Attribute Names
26
+
27
+ # The cloud account ID the resource is assigned to.
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # 111111111111
33
+ # opentelemetry
34
+ #
35
+ CLOUD_ACCOUNT_ID = 'cloud.account.id'
36
+
37
+ # Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
38
+ #
39
+ # Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
40
+ #
41
+ # @note Stability Level: development
42
+ #
43
+ # @example Sample Values
44
+ # us-east-1c
45
+ #
46
+ CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'
47
+
48
+ # The cloud platform in use.
49
+ #
50
+ # The prefix of the service SHOULD match the one specified in `cloud.provider`.
51
+ #
52
+ # @note Stability Level: development
53
+ CLOUD_PLATFORM = 'cloud.platform'
54
+
55
+ # Name of the cloud provider.
56
+ #
57
+ # @note Stability Level: development
58
+ CLOUD_PROVIDER = 'cloud.provider'
59
+
60
+ # The geographical region within a cloud provider. When associated with a resource, this attribute specifies the region where the resource operates. When calling services or APIs deployed on a cloud, this attribute identifies the region where the called destination is deployed.
61
+ #
62
+ # 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/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091).
63
+ #
64
+ # @note Stability Level: development
65
+ #
66
+ # @example Sample Values
67
+ # us-central1
68
+ # us-east-1
69
+ #
70
+ CLOUD_REGION = 'cloud.region'
71
+
72
+ # Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://google.aip.dev/122#full-resource-names) on GCP)
73
+ #
74
+ # On some cloud providers, it may not be possible to determine the full ID at startup,
75
+ # so it may be necessary to set `cloud.resource_id` as a span attribute instead.
76
+ #
77
+ # The exact value to use for `cloud.resource_id` depends on the cloud provider.
78
+ # The following well-known definitions MUST be used if you set this attribute and they apply:
79
+ #
80
+ # - **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
81
+ # Take care not to use the "invoked ARN" directly but replace any
82
+ # [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
83
+ # with the resolved function version, as the same runtime instance may be invocable with
84
+ # multiple different aliases.
85
+ # - **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
86
+ # - **Azure:** The [Fully Qualified Resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
87
+ # *not* the function app, having the form
88
+ # `/subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`.
89
+ # This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share
90
+ # a TracerProvider.
91
+ #
92
+ # @note Stability Level: development
93
+ #
94
+ # @example Sample Values
95
+ # arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function
96
+ # //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID
97
+ # /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>
98
+ #
99
+ CLOUD_RESOURCE_ID = 'cloud.resource_id'
100
+
101
+ # @!endgroup
102
+ end
103
+ end
104
+ end
105
+ 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 'cloud/attributes'
@@ -0,0 +1,80 @@
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 CLOUDEVENTS
25
+ # @!group Attribute Names
26
+
27
+ # The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event.
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # 123e4567-e89b-12d3-a456-426614174000
33
+ # 0001
34
+ #
35
+ CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'
36
+
37
+ # The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened.
38
+ #
39
+ # @note Stability Level: development
40
+ #
41
+ # @example Sample Values
42
+ # https://github.com/cloudevents
43
+ # /cloudevents/spec/pull/123
44
+ # my-service
45
+ #
46
+ CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'
47
+
48
+ # The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses.
49
+ #
50
+ # @note Stability Level: development
51
+ #
52
+ # @example Sample Values
53
+ # 1.0
54
+ #
55
+ CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'
56
+
57
+ # The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source).
58
+ #
59
+ # @note Stability Level: development
60
+ #
61
+ # @example Sample Values
62
+ # mynewfile.jpg
63
+ #
64
+ CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'
65
+
66
+ # The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence.
67
+ #
68
+ # @note Stability Level: development
69
+ #
70
+ # @example Sample Values
71
+ # com.github.pull_request.opened
72
+ # com.example.object.deleted.v2
73
+ #
74
+ CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'
75
+
76
+ # @!endgroup
77
+ end
78
+ end
79
+ end
80
+ 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 'cloudevents/attributes'
@@ -0,0 +1,190 @@
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 CLOUDFOUNDRY
25
+ # @!group Attribute Names
26
+
27
+ # The guid of the application.
28
+ #
29
+ # Application instrumentation should use the value from environment
30
+ # variable `VCAP_APPLICATION.application_id`. This is the same value as
31
+ # reported by `cf app <app-name> --guid`.
32
+ #
33
+ # @note Stability Level: development
34
+ #
35
+ # @example Sample Values
36
+ # 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
37
+ #
38
+ CLOUDFOUNDRY_APP_ID = 'cloudfoundry.app.id'
39
+
40
+ # The index of the application instance. 0 when just one instance is active.
41
+ #
42
+ # CloudFoundry defines the `instance_id` in the [Loggregator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
43
+ # It is used for logs and metrics emitted by CloudFoundry. It is
44
+ # supposed to contain the application instance index for applications
45
+ # deployed on the runtime.
46
+ #
47
+ # Application instrumentation should use the value from environment
48
+ # variable `CF_INSTANCE_INDEX`.
49
+ #
50
+ # @note Stability Level: development
51
+ #
52
+ # @example Sample Values
53
+ # 0
54
+ # 1
55
+ #
56
+ CLOUDFOUNDRY_APP_INSTANCE_ID = 'cloudfoundry.app.instance.id'
57
+
58
+ # The name of the application.
59
+ #
60
+ # Application instrumentation should use the value from environment
61
+ # variable `VCAP_APPLICATION.application_name`. This is the same value
62
+ # as reported by `cf apps`.
63
+ #
64
+ # @note Stability Level: development
65
+ #
66
+ # @example Sample Values
67
+ # my-app-name
68
+ #
69
+ CLOUDFOUNDRY_APP_NAME = 'cloudfoundry.app.name'
70
+
71
+ # The guid of the CloudFoundry org the application is running in.
72
+ #
73
+ # Application instrumentation should use the value from environment
74
+ # variable `VCAP_APPLICATION.org_id`. This is the same value as
75
+ # reported by `cf org <org-name> --guid`.
76
+ #
77
+ # @note Stability Level: development
78
+ #
79
+ # @example Sample Values
80
+ # 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
81
+ #
82
+ CLOUDFOUNDRY_ORG_ID = 'cloudfoundry.org.id'
83
+
84
+ # The name of the CloudFoundry organization the app is running in.
85
+ #
86
+ # Application instrumentation should use the value from environment
87
+ # variable `VCAP_APPLICATION.org_name`. This is the same value as
88
+ # reported by `cf orgs`.
89
+ #
90
+ # @note Stability Level: development
91
+ #
92
+ # @example Sample Values
93
+ # my-org-name
94
+ #
95
+ CLOUDFOUNDRY_ORG_NAME = 'cloudfoundry.org.name'
96
+
97
+ # The UID identifying the process.
98
+ #
99
+ # Application instrumentation should use the value from environment
100
+ # variable `VCAP_APPLICATION.process_id`. It is supposed to be equal to
101
+ # `VCAP_APPLICATION.app_id` for applications deployed to the runtime.
102
+ # For system components, this could be the actual PID.
103
+ #
104
+ # @note Stability Level: development
105
+ #
106
+ # @example Sample Values
107
+ # 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
108
+ #
109
+ CLOUDFOUNDRY_PROCESS_ID = 'cloudfoundry.process.id'
110
+
111
+ # The type of process.
112
+ #
113
+ # CloudFoundry applications can consist of multiple jobs. Usually the
114
+ # main process will be of type `web`. There can be additional background
115
+ # tasks or side-cars with different process types.
116
+ #
117
+ # @note Stability Level: development
118
+ #
119
+ # @example Sample Values
120
+ # web
121
+ #
122
+ CLOUDFOUNDRY_PROCESS_TYPE = 'cloudfoundry.process.type'
123
+
124
+ # The guid of the CloudFoundry space the application is running in.
125
+ #
126
+ # Application instrumentation should use the value from environment
127
+ # variable `VCAP_APPLICATION.space_id`. This is the same value as
128
+ # reported by `cf space <space-name> --guid`.
129
+ #
130
+ # @note Stability Level: development
131
+ #
132
+ # @example Sample Values
133
+ # 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
134
+ #
135
+ CLOUDFOUNDRY_SPACE_ID = 'cloudfoundry.space.id'
136
+
137
+ # The name of the CloudFoundry space the application is running in.
138
+ #
139
+ # Application instrumentation should use the value from environment
140
+ # variable `VCAP_APPLICATION.space_name`. This is the same value as
141
+ # reported by `cf spaces`.
142
+ #
143
+ # @note Stability Level: development
144
+ #
145
+ # @example Sample Values
146
+ # my-space-name
147
+ #
148
+ CLOUDFOUNDRY_SPACE_NAME = 'cloudfoundry.space.name'
149
+
150
+ # A guid or another name describing the event source.
151
+ #
152
+ # CloudFoundry defines the `source_id` in the [Loggregator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
153
+ # It is used for logs and metrics emitted by CloudFoundry. It is
154
+ # supposed to contain the component name, e.g. "gorouter", for
155
+ # CloudFoundry components.
156
+ #
157
+ # When system components are instrumented, values from the
158
+ # [Bosh spec](https://bosh.io/docs/jobs/#properties-spec)
159
+ # should be used. The `system.id` should be set to
160
+ # `spec.deployment/spec.name`.
161
+ #
162
+ # @note Stability Level: development
163
+ #
164
+ # @example Sample Values
165
+ # cf/gorouter
166
+ #
167
+ CLOUDFOUNDRY_SYSTEM_ID = 'cloudfoundry.system.id'
168
+
169
+ # A guid describing the concrete instance of the event source.
170
+ #
171
+ # CloudFoundry defines the `instance_id` in the [Loggregator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
172
+ # It is used for logs and metrics emitted by CloudFoundry. It is
173
+ # supposed to contain the vm id for CloudFoundry components.
174
+ #
175
+ # When system components are instrumented, values from the
176
+ # [Bosh spec](https://bosh.io/docs/jobs/#properties-spec)
177
+ # should be used. The `system.instance.id` should be set to `spec.id`.
178
+ #
179
+ # @note Stability Level: development
180
+ #
181
+ # @example Sample Values
182
+ # 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
183
+ #
184
+ CLOUDFOUNDRY_SYSTEM_INSTANCE_ID = 'cloudfoundry.system.instance.id'
185
+
186
+ # @!endgroup
187
+ end
188
+ end
189
+ end
190
+ 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 'cloudfoundry/attributes'
@@ -0,0 +1,155 @@
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 CODE
25
+ # @!group Attribute Names
26
+
27
+ # Deprecated, use `code.column.number`
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # 16
33
+ #
34
+ # @deprecated {"note": "Replaced by `code.column.number`.", "reason": "renamed", "renamed_to": "code.column.number"}
35
+ CODE_COLUMN = 'code.column'
36
+
37
+ # The column number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Line'. This constraint is imposed to prevent redundancy and maintain data integrity.
38
+ #
39
+ # @note Stability Level: stable
40
+ #
41
+ # @example Sample Values
42
+ # 16
43
+ #
44
+ #
45
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CODE::CODE_COLUMN_NUMBER}.
46
+ CODE_COLUMN_NUMBER = 'code.column.number'
47
+
48
+ # The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.
49
+ #
50
+ # @note Stability Level: stable
51
+ #
52
+ # @example Sample Values
53
+ # /usr/local/MyApplication/content_root/app/index.php
54
+ #
55
+ #
56
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CODE::CODE_FILE_PATH}.
57
+ CODE_FILE_PATH = 'code.file.path'
58
+
59
+ # Deprecated, use `code.file.path` instead
60
+ #
61
+ # @note Stability Level: development
62
+ #
63
+ # @example Sample Values
64
+ # /usr/local/MyApplication/content_root/app/index.php
65
+ #
66
+ # @deprecated {"note": "Replaced by `code.file.path`.", "reason": "renamed", "renamed_to": "code.file.path"}
67
+ CODE_FILEPATH = 'code.filepath'
68
+
69
+ # Deprecated, use `code.function.name` instead
70
+ #
71
+ # @note Stability Level: development
72
+ #
73
+ # @example Sample Values
74
+ # serveRequest
75
+ #
76
+ # @deprecated {"note": "Value should be included in `code.function.name` which is expected to be a fully-qualified name.\n", "reason": "uncategorized"}
77
+ CODE_FUNCTION = 'code.function'
78
+
79
+ # The method or function fully-qualified name without arguments. The value should fit the natural representation of the language runtime, which is also likely the same used within `code.stacktrace` attribute value. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Function'. This constraint is imposed to prevent redundancy and maintain data integrity.
80
+ #
81
+ # Values and format depends on each language runtime, thus it is impossible to provide an exhaustive list of examples.
82
+ # The values are usually the same (or prefixes of) the ones found in native stack trace representation stored in
83
+ # `code.stacktrace` without information on arguments.
84
+ #
85
+ # Examples:
86
+ #
87
+ # - Java method: `com.example.MyHttpService.serveRequest`
88
+ # - Java anonymous class method: `com.mycompany.Main$1.myMethod`
89
+ # - Java lambda method: `com.mycompany.Main$$Lambda/0x0000748ae4149c00.myMethod`
90
+ # - PHP function: `GuzzleHttp\Client::transfer`
91
+ # - Go function: `github.com/my/repo/pkg.foo.func5`
92
+ # - Elixir: `OpenTelemetry.Ctx.new`
93
+ # - Erlang: `opentelemetry_ctx:new`
94
+ # - Rust: `playground::my_module::my_cool_func`
95
+ # - C function: `fopen`
96
+ #
97
+ # @note Stability Level: stable
98
+ #
99
+ # @example Sample Values
100
+ # com.example.MyHttpService.serveRequest
101
+ # GuzzleHttp\Client::transfer
102
+ # fopen
103
+ #
104
+ #
105
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CODE::CODE_FUNCTION_NAME}.
106
+ CODE_FUNCTION_NAME = 'code.function.name'
107
+
108
+ # The line number in `code.file.path` best representing the operation. It SHOULD point within the code unit named in `code.function.name`. This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Line'. This constraint is imposed to prevent redundancy and maintain data integrity.
109
+ #
110
+ # @note Stability Level: stable
111
+ #
112
+ # @example Sample Values
113
+ # 42
114
+ #
115
+ #
116
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CODE::CODE_LINE_NUMBER}.
117
+ CODE_LINE_NUMBER = 'code.line.number'
118
+
119
+ # Deprecated, use `code.line.number` instead
120
+ #
121
+ # @note Stability Level: development
122
+ #
123
+ # @example Sample Values
124
+ # 42
125
+ #
126
+ # @deprecated {"note": "Replaced by `code.line.number`.", "reason": "renamed", "renamed_to": "code.line.number"}
127
+ CODE_LINENO = 'code.lineno'
128
+
129
+ # Deprecated, namespace is now included into `code.function.name`
130
+ #
131
+ # @note Stability Level: development
132
+ #
133
+ # @example Sample Values
134
+ # com.example.MyHttpService
135
+ #
136
+ # @deprecated {"note": "Value should be included in `code.function.name` which is expected to be a fully-qualified name.\n", "reason": "uncategorized"}
137
+ CODE_NAMESPACE = 'code.namespace'
138
+
139
+ # A stacktrace as a string in the natural representation for the language runtime. The representation is identical to [`exception.stacktrace`](/docs/exceptions/exceptions-spans.md#stacktrace-representation). This attribute MUST NOT be used on the Profile signal since the data is already captured in 'message Location'. This constraint is imposed to prevent redundancy and maintain data integrity.
140
+ #
141
+ # @note Stability Level: stable
142
+ #
143
+ # @example Sample Values
144
+ # at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at com.example.GenerateTrace.main(GenerateTrace.java:5)
145
+
146
+ #
147
+ #
148
+ # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::CODE::CODE_STACKTRACE}.
149
+ CODE_STACKTRACE = 'code.stacktrace'
150
+
151
+ # @!endgroup
152
+ end
153
+ end
154
+ end
155
+ end