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,303 @@
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 VCS
25
+ # @!group Attribute Names
26
+
27
+ # The ID of the change (pull request/merge request/changelist) if applicable. This is usually a unique (within repository) identifier generated by the VCS system.
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # 123
33
+ #
34
+ VCS_CHANGE_ID = 'vcs.change.id'
35
+
36
+ # The state of the change (pull request/merge request/changelist).
37
+ #
38
+ # @note Stability Level: development
39
+ #
40
+ # @example Sample Values
41
+ # open
42
+ # closed
43
+ # merged
44
+ #
45
+ VCS_CHANGE_STATE = 'vcs.change.state'
46
+
47
+ # The human readable title of the change (pull request/merge request/changelist). This title is often a brief summary of the change and may get merged in to a ref as the commit summary.
48
+ #
49
+ # @note Stability Level: development
50
+ #
51
+ # @example Sample Values
52
+ # Fixes broken thing
53
+ # feat: add my new feature
54
+ # [chore] update dependency
55
+ #
56
+ VCS_CHANGE_TITLE = 'vcs.change.title'
57
+
58
+ # The type of line change being measured on a branch or change.
59
+ #
60
+ # @note Stability Level: development
61
+ #
62
+ # @example Sample Values
63
+ # added
64
+ # removed
65
+ #
66
+ VCS_LINE_CHANGE_TYPE = 'vcs.line_change.type'
67
+
68
+ # The group owner within the version control system.
69
+ #
70
+ # @note Stability Level: development
71
+ #
72
+ # @example Sample Values
73
+ # my-org
74
+ # myteam
75
+ # business-unit
76
+ #
77
+ VCS_OWNER_NAME = 'vcs.owner.name'
78
+
79
+ # The name of the version control system provider.
80
+ #
81
+ # @note Stability Level: development
82
+ #
83
+ # @example Sample Values
84
+ # github
85
+ # gitlab
86
+ # gitea
87
+ # bitbucket
88
+ #
89
+ VCS_PROVIDER_NAME = 'vcs.provider.name'
90
+
91
+ # The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository.
92
+ #
93
+ # `base` refers to the starting point of a change. For example, `main`
94
+ # would be the base reference of type branch if you've created a new
95
+ # reference of type branch from it and created new commits.
96
+ #
97
+ # @note Stability Level: development
98
+ #
99
+ # @example Sample Values
100
+ # my-feature-branch
101
+ # tag-1-test
102
+ #
103
+ VCS_REF_BASE_NAME = 'vcs.ref.base.name'
104
+
105
+ # The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN.
106
+ #
107
+ # `base` refers to the starting point of a change. For example, `main`
108
+ # would be the base reference of type branch if you've created a new
109
+ # reference of type branch from it and created new commits. The
110
+ # revision can be a full [hash value (see
111
+ # glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf),
112
+ # of the recorded change to a ref within a repository pointing to a
113
+ # commit [commit](https://git-scm.com/docs/git-commit) object. It does
114
+ # not necessarily have to be a hash; it can simply define a [revision
115
+ # number](https://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html)
116
+ # which is an integer that is monotonically increasing. In cases where
117
+ # it is identical to the `ref.base.name`, it SHOULD still be included.
118
+ # It is up to the implementer to decide which value to set as the
119
+ # revision based on the VCS system and situational context.
120
+ #
121
+ # @note Stability Level: development
122
+ #
123
+ # @example Sample Values
124
+ # 9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc
125
+ # main
126
+ # 123
127
+ # HEAD
128
+ #
129
+ VCS_REF_BASE_REVISION = 'vcs.ref.base.revision'
130
+
131
+ # The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository.
132
+ #
133
+ # `base` refers to the starting point of a change. For example, `main`
134
+ # would be the base reference of type branch if you've created a new
135
+ # reference of type branch from it and created new commits.
136
+ #
137
+ # @note Stability Level: development
138
+ #
139
+ # @example Sample Values
140
+ # branch
141
+ # tag
142
+ #
143
+ VCS_REF_BASE_TYPE = 'vcs.ref.base.type'
144
+
145
+ # The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository.
146
+ #
147
+ # `head` refers to where you are right now; the current reference at a
148
+ # given time.
149
+ #
150
+ # @note Stability Level: development
151
+ #
152
+ # @example Sample Values
153
+ # my-feature-branch
154
+ # tag-1-test
155
+ #
156
+ VCS_REF_HEAD_NAME = 'vcs.ref.head.name'
157
+
158
+ # The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN.
159
+ #
160
+ # `head` refers to where you are right now; the current reference at a
161
+ # given time.The revision can be a full [hash value (see
162
+ # glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf),
163
+ # of the recorded change to a ref within a repository pointing to a
164
+ # commit [commit](https://git-scm.com/docs/git-commit) object. It does
165
+ # not necessarily have to be a hash; it can simply define a [revision
166
+ # number](https://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html)
167
+ # which is an integer that is monotonically increasing. In cases where
168
+ # it is identical to the `ref.head.name`, it SHOULD still be included.
169
+ # It is up to the implementer to decide which value to set as the
170
+ # revision based on the VCS system and situational context.
171
+ #
172
+ # @note Stability Level: development
173
+ #
174
+ # @example Sample Values
175
+ # 9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc
176
+ # main
177
+ # 123
178
+ # HEAD
179
+ #
180
+ VCS_REF_HEAD_REVISION = 'vcs.ref.head.revision'
181
+
182
+ # The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository.
183
+ #
184
+ # `head` refers to where you are right now; the current reference at a
185
+ # given time.
186
+ #
187
+ # @note Stability Level: development
188
+ #
189
+ # @example Sample Values
190
+ # branch
191
+ # tag
192
+ #
193
+ VCS_REF_HEAD_TYPE = 'vcs.ref.head.type'
194
+
195
+ # The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository.
196
+ #
197
+ # @note Stability Level: development
198
+ #
199
+ # @example Sample Values
200
+ # branch
201
+ # tag
202
+ #
203
+ VCS_REF_TYPE = 'vcs.ref.type'
204
+
205
+ # Deprecated, use `vcs.change.id` instead.
206
+ #
207
+ # @note Stability Level: development
208
+ #
209
+ # @example Sample Values
210
+ # 123
211
+ #
212
+ # @deprecated {"note": "Replaced by `vcs.change.id`.", "reason": "renamed", "renamed_to": "vcs.change.id"}
213
+ VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id'
214
+
215
+ # Deprecated, use `vcs.change.title` instead.
216
+ #
217
+ # @note Stability Level: development
218
+ #
219
+ # @example Sample Values
220
+ # Fixes broken thing
221
+ # feat: add my new feature
222
+ # [chore] update dependency
223
+ #
224
+ # @deprecated {"note": "Replaced by `vcs.change.title`.", "reason": "renamed", "renamed_to": "vcs.change.title"}
225
+ VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title'
226
+
227
+ # The human readable name of the repository. It SHOULD NOT include any additional identifier like Group/SubGroup in GitLab or organization in GitHub.
228
+ #
229
+ # Due to it only being the name, it can clash with forks of the same
230
+ # repository if collecting telemetry across multiple orgs or groups in
231
+ # the same backends.
232
+ #
233
+ # @note Stability Level: development
234
+ #
235
+ # @example Sample Values
236
+ # semantic-conventions
237
+ # my-cool-repo
238
+ #
239
+ VCS_REPOSITORY_NAME = 'vcs.repository.name'
240
+
241
+ # Deprecated, use `vcs.ref.head.name` instead.
242
+ #
243
+ # @note Stability Level: development
244
+ #
245
+ # @example Sample Values
246
+ # my-feature-branch
247
+ # tag-1-test
248
+ #
249
+ # @deprecated {"note": "Replaced by `vcs.ref.head.name`.", "reason": "renamed", "renamed_to": "vcs.ref.head.name"}
250
+ VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name'
251
+
252
+ # Deprecated, use `vcs.ref.head.revision` instead.
253
+ #
254
+ # @note Stability Level: development
255
+ #
256
+ # @example Sample Values
257
+ # 9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc
258
+ # main
259
+ # 123
260
+ # HEAD
261
+ #
262
+ # @deprecated {"note": "Replaced by `vcs.ref.head.revision`.", "reason": "renamed", "renamed_to": "vcs.ref.head.revision"}
263
+ VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision'
264
+
265
+ # Deprecated, use `vcs.ref.head.type` instead.
266
+ #
267
+ # @note Stability Level: development
268
+ #
269
+ # @example Sample Values
270
+ # branch
271
+ # tag
272
+ #
273
+ # @deprecated {"note": "Replaced by `vcs.ref.head.type`.", "reason": "renamed", "renamed_to": "vcs.ref.head.type"}
274
+ VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type'
275
+
276
+ # The [canonical URL](https://support.google.com/webmasters/answer/10347851?hl=en#:~:text=A%20canonical%20URL%20is%20the,Google%20chooses%20one%20as%20canonical.) of the repository providing the complete HTTP(S) address in order to locate and identify the repository through a browser.
277
+ #
278
+ # In Git Version Control Systems, the canonical URL SHOULD NOT include
279
+ # the `.git` extension.
280
+ #
281
+ # @note Stability Level: development
282
+ #
283
+ # @example Sample Values
284
+ # https://github.com/opentelemetry/open-telemetry-collector-contrib
285
+ # https://gitlab.com/my-org/my-project/my-projects-project/repo
286
+ #
287
+ VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full'
288
+
289
+ # The type of revision comparison.
290
+ #
291
+ # @note Stability Level: development
292
+ #
293
+ # @example Sample Values
294
+ # ahead
295
+ # behind
296
+ #
297
+ VCS_REVISION_DELTA_DIRECTION = 'vcs.revision_delta.direction'
298
+
299
+ # @!endgroup
300
+ end
301
+ end
302
+ end
303
+ end
@@ -0,0 +1,88 @@
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 VCS
25
+ # @!group Metrics Names
26
+
27
+ # The number of changes (pull requests/merge requests/changelists) in a repository, categorized by their state (e.g. open or merged)
28
+ #
29
+ # @note Stability Level: development
30
+ VCS_CHANGE_COUNT = 'vcs.change.count'
31
+
32
+ # The time duration a change (pull request/merge request/changelist) has been in a given state.
33
+ #
34
+ # @note Stability Level: development
35
+ VCS_CHANGE_DURATION = 'vcs.change.duration'
36
+
37
+ # The amount of time since its creation it took a change (pull request/merge request/changelist) to get the first approval.
38
+ #
39
+ # @note Stability Level: development
40
+ VCS_CHANGE_TIME_TO_APPROVAL = 'vcs.change.time_to_approval'
41
+
42
+ # The amount of time since its creation it took a change (pull request/merge request/changelist) to get merged into the target(base) ref.
43
+ #
44
+ # @note Stability Level: development
45
+ VCS_CHANGE_TIME_TO_MERGE = 'vcs.change.time_to_merge'
46
+
47
+ # The number of unique contributors to a repository
48
+ #
49
+ # @note Stability Level: development
50
+ VCS_CONTRIBUTOR_COUNT = 'vcs.contributor.count'
51
+
52
+ # The number of refs of type branch or tag in a repository.
53
+ #
54
+ # @note Stability Level: development
55
+ VCS_REF_COUNT = 'vcs.ref.count'
56
+
57
+ # The number of lines added/removed in a ref (branch) relative to the ref from the `vcs.ref.base.name` attribute.
58
+ #
59
+ # This metric should be reported for each `vcs.line_change.type` value. For example if a ref added 3 lines and removed 2 lines,
60
+ # instrumentation SHOULD report two measurements: 3 and 2 (both positive numbers).
61
+ # If number of lines added/removed should be calculated from the start of time, then `vcs.ref.base.name` SHOULD be set to an empty string.
62
+ #
63
+ # @note Stability Level: development
64
+ VCS_REF_LINES_DELTA = 'vcs.ref.lines_delta'
65
+
66
+ # The number of revisions (commits) a ref (branch) is ahead/behind the branch from the `vcs.ref.base.name` attribute
67
+ #
68
+ # This metric should be reported for each `vcs.revision_delta.direction` value. For example if branch `a` is 3 commits behind and 2 commits ahead of `trunk`,
69
+ # instrumentation SHOULD report two measurements: 3 and 2 (both positive numbers) and `vcs.ref.base.name` is set to `trunk`.
70
+ #
71
+ # @note Stability Level: development
72
+ VCS_REF_REVISIONS_DELTA = 'vcs.ref.revisions_delta'
73
+
74
+ # Time a ref (branch) created from the default branch (trunk) has existed. The `ref.type` attribute will always be `branch`
75
+ #
76
+ # @note Stability Level: development
77
+ VCS_REF_TIME = 'vcs.ref.time'
78
+
79
+ # The number of repositories in an organization.
80
+ #
81
+ # @note Stability Level: development
82
+ VCS_REPOSITORY_COUNT = 'vcs.repository.count'
83
+
84
+ # @!endgroup
85
+ end
86
+ end
87
+ end
88
+ 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 'vcs/attributes'
22
+ require_relative 'vcs/metrics'
@@ -0,0 +1,58 @@
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 WEBENGINE
25
+ # @!group Attribute Names
26
+
27
+ # Additional description of the web engine (e.g. detailed version and edition information).
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final
33
+ #
34
+ WEBENGINE_DESCRIPTION = 'webengine.description'
35
+
36
+ # The name of the web engine.
37
+ #
38
+ # @note Stability Level: development
39
+ #
40
+ # @example Sample Values
41
+ # WildFly
42
+ #
43
+ WEBENGINE_NAME = 'webengine.name'
44
+
45
+ # The version of the web engine.
46
+ #
47
+ # @note Stability Level: development
48
+ #
49
+ # @example Sample Values
50
+ # 21.0.0
51
+ #
52
+ WEBENGINE_VERSION = 'webengine.version'
53
+
54
+ # @!endgroup
55
+ end
56
+ end
57
+ end
58
+ 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 'webengine/attributes'
@@ -0,0 +1,49 @@
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 ZOS
25
+ # @!group Attribute Names
26
+
27
+ # The System Management Facility (SMF) Identifier uniquely identified a z/OS system within a SYSPLEX or mainframe environment and is used for system and performance analysis.
28
+ #
29
+ # @note Stability Level: development
30
+ #
31
+ # @example Sample Values
32
+ # SYS1
33
+ #
34
+ ZOS_SMF_ID = 'zos.smf.id'
35
+
36
+ # The name of the SYSPLEX to which the z/OS system belongs too.
37
+ #
38
+ # @note Stability Level: development
39
+ #
40
+ # @example Sample Values
41
+ # SYSPLEX1
42
+ #
43
+ ZOS_SYSPLEX_NAME = 'zos.sysplex.name'
44
+
45
+ # @!endgroup
46
+ end
47
+ end
48
+ end
49
+ 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 'zos/attributes'
@@ -0,0 +1,91 @@
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 JVM
24
+ # @!group Attribute Names
25
+
26
+ # Name of the garbage collector action.
27
+ #
28
+ # Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()).
29
+ #
30
+ # @note Stability Level: stable
31
+ #
32
+ # @example Sample Values
33
+ # end of minor GC
34
+ # end of major GC
35
+ #
36
+ JVM_GC_ACTION = 'jvm.gc.action'
37
+
38
+ # Name of the garbage collector.
39
+ #
40
+ # Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()).
41
+ #
42
+ # @note Stability Level: stable
43
+ #
44
+ # @example Sample Values
45
+ # G1 Young Generation
46
+ # G1 Old Generation
47
+ #
48
+ JVM_GC_NAME = 'jvm.gc.name'
49
+
50
+ # Name of the memory pool.
51
+ #
52
+ # Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
53
+ #
54
+ # @note Stability Level: stable
55
+ #
56
+ # @example Sample Values
57
+ # G1 Old Gen
58
+ # G1 Eden space
59
+ # G1 Survivor Space
60
+ #
61
+ JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'
62
+
63
+ # The type of memory.
64
+ #
65
+ # @note Stability Level: stable
66
+ #
67
+ # @example Sample Values
68
+ # heap
69
+ # non_heap
70
+ #
71
+ JVM_MEMORY_TYPE = 'jvm.memory.type'
72
+
73
+ # Whether the thread is daemon or not.
74
+ #
75
+ # @note Stability Level: stable
76
+ JVM_THREAD_DAEMON = 'jvm.thread.daemon'
77
+
78
+ # State of the thread.
79
+ #
80
+ # @note Stability Level: stable
81
+ #
82
+ # @example Sample Values
83
+ # runnable
84
+ # blocked
85
+ #
86
+ JVM_THREAD_STATE = 'jvm.thread.state'
87
+
88
+ # @!endgroup
89
+ end
90
+ end
91
+ end