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,40 @@
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 DOTNET
24
+ # @!group Attribute Names
25
+
26
+ # Name of the garbage collector managed heap generation.
27
+ #
28
+ # @note Stability Level: stable
29
+ #
30
+ # @example Sample Values
31
+ # gen0
32
+ # gen1
33
+ # gen2
34
+ #
35
+ DOTNET_GC_HEAP_GENERATION = 'dotnet.gc.heap.generation'
36
+
37
+ # @!endgroup
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,181 @@
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 DOTNET
24
+ # @!group Metrics Names
25
+
26
+ # The number of .NET assemblies that are currently loaded.
27
+ #
28
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
29
+ # This metric reports the same values as calling [`AppDomain.CurrentDomain.GetAssemblies().Length`](https://learn.microsoft.com/dotnet/api/system.appdomain.getassemblies).
30
+ #
31
+ # @note Stability Level: stable
32
+ DOTNET_ASSEMBLY_COUNT = 'dotnet.assembly.count'
33
+
34
+ # The number of exceptions that have been thrown in managed code.
35
+ #
36
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
37
+ # This metric reports the same values as counting calls to [`AppDomain.CurrentDomain.FirstChanceException`](https://learn.microsoft.com/dotnet/api/system.appdomain.firstchanceexception).
38
+ #
39
+ # @note Stability Level: stable
40
+ DOTNET_EXCEPTIONS = 'dotnet.exceptions'
41
+
42
+ # The number of garbage collections that have occurred since the process has started.
43
+ #
44
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
45
+ # This metric uses the [`GC.CollectionCount(int generation)`](https://learn.microsoft.com/dotnet/api/system.gc.collectioncount) API to calculate exclusive collections per generation.
46
+ #
47
+ # @note Stability Level: stable
48
+ DOTNET_GC_COLLECTIONS = 'dotnet.gc.collections'
49
+
50
+ # The *approximate* number of bytes allocated on the managed GC heap since the process has started. The returned value does not include any native allocations.
51
+ #
52
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
53
+ # This metric reports the same values as calling [`GC.GetTotalAllocatedBytes()`](https://learn.microsoft.com/dotnet/api/system.gc.gettotalallocatedbytes).
54
+ #
55
+ # @note Stability Level: stable
56
+ DOTNET_GC_HEAP_TOTAL_ALLOCATED = 'dotnet.gc.heap.total_allocated'
57
+
58
+ # The heap fragmentation, as observed during the latest garbage collection.
59
+ #
60
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
61
+ # This metric reports the same values as calling [`GC.GetGCMemoryInfo().GenerationInfo.FragmentationAfterBytes`](https://learn.microsoft.com/dotnet/api/system.gcgenerationinfo.fragmentationafterbytes).
62
+ #
63
+ # @note Stability Level: stable
64
+ DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE = 'dotnet.gc.last_collection.heap.fragmentation.size'
65
+
66
+ # The managed GC heap size (including fragmentation), as observed during the latest garbage collection.
67
+ #
68
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
69
+ # This metric reports the same values as calling [`GC.GetGCMemoryInfo().GenerationInfo.SizeAfterBytes`](https://learn.microsoft.com/dotnet/api/system.gcgenerationinfo.sizeafterbytes).
70
+ #
71
+ # @note Stability Level: stable
72
+ DOTNET_GC_LAST_COLLECTION_HEAP_SIZE = 'dotnet.gc.last_collection.heap.size'
73
+
74
+ # The amount of committed virtual memory in use by the .NET GC, as observed during the latest garbage collection.
75
+ #
76
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
77
+ # This metric reports the same values as calling [`GC.GetGCMemoryInfo().TotalCommittedBytes`](https://learn.microsoft.com/dotnet/api/system.gcmemoryinfo.totalcommittedbytes). Committed virtual memory may be larger than the heap size because it includes both memory for storing existing objects (the heap size) and some extra memory that is ready to handle newly allocated objects in the future.
78
+ #
79
+ # @note Stability Level: stable
80
+ DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE = 'dotnet.gc.last_collection.memory.committed_size'
81
+
82
+ # The total amount of time paused in GC since the process has started.
83
+ #
84
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
85
+ # This metric reports the same values as calling [`GC.GetTotalPauseDuration()`](https://learn.microsoft.com/dotnet/api/system.gc.gettotalpauseduration).
86
+ #
87
+ # @note Stability Level: stable
88
+ DOTNET_GC_PAUSE_TIME = 'dotnet.gc.pause.time'
89
+
90
+ # The amount of time the JIT compiler has spent compiling methods since the process has started.
91
+ #
92
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
93
+ # This metric reports the same values as calling [`JitInfo.GetCompilationTime()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompilationtime).
94
+ #
95
+ # @note Stability Level: stable
96
+ DOTNET_JIT_COMPILATION_TIME = 'dotnet.jit.compilation.time'
97
+
98
+ # Count of bytes of intermediate language that have been compiled since the process has started.
99
+ #
100
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
101
+ # This metric reports the same values as calling [`JitInfo.GetCompiledILBytes()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompiledilbytes).
102
+ #
103
+ # @note Stability Level: stable
104
+ DOTNET_JIT_COMPILED_IL_SIZE = 'dotnet.jit.compiled_il.size'
105
+
106
+ # The number of times the JIT compiler (re)compiled methods since the process has started.
107
+ #
108
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
109
+ # This metric reports the same values as calling [`JitInfo.GetCompiledMethodCount()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompiledmethodcount).
110
+ #
111
+ # @note Stability Level: stable
112
+ DOTNET_JIT_COMPILED_METHODS = 'dotnet.jit.compiled_methods'
113
+
114
+ # The number of times there was contention when trying to acquire a monitor lock since the process has started.
115
+ #
116
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
117
+ # This metric reports the same values as calling [`Monitor.LockContentionCount`](https://learn.microsoft.com/dotnet/api/system.threading.monitor.lockcontentioncount).
118
+ #
119
+ # @note Stability Level: stable
120
+ DOTNET_MONITOR_LOCK_CONTENTIONS = 'dotnet.monitor.lock_contentions'
121
+
122
+ # The number of processors available to the process.
123
+ #
124
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
125
+ # This metric reports the same values as accessing [`Environment.ProcessorCount`](https://learn.microsoft.com/dotnet/api/system.environment.processorcount).
126
+ #
127
+ # @note Stability Level: stable
128
+ DOTNET_PROCESS_CPU_COUNT = 'dotnet.process.cpu.count'
129
+
130
+ # CPU time used by the process.
131
+ #
132
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
133
+ # This metric reports the same values as accessing the corresponding processor time properties on [`System.Diagnostics.Process`](https://learn.microsoft.com/dotnet/api/system.diagnostics.process).
134
+ #
135
+ # @note Stability Level: stable
136
+ DOTNET_PROCESS_CPU_TIME = 'dotnet.process.cpu.time'
137
+
138
+ # The number of bytes of physical memory mapped to the process context.
139
+ #
140
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
141
+ # This metric reports the same values as calling [`Environment.WorkingSet`](https://learn.microsoft.com/dotnet/api/system.environment.workingset).
142
+ #
143
+ # @note Stability Level: stable
144
+ DOTNET_PROCESS_MEMORY_WORKING_SET = 'dotnet.process.memory.working_set'
145
+
146
+ # The number of work items that are currently queued to be processed by the thread pool.
147
+ #
148
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
149
+ # This metric reports the same values as calling [`ThreadPool.PendingWorkItemCount`](https://learn.microsoft.com/dotnet/api/system.threading.threadpool.pendingworkitemcount).
150
+ #
151
+ # @note Stability Level: stable
152
+ DOTNET_THREAD_POOL_QUEUE_LENGTH = 'dotnet.thread_pool.queue.length'
153
+
154
+ # The number of thread pool threads that currently exist.
155
+ #
156
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
157
+ # This metric reports the same values as calling [`ThreadPool.ThreadCount`](https://learn.microsoft.com/dotnet/api/system.threading.threadpool.threadcount).
158
+ #
159
+ # @note Stability Level: stable
160
+ DOTNET_THREAD_POOL_THREAD_COUNT = 'dotnet.thread_pool.thread.count'
161
+
162
+ # The number of work items that the thread pool has completed since the process has started.
163
+ #
164
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
165
+ # This metric reports the same values as calling [`ThreadPool.CompletedWorkItemCount`](https://learn.microsoft.com/dotnet/api/system.threading.threadpool.completedworkitemcount).
166
+ #
167
+ # @note Stability Level: stable
168
+ DOTNET_THREAD_POOL_WORK_ITEM_COUNT = 'dotnet.thread_pool.work_item.count'
169
+
170
+ # The number of timer instances that are currently active.
171
+ #
172
+ # Meter name: `System.Runtime`; Added in: .NET 9.0.
173
+ # This metric reports the same values as calling [`Timer.ActiveCount`](https://learn.microsoft.com/dotnet/api/system.threading.timer.activecount).
174
+ #
175
+ # @note Stability Level: stable
176
+ DOTNET_TIMER_COUNT = 'dotnet.timer.count'
177
+
178
+ # @!endgroup
179
+ end
180
+ end
181
+ 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 'dotnet/attributes'
22
+ require_relative 'dotnet/metrics'
@@ -0,0 +1,61 @@
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 ERROR
24
+ # @!group Attribute Names
25
+
26
+ # Describes a class of error the operation ended with.
27
+ #
28
+ # The `error.type` SHOULD be predictable, and SHOULD have low cardinality.
29
+ #
30
+ # When `error.type` is set to a type (e.g., an exception type), its
31
+ # canonical class name identifying the type within the artifact SHOULD be used.
32
+ #
33
+ # Instrumentations SHOULD document the list of errors they report.
34
+ #
35
+ # The cardinality of `error.type` within one instrumentation library SHOULD be low.
36
+ # Telemetry consumers that aggregate data from multiple instrumentation libraries and applications
37
+ # should be prepared for `error.type` to have high cardinality at query time when no
38
+ # additional filters are applied.
39
+ #
40
+ # If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`.
41
+ #
42
+ # If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes),
43
+ # it's RECOMMENDED to:
44
+ #
45
+ # - Use a domain-specific attribute
46
+ # - Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not.
47
+ #
48
+ # @note Stability Level: stable
49
+ #
50
+ # @example Sample Values
51
+ # timeout
52
+ # java.net.UnknownHostException
53
+ # server_certificate_invalid
54
+ # 500
55
+ #
56
+ ERROR_TYPE = 'error.type'
57
+
58
+ # @!endgroup
59
+ end
60
+ end
61
+ 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 'error/attributes'
@@ -0,0 +1,64 @@
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 EXCEPTION
24
+ # @!group Attribute Names
25
+
26
+ # Indicates that the exception is escaping the scope of the span.
27
+ #
28
+ # @note Stability Level: stable
29
+ # @deprecated {"note": "It's no longer recommended to record exceptions that are handled and do not escape the scope of a span.\n", "reason": "obsoleted"}
30
+ EXCEPTION_ESCAPED = 'exception.escaped'
31
+
32
+ # The exception message.
33
+ #
34
+ # @note Stability Level: stable
35
+ #
36
+ # @example Sample Values
37
+ # Division by zero
38
+ # Can't convert 'int' object to str implicitly
39
+ #
40
+ EXCEPTION_MESSAGE = 'exception.message'
41
+
42
+ # A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
43
+ #
44
+ # @note Stability Level: stable
45
+ #
46
+ # @example Sample Values
47
+ # Exception in thread "main" java.lang.RuntimeException: Test exception\n 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)
48
+
49
+ EXCEPTION_STACKTRACE = 'exception.stacktrace'
50
+
51
+ # The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.
52
+ #
53
+ # @note Stability Level: stable
54
+ #
55
+ # @example Sample Values
56
+ # java.net.ConnectException
57
+ # OSError
58
+ #
59
+ EXCEPTION_TYPE = 'exception.type'
60
+
61
+ # @!endgroup
62
+ end
63
+ end
64
+ 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 'exception/attributes'
@@ -0,0 +1,164 @@
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 HTTP
24
+ # @!group Attribute Names
25
+
26
+ # Must be called with a key for the full attribute name. See notes below about the expectations
27
+ # for the state of the key.
28
+ #
29
+ # @example Usage
30
+ # HTTP_REQUEST_HEADER_LAMBDA.call('some-cool-key') #=> 'http.request.header.some-cool-key'
31
+ #
32
+ # HTTP request headers, `<key>` being the normalized HTTP Header name (lowercase), the value being the header values.
33
+ #
34
+ # Instrumentations SHOULD require an explicit configuration of which headers are to be captured.
35
+ # Including all request headers can be a security risk - explicit configuration helps avoid leaking sensitive information.
36
+ #
37
+ # The `User-Agent` header is already captured in the `user_agent.original` attribute.
38
+ # Users MAY explicitly configure instrumentations to capture them even though it is not recommended.
39
+ #
40
+ # The attribute value MUST consist of either multiple header values as an array of strings
41
+ # or a single-item array containing a possibly comma-concatenated string, depending on the way
42
+ # the HTTP library provides access to headers.
43
+ #
44
+ # Examples:
45
+ #
46
+ # - A header `Content-Type: application/json` SHOULD be recorded as the `http.request.header.content-type`
47
+ # attribute with value `["application/json"]`.
48
+ # - A header `X-Forwarded-For: 1.2.3.4, 1.2.3.5` SHOULD be recorded as the `http.request.header.x-forwarded-for`
49
+ # attribute with value `["1.2.3.4", "1.2.3.5"]` or `["1.2.3.4, 1.2.3.5"]` depending on the HTTP library.
50
+ #
51
+ # @note Stability Level: stable
52
+ #
53
+ # @example Sample Values
54
+ # ["application/json"]
55
+ # ["1.2.3.4", "1.2.3.5"]
56
+ #
57
+ HTTP_REQUEST_HEADER_LAMBDA = ->(key) { "http.request.header.#{key}" }
58
+
59
+ # HTTP request method.
60
+ #
61
+ # HTTP request method value SHOULD be "known" to the instrumentation.
62
+ # By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods)
63
+ # and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html).
64
+ #
65
+ # If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`.
66
+ #
67
+ # If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override
68
+ # the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named
69
+ # OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods
70
+ # (this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults).
71
+ #
72
+ # HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly.
73
+ # Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent.
74
+ # Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value.
75
+ #
76
+ # @note Stability Level: stable
77
+ #
78
+ # @example Sample Values
79
+ # GET
80
+ # POST
81
+ # HEAD
82
+ #
83
+ HTTP_REQUEST_METHOD = 'http.request.method'
84
+
85
+ # Original HTTP method sent by the client in the request line.
86
+ #
87
+ # @note Stability Level: stable
88
+ #
89
+ # @example Sample Values
90
+ # GeT
91
+ # ACL
92
+ # foo
93
+ #
94
+ HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'
95
+
96
+ # The ordinal number of request resending attempt (for any reason, including redirects).
97
+ #
98
+ # The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other).
99
+ #
100
+ # @note Stability Level: stable
101
+ #
102
+ # @example Sample Values
103
+ # 3
104
+ #
105
+ HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'
106
+
107
+ # Must be called with a key for the full attribute name. See notes below about the expectations
108
+ # for the state of the key.
109
+ #
110
+ # @example Usage
111
+ # HTTP_RESPONSE_HEADER_LAMBDA.call('some-cool-key') #=> 'http.response.header.some-cool-key'
112
+ #
113
+ # HTTP response headers, `<key>` being the normalized HTTP Header name (lowercase), the value being the header values.
114
+ #
115
+ # Instrumentations SHOULD require an explicit configuration of which headers are to be captured.
116
+ # Including all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information.
117
+ #
118
+ # Users MAY explicitly configure instrumentations to capture them even though it is not recommended.
119
+ #
120
+ # The attribute value MUST consist of either multiple header values as an array of strings
121
+ # or a single-item array containing a possibly comma-concatenated string, depending on the way
122
+ # the HTTP library provides access to headers.
123
+ #
124
+ # Examples:
125
+ #
126
+ # - A header `Content-Type: application/json` header SHOULD be recorded as the `http.request.response.content-type`
127
+ # attribute with value `["application/json"]`.
128
+ # - A header `My-custom-header: abc, def` header SHOULD be recorded as the `http.response.header.my-custom-header`
129
+ # attribute with value `["abc", "def"]` or `["abc, def"]` depending on the HTTP library.
130
+ #
131
+ # @note Stability Level: stable
132
+ #
133
+ # @example Sample Values
134
+ # ["application/json"]
135
+ # ["abc", "def"]
136
+ #
137
+ HTTP_RESPONSE_HEADER_LAMBDA = ->(key) { "http.response.header.#{key}" }
138
+
139
+ # [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6).
140
+ #
141
+ # @note Stability Level: stable
142
+ #
143
+ # @example Sample Values
144
+ # 200
145
+ #
146
+ HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'
147
+
148
+ # The matched route, that is, the path template in the format used by the respective server framework.
149
+ #
150
+ # MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it.
151
+ # SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one.
152
+ #
153
+ # @note Stability Level: stable
154
+ #
155
+ # @example Sample Values
156
+ # /users/:userID?
157
+ # {controller}/{action}/{id?}
158
+ #
159
+ HTTP_ROUTE = 'http.route'
160
+
161
+ # @!endgroup
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,39 @@
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 HTTP
24
+ # @!group Metrics Names
25
+
26
+ # Duration of HTTP client requests.
27
+ #
28
+ # @note Stability Level: stable
29
+ HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration'
30
+
31
+ # Duration of HTTP server requests.
32
+ #
33
+ # @note Stability Level: stable
34
+ HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration'
35
+
36
+ # @!endgroup
37
+ end
38
+ end
39
+ 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 'http/attributes'
22
+ require_relative 'http/metrics'