metric.go 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. // Code generated from semantic convention specification. DO NOT EDIT.
  4. package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0"
  5. const (
  6. // ContainerCPUTime is the metric conforming to the "container.cpu.time"
  7. // semantic conventions. It represents the total CPU time consumed.
  8. // Instrument: counter
  9. // Unit: s
  10. // Stability: Experimental
  11. ContainerCPUTimeName = "container.cpu.time"
  12. ContainerCPUTimeUnit = "s"
  13. ContainerCPUTimeDescription = "Total CPU time consumed"
  14. // ContainerMemoryUsage is the metric conforming to the
  15. // "container.memory.usage" semantic conventions. It represents the memory
  16. // usage of the container.
  17. // Instrument: counter
  18. // Unit: By
  19. // Stability: Experimental
  20. ContainerMemoryUsageName = "container.memory.usage"
  21. ContainerMemoryUsageUnit = "By"
  22. ContainerMemoryUsageDescription = "Memory usage of the container."
  23. // ContainerDiskIo is the metric conforming to the "container.disk.io" semantic
  24. // conventions. It represents the disk bytes for the container.
  25. // Instrument: counter
  26. // Unit: By
  27. // Stability: Experimental
  28. ContainerDiskIoName = "container.disk.io"
  29. ContainerDiskIoUnit = "By"
  30. ContainerDiskIoDescription = "Disk bytes for the container."
  31. // ContainerNetworkIo is the metric conforming to the "container.network.io"
  32. // semantic conventions. It represents the network bytes for the container.
  33. // Instrument: counter
  34. // Unit: By
  35. // Stability: Experimental
  36. ContainerNetworkIoName = "container.network.io"
  37. ContainerNetworkIoUnit = "By"
  38. ContainerNetworkIoDescription = "Network bytes for the container."
  39. // DBClientOperationDuration is the metric conforming to the
  40. // "db.client.operation.duration" semantic conventions. It represents the
  41. // duration of database client operations.
  42. // Instrument: histogram
  43. // Unit: s
  44. // Stability: Experimental
  45. DBClientOperationDurationName = "db.client.operation.duration"
  46. DBClientOperationDurationUnit = "s"
  47. DBClientOperationDurationDescription = "Duration of database client operations."
  48. // DBClientConnectionCount is the metric conforming to the
  49. // "db.client.connection.count" semantic conventions. It represents the number
  50. // of connections that are currently in state described by the `state`
  51. // attribute.
  52. // Instrument: updowncounter
  53. // Unit: {connection}
  54. // Stability: Experimental
  55. DBClientConnectionCountName = "db.client.connection.count"
  56. DBClientConnectionCountUnit = "{connection}"
  57. DBClientConnectionCountDescription = "The number of connections that are currently in state described by the `state` attribute"
  58. // DBClientConnectionIdleMax is the metric conforming to the
  59. // "db.client.connection.idle.max" semantic conventions. It represents the
  60. // maximum number of idle open connections allowed.
  61. // Instrument: updowncounter
  62. // Unit: {connection}
  63. // Stability: Experimental
  64. DBClientConnectionIdleMaxName = "db.client.connection.idle.max"
  65. DBClientConnectionIdleMaxUnit = "{connection}"
  66. DBClientConnectionIdleMaxDescription = "The maximum number of idle open connections allowed"
  67. // DBClientConnectionIdleMin is the metric conforming to the
  68. // "db.client.connection.idle.min" semantic conventions. It represents the
  69. // minimum number of idle open connections allowed.
  70. // Instrument: updowncounter
  71. // Unit: {connection}
  72. // Stability: Experimental
  73. DBClientConnectionIdleMinName = "db.client.connection.idle.min"
  74. DBClientConnectionIdleMinUnit = "{connection}"
  75. DBClientConnectionIdleMinDescription = "The minimum number of idle open connections allowed"
  76. // DBClientConnectionMax is the metric conforming to the
  77. // "db.client.connection.max" semantic conventions. It represents the maximum
  78. // number of open connections allowed.
  79. // Instrument: updowncounter
  80. // Unit: {connection}
  81. // Stability: Experimental
  82. DBClientConnectionMaxName = "db.client.connection.max"
  83. DBClientConnectionMaxUnit = "{connection}"
  84. DBClientConnectionMaxDescription = "The maximum number of open connections allowed"
  85. // DBClientConnectionPendingRequests is the metric conforming to the
  86. // "db.client.connection.pending_requests" semantic conventions. It represents
  87. // the number of pending requests for an open connection, cumulative for the
  88. // entire pool.
  89. // Instrument: updowncounter
  90. // Unit: {request}
  91. // Stability: Experimental
  92. DBClientConnectionPendingRequestsName = "db.client.connection.pending_requests"
  93. DBClientConnectionPendingRequestsUnit = "{request}"
  94. DBClientConnectionPendingRequestsDescription = "The number of pending requests for an open connection, cumulative for the entire pool"
  95. // DBClientConnectionTimeouts is the metric conforming to the
  96. // "db.client.connection.timeouts" semantic conventions. It represents the
  97. // number of connection timeouts that have occurred trying to obtain a
  98. // connection from the pool.
  99. // Instrument: counter
  100. // Unit: {timeout}
  101. // Stability: Experimental
  102. DBClientConnectionTimeoutsName = "db.client.connection.timeouts"
  103. DBClientConnectionTimeoutsUnit = "{timeout}"
  104. DBClientConnectionTimeoutsDescription = "The number of connection timeouts that have occurred trying to obtain a connection from the pool"
  105. // DBClientConnectionCreateTime is the metric conforming to the
  106. // "db.client.connection.create_time" semantic conventions. It represents the
  107. // time it took to create a new connection.
  108. // Instrument: histogram
  109. // Unit: s
  110. // Stability: Experimental
  111. DBClientConnectionCreateTimeName = "db.client.connection.create_time"
  112. DBClientConnectionCreateTimeUnit = "s"
  113. DBClientConnectionCreateTimeDescription = "The time it took to create a new connection"
  114. // DBClientConnectionWaitTime is the metric conforming to the
  115. // "db.client.connection.wait_time" semantic conventions. It represents the
  116. // time it took to obtain an open connection from the pool.
  117. // Instrument: histogram
  118. // Unit: s
  119. // Stability: Experimental
  120. DBClientConnectionWaitTimeName = "db.client.connection.wait_time"
  121. DBClientConnectionWaitTimeUnit = "s"
  122. DBClientConnectionWaitTimeDescription = "The time it took to obtain an open connection from the pool"
  123. // DBClientConnectionUseTime is the metric conforming to the
  124. // "db.client.connection.use_time" semantic conventions. It represents the time
  125. // between borrowing a connection and returning it to the pool.
  126. // Instrument: histogram
  127. // Unit: s
  128. // Stability: Experimental
  129. DBClientConnectionUseTimeName = "db.client.connection.use_time"
  130. DBClientConnectionUseTimeUnit = "s"
  131. DBClientConnectionUseTimeDescription = "The time between borrowing a connection and returning it to the pool"
  132. // DBClientConnectionsUsage is the metric conforming to the
  133. // "db.client.connections.usage" semantic conventions. It represents the
  134. // deprecated, use `db.client.connection.count` instead.
  135. // Instrument: updowncounter
  136. // Unit: {connection}
  137. // Stability: Experimental
  138. DBClientConnectionsUsageName = "db.client.connections.usage"
  139. DBClientConnectionsUsageUnit = "{connection}"
  140. DBClientConnectionsUsageDescription = "Deprecated, use `db.client.connection.count` instead."
  141. // DBClientConnectionsIdleMax is the metric conforming to the
  142. // "db.client.connections.idle.max" semantic conventions. It represents the
  143. // deprecated, use `db.client.connection.idle.max` instead.
  144. // Instrument: updowncounter
  145. // Unit: {connection}
  146. // Stability: Experimental
  147. DBClientConnectionsIdleMaxName = "db.client.connections.idle.max"
  148. DBClientConnectionsIdleMaxUnit = "{connection}"
  149. DBClientConnectionsIdleMaxDescription = "Deprecated, use `db.client.connection.idle.max` instead."
  150. // DBClientConnectionsIdleMin is the metric conforming to the
  151. // "db.client.connections.idle.min" semantic conventions. It represents the
  152. // deprecated, use `db.client.connection.idle.min` instead.
  153. // Instrument: updowncounter
  154. // Unit: {connection}
  155. // Stability: Experimental
  156. DBClientConnectionsIdleMinName = "db.client.connections.idle.min"
  157. DBClientConnectionsIdleMinUnit = "{connection}"
  158. DBClientConnectionsIdleMinDescription = "Deprecated, use `db.client.connection.idle.min` instead."
  159. // DBClientConnectionsMax is the metric conforming to the
  160. // "db.client.connections.max" semantic conventions. It represents the
  161. // deprecated, use `db.client.connection.max` instead.
  162. // Instrument: updowncounter
  163. // Unit: {connection}
  164. // Stability: Experimental
  165. DBClientConnectionsMaxName = "db.client.connections.max"
  166. DBClientConnectionsMaxUnit = "{connection}"
  167. DBClientConnectionsMaxDescription = "Deprecated, use `db.client.connection.max` instead."
  168. // DBClientConnectionsPendingRequests is the metric conforming to the
  169. // "db.client.connections.pending_requests" semantic conventions. It represents
  170. // the deprecated, use `db.client.connection.pending_requests` instead.
  171. // Instrument: updowncounter
  172. // Unit: {request}
  173. // Stability: Experimental
  174. DBClientConnectionsPendingRequestsName = "db.client.connections.pending_requests"
  175. DBClientConnectionsPendingRequestsUnit = "{request}"
  176. DBClientConnectionsPendingRequestsDescription = "Deprecated, use `db.client.connection.pending_requests` instead."
  177. // DBClientConnectionsTimeouts is the metric conforming to the
  178. // "db.client.connections.timeouts" semantic conventions. It represents the
  179. // deprecated, use `db.client.connection.timeouts` instead.
  180. // Instrument: counter
  181. // Unit: {timeout}
  182. // Stability: Experimental
  183. DBClientConnectionsTimeoutsName = "db.client.connections.timeouts"
  184. DBClientConnectionsTimeoutsUnit = "{timeout}"
  185. DBClientConnectionsTimeoutsDescription = "Deprecated, use `db.client.connection.timeouts` instead."
  186. // DBClientConnectionsCreateTime is the metric conforming to the
  187. // "db.client.connections.create_time" semantic conventions. It represents the
  188. // deprecated, use `db.client.connection.create_time` instead. Note: the unit
  189. // also changed from `ms` to `s`.
  190. // Instrument: histogram
  191. // Unit: ms
  192. // Stability: Experimental
  193. DBClientConnectionsCreateTimeName = "db.client.connections.create_time"
  194. DBClientConnectionsCreateTimeUnit = "ms"
  195. DBClientConnectionsCreateTimeDescription = "Deprecated, use `db.client.connection.create_time` instead. Note: the unit also changed from `ms` to `s`."
  196. // DBClientConnectionsWaitTime is the metric conforming to the
  197. // "db.client.connections.wait_time" semantic conventions. It represents the
  198. // deprecated, use `db.client.connection.wait_time` instead. Note: the unit
  199. // also changed from `ms` to `s`.
  200. // Instrument: histogram
  201. // Unit: ms
  202. // Stability: Experimental
  203. DBClientConnectionsWaitTimeName = "db.client.connections.wait_time"
  204. DBClientConnectionsWaitTimeUnit = "ms"
  205. DBClientConnectionsWaitTimeDescription = "Deprecated, use `db.client.connection.wait_time` instead. Note: the unit also changed from `ms` to `s`."
  206. // DBClientConnectionsUseTime is the metric conforming to the
  207. // "db.client.connections.use_time" semantic conventions. It represents the
  208. // deprecated, use `db.client.connection.use_time` instead. Note: the unit also
  209. // changed from `ms` to `s`.
  210. // Instrument: histogram
  211. // Unit: ms
  212. // Stability: Experimental
  213. DBClientConnectionsUseTimeName = "db.client.connections.use_time"
  214. DBClientConnectionsUseTimeUnit = "ms"
  215. DBClientConnectionsUseTimeDescription = "Deprecated, use `db.client.connection.use_time` instead. Note: the unit also changed from `ms` to `s`."
  216. // DNSLookupDuration is the metric conforming to the "dns.lookup.duration"
  217. // semantic conventions. It represents the measures the time taken to perform a
  218. // DNS lookup.
  219. // Instrument: histogram
  220. // Unit: s
  221. // Stability: Experimental
  222. DNSLookupDurationName = "dns.lookup.duration"
  223. DNSLookupDurationUnit = "s"
  224. DNSLookupDurationDescription = "Measures the time taken to perform a DNS lookup."
  225. // AspnetcoreRoutingMatchAttempts is the metric conforming to the
  226. // "aspnetcore.routing.match_attempts" semantic conventions. It represents the
  227. // number of requests that were attempted to be matched to an endpoint.
  228. // Instrument: counter
  229. // Unit: {match_attempt}
  230. // Stability: Stable
  231. AspnetcoreRoutingMatchAttemptsName = "aspnetcore.routing.match_attempts"
  232. AspnetcoreRoutingMatchAttemptsUnit = "{match_attempt}"
  233. AspnetcoreRoutingMatchAttemptsDescription = "Number of requests that were attempted to be matched to an endpoint."
  234. // AspnetcoreDiagnosticsExceptions is the metric conforming to the
  235. // "aspnetcore.diagnostics.exceptions" semantic conventions. It represents the
  236. // number of exceptions caught by exception handling middleware.
  237. // Instrument: counter
  238. // Unit: {exception}
  239. // Stability: Stable
  240. AspnetcoreDiagnosticsExceptionsName = "aspnetcore.diagnostics.exceptions"
  241. AspnetcoreDiagnosticsExceptionsUnit = "{exception}"
  242. AspnetcoreDiagnosticsExceptionsDescription = "Number of exceptions caught by exception handling middleware."
  243. // AspnetcoreRateLimitingActiveRequestLeases is the metric conforming to the
  244. // "aspnetcore.rate_limiting.active_request_leases" semantic conventions. It
  245. // represents the number of requests that are currently active on the server
  246. // that hold a rate limiting lease.
  247. // Instrument: updowncounter
  248. // Unit: {request}
  249. // Stability: Stable
  250. AspnetcoreRateLimitingActiveRequestLeasesName = "aspnetcore.rate_limiting.active_request_leases"
  251. AspnetcoreRateLimitingActiveRequestLeasesUnit = "{request}"
  252. AspnetcoreRateLimitingActiveRequestLeasesDescription = "Number of requests that are currently active on the server that hold a rate limiting lease."
  253. // AspnetcoreRateLimitingRequestLeaseDuration is the metric conforming to the
  254. // "aspnetcore.rate_limiting.request_lease.duration" semantic conventions. It
  255. // represents the duration of rate limiting lease held by requests on the
  256. // server.
  257. // Instrument: histogram
  258. // Unit: s
  259. // Stability: Stable
  260. AspnetcoreRateLimitingRequestLeaseDurationName = "aspnetcore.rate_limiting.request_lease.duration"
  261. AspnetcoreRateLimitingRequestLeaseDurationUnit = "s"
  262. AspnetcoreRateLimitingRequestLeaseDurationDescription = "The duration of rate limiting lease held by requests on the server."
  263. // AspnetcoreRateLimitingRequestTimeInQueue is the metric conforming to the
  264. // "aspnetcore.rate_limiting.request.time_in_queue" semantic conventions. It
  265. // represents the time the request spent in a queue waiting to acquire a rate
  266. // limiting lease.
  267. // Instrument: histogram
  268. // Unit: s
  269. // Stability: Stable
  270. AspnetcoreRateLimitingRequestTimeInQueueName = "aspnetcore.rate_limiting.request.time_in_queue"
  271. AspnetcoreRateLimitingRequestTimeInQueueUnit = "s"
  272. AspnetcoreRateLimitingRequestTimeInQueueDescription = "The time the request spent in a queue waiting to acquire a rate limiting lease."
  273. // AspnetcoreRateLimitingQueuedRequests is the metric conforming to the
  274. // "aspnetcore.rate_limiting.queued_requests" semantic conventions. It
  275. // represents the number of requests that are currently queued, waiting to
  276. // acquire a rate limiting lease.
  277. // Instrument: updowncounter
  278. // Unit: {request}
  279. // Stability: Stable
  280. AspnetcoreRateLimitingQueuedRequestsName = "aspnetcore.rate_limiting.queued_requests"
  281. AspnetcoreRateLimitingQueuedRequestsUnit = "{request}"
  282. AspnetcoreRateLimitingQueuedRequestsDescription = "Number of requests that are currently queued, waiting to acquire a rate limiting lease."
  283. // AspnetcoreRateLimitingRequests is the metric conforming to the
  284. // "aspnetcore.rate_limiting.requests" semantic conventions. It represents the
  285. // number of requests that tried to acquire a rate limiting lease.
  286. // Instrument: counter
  287. // Unit: {request}
  288. // Stability: Stable
  289. AspnetcoreRateLimitingRequestsName = "aspnetcore.rate_limiting.requests"
  290. AspnetcoreRateLimitingRequestsUnit = "{request}"
  291. AspnetcoreRateLimitingRequestsDescription = "Number of requests that tried to acquire a rate limiting lease."
  292. // KestrelActiveConnections is the metric conforming to the
  293. // "kestrel.active_connections" semantic conventions. It represents the number
  294. // of connections that are currently active on the server.
  295. // Instrument: updowncounter
  296. // Unit: {connection}
  297. // Stability: Stable
  298. KestrelActiveConnectionsName = "kestrel.active_connections"
  299. KestrelActiveConnectionsUnit = "{connection}"
  300. KestrelActiveConnectionsDescription = "Number of connections that are currently active on the server."
  301. // KestrelConnectionDuration is the metric conforming to the
  302. // "kestrel.connection.duration" semantic conventions. It represents the
  303. // duration of connections on the server.
  304. // Instrument: histogram
  305. // Unit: s
  306. // Stability: Stable
  307. KestrelConnectionDurationName = "kestrel.connection.duration"
  308. KestrelConnectionDurationUnit = "s"
  309. KestrelConnectionDurationDescription = "The duration of connections on the server."
  310. // KestrelRejectedConnections is the metric conforming to the
  311. // "kestrel.rejected_connections" semantic conventions. It represents the
  312. // number of connections rejected by the server.
  313. // Instrument: counter
  314. // Unit: {connection}
  315. // Stability: Stable
  316. KestrelRejectedConnectionsName = "kestrel.rejected_connections"
  317. KestrelRejectedConnectionsUnit = "{connection}"
  318. KestrelRejectedConnectionsDescription = "Number of connections rejected by the server."
  319. // KestrelQueuedConnections is the metric conforming to the
  320. // "kestrel.queued_connections" semantic conventions. It represents the number
  321. // of connections that are currently queued and are waiting to start.
  322. // Instrument: updowncounter
  323. // Unit: {connection}
  324. // Stability: Stable
  325. KestrelQueuedConnectionsName = "kestrel.queued_connections"
  326. KestrelQueuedConnectionsUnit = "{connection}"
  327. KestrelQueuedConnectionsDescription = "Number of connections that are currently queued and are waiting to start."
  328. // KestrelQueuedRequests is the metric conforming to the
  329. // "kestrel.queued_requests" semantic conventions. It represents the number of
  330. // HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are
  331. // currently queued and are waiting to start.
  332. // Instrument: updowncounter
  333. // Unit: {request}
  334. // Stability: Stable
  335. KestrelQueuedRequestsName = "kestrel.queued_requests"
  336. KestrelQueuedRequestsUnit = "{request}"
  337. KestrelQueuedRequestsDescription = "Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start."
  338. // KestrelUpgradedConnections is the metric conforming to the
  339. // "kestrel.upgraded_connections" semantic conventions. It represents the
  340. // number of connections that are currently upgraded (WebSockets). .
  341. // Instrument: updowncounter
  342. // Unit: {connection}
  343. // Stability: Stable
  344. KestrelUpgradedConnectionsName = "kestrel.upgraded_connections"
  345. KestrelUpgradedConnectionsUnit = "{connection}"
  346. KestrelUpgradedConnectionsDescription = "Number of connections that are currently upgraded (WebSockets). ."
  347. // KestrelTLSHandshakeDuration is the metric conforming to the
  348. // "kestrel.tls_handshake.duration" semantic conventions. It represents the
  349. // duration of TLS handshakes on the server.
  350. // Instrument: histogram
  351. // Unit: s
  352. // Stability: Stable
  353. KestrelTLSHandshakeDurationName = "kestrel.tls_handshake.duration"
  354. KestrelTLSHandshakeDurationUnit = "s"
  355. KestrelTLSHandshakeDurationDescription = "The duration of TLS handshakes on the server."
  356. // KestrelActiveTLSHandshakes is the metric conforming to the
  357. // "kestrel.active_tls_handshakes" semantic conventions. It represents the
  358. // number of TLS handshakes that are currently in progress on the server.
  359. // Instrument: updowncounter
  360. // Unit: {handshake}
  361. // Stability: Stable
  362. KestrelActiveTLSHandshakesName = "kestrel.active_tls_handshakes"
  363. KestrelActiveTLSHandshakesUnit = "{handshake}"
  364. KestrelActiveTLSHandshakesDescription = "Number of TLS handshakes that are currently in progress on the server."
  365. // SignalrServerConnectionDuration is the metric conforming to the
  366. // "signalr.server.connection.duration" semantic conventions. It represents the
  367. // duration of connections on the server.
  368. // Instrument: histogram
  369. // Unit: s
  370. // Stability: Stable
  371. SignalrServerConnectionDurationName = "signalr.server.connection.duration"
  372. SignalrServerConnectionDurationUnit = "s"
  373. SignalrServerConnectionDurationDescription = "The duration of connections on the server."
  374. // SignalrServerActiveConnections is the metric conforming to the
  375. // "signalr.server.active_connections" semantic conventions. It represents the
  376. // number of connections that are currently active on the server.
  377. // Instrument: updowncounter
  378. // Unit: {connection}
  379. // Stability: Stable
  380. SignalrServerActiveConnectionsName = "signalr.server.active_connections"
  381. SignalrServerActiveConnectionsUnit = "{connection}"
  382. SignalrServerActiveConnectionsDescription = "Number of connections that are currently active on the server."
  383. // FaaSInvokeDuration is the metric conforming to the "faas.invoke_duration"
  384. // semantic conventions. It represents the measures the duration of the
  385. // function's logic execution.
  386. // Instrument: histogram
  387. // Unit: s
  388. // Stability: Experimental
  389. FaaSInvokeDurationName = "faas.invoke_duration"
  390. FaaSInvokeDurationUnit = "s"
  391. FaaSInvokeDurationDescription = "Measures the duration of the function's logic execution"
  392. // FaaSInitDuration is the metric conforming to the "faas.init_duration"
  393. // semantic conventions. It represents the measures the duration of the
  394. // function's initialization, such as a cold start.
  395. // Instrument: histogram
  396. // Unit: s
  397. // Stability: Experimental
  398. FaaSInitDurationName = "faas.init_duration"
  399. FaaSInitDurationUnit = "s"
  400. FaaSInitDurationDescription = "Measures the duration of the function's initialization, such as a cold start"
  401. // FaaSColdstarts is the metric conforming to the "faas.coldstarts" semantic
  402. // conventions. It represents the number of invocation cold starts.
  403. // Instrument: counter
  404. // Unit: {coldstart}
  405. // Stability: Experimental
  406. FaaSColdstartsName = "faas.coldstarts"
  407. FaaSColdstartsUnit = "{coldstart}"
  408. FaaSColdstartsDescription = "Number of invocation cold starts"
  409. // FaaSErrors is the metric conforming to the "faas.errors" semantic
  410. // conventions. It represents the number of invocation errors.
  411. // Instrument: counter
  412. // Unit: {error}
  413. // Stability: Experimental
  414. FaaSErrorsName = "faas.errors"
  415. FaaSErrorsUnit = "{error}"
  416. FaaSErrorsDescription = "Number of invocation errors"
  417. // FaaSInvocations is the metric conforming to the "faas.invocations" semantic
  418. // conventions. It represents the number of successful invocations.
  419. // Instrument: counter
  420. // Unit: {invocation}
  421. // Stability: Experimental
  422. FaaSInvocationsName = "faas.invocations"
  423. FaaSInvocationsUnit = "{invocation}"
  424. FaaSInvocationsDescription = "Number of successful invocations"
  425. // FaaSTimeouts is the metric conforming to the "faas.timeouts" semantic
  426. // conventions. It represents the number of invocation timeouts.
  427. // Instrument: counter
  428. // Unit: {timeout}
  429. // Stability: Experimental
  430. FaaSTimeoutsName = "faas.timeouts"
  431. FaaSTimeoutsUnit = "{timeout}"
  432. FaaSTimeoutsDescription = "Number of invocation timeouts"
  433. // FaaSMemUsage is the metric conforming to the "faas.mem_usage" semantic
  434. // conventions. It represents the distribution of max memory usage per
  435. // invocation.
  436. // Instrument: histogram
  437. // Unit: By
  438. // Stability: Experimental
  439. FaaSMemUsageName = "faas.mem_usage"
  440. FaaSMemUsageUnit = "By"
  441. FaaSMemUsageDescription = "Distribution of max memory usage per invocation"
  442. // FaaSCPUUsage is the metric conforming to the "faas.cpu_usage" semantic
  443. // conventions. It represents the distribution of CPU usage per invocation.
  444. // Instrument: histogram
  445. // Unit: s
  446. // Stability: Experimental
  447. FaaSCPUUsageName = "faas.cpu_usage"
  448. FaaSCPUUsageUnit = "s"
  449. FaaSCPUUsageDescription = "Distribution of CPU usage per invocation"
  450. // FaaSNetIo is the metric conforming to the "faas.net_io" semantic
  451. // conventions. It represents the distribution of net I/O usage per invocation.
  452. // Instrument: histogram
  453. // Unit: By
  454. // Stability: Experimental
  455. FaaSNetIoName = "faas.net_io"
  456. FaaSNetIoUnit = "By"
  457. FaaSNetIoDescription = "Distribution of net I/O usage per invocation"
  458. // HTTPServerRequestDuration is the metric conforming to the
  459. // "http.server.request.duration" semantic conventions. It represents the
  460. // duration of HTTP server requests.
  461. // Instrument: histogram
  462. // Unit: s
  463. // Stability: Stable
  464. HTTPServerRequestDurationName = "http.server.request.duration"
  465. HTTPServerRequestDurationUnit = "s"
  466. HTTPServerRequestDurationDescription = "Duration of HTTP server requests."
  467. // HTTPServerActiveRequests is the metric conforming to the
  468. // "http.server.active_requests" semantic conventions. It represents the number
  469. // of active HTTP server requests.
  470. // Instrument: updowncounter
  471. // Unit: {request}
  472. // Stability: Experimental
  473. HTTPServerActiveRequestsName = "http.server.active_requests"
  474. HTTPServerActiveRequestsUnit = "{request}"
  475. HTTPServerActiveRequestsDescription = "Number of active HTTP server requests."
  476. // HTTPServerRequestBodySize is the metric conforming to the
  477. // "http.server.request.body.size" semantic conventions. It represents the size
  478. // of HTTP server request bodies.
  479. // Instrument: histogram
  480. // Unit: By
  481. // Stability: Experimental
  482. HTTPServerRequestBodySizeName = "http.server.request.body.size"
  483. HTTPServerRequestBodySizeUnit = "By"
  484. HTTPServerRequestBodySizeDescription = "Size of HTTP server request bodies."
  485. // HTTPServerResponseBodySize is the metric conforming to the
  486. // "http.server.response.body.size" semantic conventions. It represents the
  487. // size of HTTP server response bodies.
  488. // Instrument: histogram
  489. // Unit: By
  490. // Stability: Experimental
  491. HTTPServerResponseBodySizeName = "http.server.response.body.size"
  492. HTTPServerResponseBodySizeUnit = "By"
  493. HTTPServerResponseBodySizeDescription = "Size of HTTP server response bodies."
  494. // HTTPClientRequestDuration is the metric conforming to the
  495. // "http.client.request.duration" semantic conventions. It represents the
  496. // duration of HTTP client requests.
  497. // Instrument: histogram
  498. // Unit: s
  499. // Stability: Stable
  500. HTTPClientRequestDurationName = "http.client.request.duration"
  501. HTTPClientRequestDurationUnit = "s"
  502. HTTPClientRequestDurationDescription = "Duration of HTTP client requests."
  503. // HTTPClientRequestBodySize is the metric conforming to the
  504. // "http.client.request.body.size" semantic conventions. It represents the size
  505. // of HTTP client request bodies.
  506. // Instrument: histogram
  507. // Unit: By
  508. // Stability: Experimental
  509. HTTPClientRequestBodySizeName = "http.client.request.body.size"
  510. HTTPClientRequestBodySizeUnit = "By"
  511. HTTPClientRequestBodySizeDescription = "Size of HTTP client request bodies."
  512. // HTTPClientResponseBodySize is the metric conforming to the
  513. // "http.client.response.body.size" semantic conventions. It represents the
  514. // size of HTTP client response bodies.
  515. // Instrument: histogram
  516. // Unit: By
  517. // Stability: Experimental
  518. HTTPClientResponseBodySizeName = "http.client.response.body.size"
  519. HTTPClientResponseBodySizeUnit = "By"
  520. HTTPClientResponseBodySizeDescription = "Size of HTTP client response bodies."
  521. // HTTPClientOpenConnections is the metric conforming to the
  522. // "http.client.open_connections" semantic conventions. It represents the
  523. // number of outbound HTTP connections that are currently active or idle on the
  524. // client.
  525. // Instrument: updowncounter
  526. // Unit: {connection}
  527. // Stability: Experimental
  528. HTTPClientOpenConnectionsName = "http.client.open_connections"
  529. HTTPClientOpenConnectionsUnit = "{connection}"
  530. HTTPClientOpenConnectionsDescription = "Number of outbound HTTP connections that are currently active or idle on the client."
  531. // HTTPClientConnectionDuration is the metric conforming to the
  532. // "http.client.connection.duration" semantic conventions. It represents the
  533. // duration of the successfully established outbound HTTP connections.
  534. // Instrument: histogram
  535. // Unit: s
  536. // Stability: Experimental
  537. HTTPClientConnectionDurationName = "http.client.connection.duration"
  538. HTTPClientConnectionDurationUnit = "s"
  539. HTTPClientConnectionDurationDescription = "The duration of the successfully established outbound HTTP connections."
  540. // HTTPClientActiveRequests is the metric conforming to the
  541. // "http.client.active_requests" semantic conventions. It represents the number
  542. // of active HTTP requests.
  543. // Instrument: updowncounter
  544. // Unit: {request}
  545. // Stability: Experimental
  546. HTTPClientActiveRequestsName = "http.client.active_requests"
  547. HTTPClientActiveRequestsUnit = "{request}"
  548. HTTPClientActiveRequestsDescription = "Number of active HTTP requests."
  549. // JvmMemoryInit is the metric conforming to the "jvm.memory.init" semantic
  550. // conventions. It represents the measure of initial memory requested.
  551. // Instrument: updowncounter
  552. // Unit: By
  553. // Stability: Experimental
  554. JvmMemoryInitName = "jvm.memory.init"
  555. JvmMemoryInitUnit = "By"
  556. JvmMemoryInitDescription = "Measure of initial memory requested."
  557. // JvmSystemCPUUtilization is the metric conforming to the
  558. // "jvm.system.cpu.utilization" semantic conventions. It represents the recent
  559. // CPU utilization for the whole system as reported by the JVM.
  560. // Instrument: gauge
  561. // Unit: 1
  562. // Stability: Experimental
  563. JvmSystemCPUUtilizationName = "jvm.system.cpu.utilization"
  564. JvmSystemCPUUtilizationUnit = "1"
  565. JvmSystemCPUUtilizationDescription = "Recent CPU utilization for the whole system as reported by the JVM."
  566. // JvmSystemCPULoad1m is the metric conforming to the "jvm.system.cpu.load_1m"
  567. // semantic conventions. It represents the average CPU load of the whole system
  568. // for the last minute as reported by the JVM.
  569. // Instrument: gauge
  570. // Unit: {run_queue_item}
  571. // Stability: Experimental
  572. JvmSystemCPULoad1mName = "jvm.system.cpu.load_1m"
  573. JvmSystemCPULoad1mUnit = "{run_queue_item}"
  574. JvmSystemCPULoad1mDescription = "Average CPU load of the whole system for the last minute as reported by the JVM."
  575. // JvmBufferMemoryUsage is the metric conforming to the
  576. // "jvm.buffer.memory.usage" semantic conventions. It represents the measure of
  577. // memory used by buffers.
  578. // Instrument: updowncounter
  579. // Unit: By
  580. // Stability: Experimental
  581. JvmBufferMemoryUsageName = "jvm.buffer.memory.usage"
  582. JvmBufferMemoryUsageUnit = "By"
  583. JvmBufferMemoryUsageDescription = "Measure of memory used by buffers."
  584. // JvmBufferMemoryLimit is the metric conforming to the
  585. // "jvm.buffer.memory.limit" semantic conventions. It represents the measure of
  586. // total memory capacity of buffers.
  587. // Instrument: updowncounter
  588. // Unit: By
  589. // Stability: Experimental
  590. JvmBufferMemoryLimitName = "jvm.buffer.memory.limit"
  591. JvmBufferMemoryLimitUnit = "By"
  592. JvmBufferMemoryLimitDescription = "Measure of total memory capacity of buffers."
  593. // JvmBufferCount is the metric conforming to the "jvm.buffer.count" semantic
  594. // conventions. It represents the number of buffers in the pool.
  595. // Instrument: updowncounter
  596. // Unit: {buffer}
  597. // Stability: Experimental
  598. JvmBufferCountName = "jvm.buffer.count"
  599. JvmBufferCountUnit = "{buffer}"
  600. JvmBufferCountDescription = "Number of buffers in the pool."
  601. // JvmMemoryUsed is the metric conforming to the "jvm.memory.used" semantic
  602. // conventions. It represents the measure of memory used.
  603. // Instrument: updowncounter
  604. // Unit: By
  605. // Stability: Stable
  606. JvmMemoryUsedName = "jvm.memory.used"
  607. JvmMemoryUsedUnit = "By"
  608. JvmMemoryUsedDescription = "Measure of memory used."
  609. // JvmMemoryCommitted is the metric conforming to the "jvm.memory.committed"
  610. // semantic conventions. It represents the measure of memory committed.
  611. // Instrument: updowncounter
  612. // Unit: By
  613. // Stability: Stable
  614. JvmMemoryCommittedName = "jvm.memory.committed"
  615. JvmMemoryCommittedUnit = "By"
  616. JvmMemoryCommittedDescription = "Measure of memory committed."
  617. // JvmMemoryLimit is the metric conforming to the "jvm.memory.limit" semantic
  618. // conventions. It represents the measure of max obtainable memory.
  619. // Instrument: updowncounter
  620. // Unit: By
  621. // Stability: Stable
  622. JvmMemoryLimitName = "jvm.memory.limit"
  623. JvmMemoryLimitUnit = "By"
  624. JvmMemoryLimitDescription = "Measure of max obtainable memory."
  625. // JvmMemoryUsedAfterLastGc is the metric conforming to the
  626. // "jvm.memory.used_after_last_gc" semantic conventions. It represents the
  627. // measure of memory used, as measured after the most recent garbage collection
  628. // event on this pool.
  629. // Instrument: updowncounter
  630. // Unit: By
  631. // Stability: Stable
  632. JvmMemoryUsedAfterLastGcName = "jvm.memory.used_after_last_gc"
  633. JvmMemoryUsedAfterLastGcUnit = "By"
  634. JvmMemoryUsedAfterLastGcDescription = "Measure of memory used, as measured after the most recent garbage collection event on this pool."
  635. // JvmGcDuration is the metric conforming to the "jvm.gc.duration" semantic
  636. // conventions. It represents the duration of JVM garbage collection actions.
  637. // Instrument: histogram
  638. // Unit: s
  639. // Stability: Stable
  640. JvmGcDurationName = "jvm.gc.duration"
  641. JvmGcDurationUnit = "s"
  642. JvmGcDurationDescription = "Duration of JVM garbage collection actions."
  643. // JvmThreadCount is the metric conforming to the "jvm.thread.count" semantic
  644. // conventions. It represents the number of executing platform threads.
  645. // Instrument: updowncounter
  646. // Unit: {thread}
  647. // Stability: Stable
  648. JvmThreadCountName = "jvm.thread.count"
  649. JvmThreadCountUnit = "{thread}"
  650. JvmThreadCountDescription = "Number of executing platform threads."
  651. // JvmClassLoaded is the metric conforming to the "jvm.class.loaded" semantic
  652. // conventions. It represents the number of classes loaded since JVM start.
  653. // Instrument: counter
  654. // Unit: {class}
  655. // Stability: Stable
  656. JvmClassLoadedName = "jvm.class.loaded"
  657. JvmClassLoadedUnit = "{class}"
  658. JvmClassLoadedDescription = "Number of classes loaded since JVM start."
  659. // JvmClassUnloaded is the metric conforming to the "jvm.class.unloaded"
  660. // semantic conventions. It represents the number of classes unloaded since JVM
  661. // start.
  662. // Instrument: counter
  663. // Unit: {class}
  664. // Stability: Stable
  665. JvmClassUnloadedName = "jvm.class.unloaded"
  666. JvmClassUnloadedUnit = "{class}"
  667. JvmClassUnloadedDescription = "Number of classes unloaded since JVM start."
  668. // JvmClassCount is the metric conforming to the "jvm.class.count" semantic
  669. // conventions. It represents the number of classes currently loaded.
  670. // Instrument: updowncounter
  671. // Unit: {class}
  672. // Stability: Stable
  673. JvmClassCountName = "jvm.class.count"
  674. JvmClassCountUnit = "{class}"
  675. JvmClassCountDescription = "Number of classes currently loaded."
  676. // JvmCPUCount is the metric conforming to the "jvm.cpu.count" semantic
  677. // conventions. It represents the number of processors available to the Java
  678. // virtual machine.
  679. // Instrument: updowncounter
  680. // Unit: {cpu}
  681. // Stability: Stable
  682. JvmCPUCountName = "jvm.cpu.count"
  683. JvmCPUCountUnit = "{cpu}"
  684. JvmCPUCountDescription = "Number of processors available to the Java virtual machine."
  685. // JvmCPUTime is the metric conforming to the "jvm.cpu.time" semantic
  686. // conventions. It represents the cPU time used by the process as reported by
  687. // the JVM.
  688. // Instrument: counter
  689. // Unit: s
  690. // Stability: Stable
  691. JvmCPUTimeName = "jvm.cpu.time"
  692. JvmCPUTimeUnit = "s"
  693. JvmCPUTimeDescription = "CPU time used by the process as reported by the JVM."
  694. // JvmCPURecentUtilization is the metric conforming to the
  695. // "jvm.cpu.recent_utilization" semantic conventions. It represents the recent
  696. // CPU utilization for the process as reported by the JVM.
  697. // Instrument: gauge
  698. // Unit: 1
  699. // Stability: Stable
  700. JvmCPURecentUtilizationName = "jvm.cpu.recent_utilization"
  701. JvmCPURecentUtilizationUnit = "1"
  702. JvmCPURecentUtilizationDescription = "Recent CPU utilization for the process as reported by the JVM."
  703. // MessagingPublishDuration is the metric conforming to the
  704. // "messaging.publish.duration" semantic conventions. It represents the
  705. // measures the duration of publish operation.
  706. // Instrument: histogram
  707. // Unit: s
  708. // Stability: Experimental
  709. MessagingPublishDurationName = "messaging.publish.duration"
  710. MessagingPublishDurationUnit = "s"
  711. MessagingPublishDurationDescription = "Measures the duration of publish operation."
  712. // MessagingReceiveDuration is the metric conforming to the
  713. // "messaging.receive.duration" semantic conventions. It represents the
  714. // measures the duration of receive operation.
  715. // Instrument: histogram
  716. // Unit: s
  717. // Stability: Experimental
  718. MessagingReceiveDurationName = "messaging.receive.duration"
  719. MessagingReceiveDurationUnit = "s"
  720. MessagingReceiveDurationDescription = "Measures the duration of receive operation."
  721. // MessagingProcessDuration is the metric conforming to the
  722. // "messaging.process.duration" semantic conventions. It represents the
  723. // measures the duration of process operation.
  724. // Instrument: histogram
  725. // Unit: s
  726. // Stability: Experimental
  727. MessagingProcessDurationName = "messaging.process.duration"
  728. MessagingProcessDurationUnit = "s"
  729. MessagingProcessDurationDescription = "Measures the duration of process operation."
  730. // MessagingPublishMessages is the metric conforming to the
  731. // "messaging.publish.messages" semantic conventions. It represents the
  732. // measures the number of published messages.
  733. // Instrument: counter
  734. // Unit: {message}
  735. // Stability: Experimental
  736. MessagingPublishMessagesName = "messaging.publish.messages"
  737. MessagingPublishMessagesUnit = "{message}"
  738. MessagingPublishMessagesDescription = "Measures the number of published messages."
  739. // MessagingReceiveMessages is the metric conforming to the
  740. // "messaging.receive.messages" semantic conventions. It represents the
  741. // measures the number of received messages.
  742. // Instrument: counter
  743. // Unit: {message}
  744. // Stability: Experimental
  745. MessagingReceiveMessagesName = "messaging.receive.messages"
  746. MessagingReceiveMessagesUnit = "{message}"
  747. MessagingReceiveMessagesDescription = "Measures the number of received messages."
  748. // MessagingProcessMessages is the metric conforming to the
  749. // "messaging.process.messages" semantic conventions. It represents the
  750. // measures the number of processed messages.
  751. // Instrument: counter
  752. // Unit: {message}
  753. // Stability: Experimental
  754. MessagingProcessMessagesName = "messaging.process.messages"
  755. MessagingProcessMessagesUnit = "{message}"
  756. MessagingProcessMessagesDescription = "Measures the number of processed messages."
  757. // ProcessCPUTime is the metric conforming to the "process.cpu.time" semantic
  758. // conventions. It represents the total CPU seconds broken down by different
  759. // states.
  760. // Instrument: counter
  761. // Unit: s
  762. // Stability: Experimental
  763. ProcessCPUTimeName = "process.cpu.time"
  764. ProcessCPUTimeUnit = "s"
  765. ProcessCPUTimeDescription = "Total CPU seconds broken down by different states."
  766. // ProcessCPUUtilization is the metric conforming to the
  767. // "process.cpu.utilization" semantic conventions. It represents the difference
  768. // in process.cpu.time since the last measurement, divided by the elapsed time
  769. // and number of CPUs available to the process.
  770. // Instrument: gauge
  771. // Unit: 1
  772. // Stability: Experimental
  773. ProcessCPUUtilizationName = "process.cpu.utilization"
  774. ProcessCPUUtilizationUnit = "1"
  775. ProcessCPUUtilizationDescription = "Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process."
  776. // ProcessMemoryUsage is the metric conforming to the "process.memory.usage"
  777. // semantic conventions. It represents the amount of physical memory in use.
  778. // Instrument: updowncounter
  779. // Unit: By
  780. // Stability: Experimental
  781. ProcessMemoryUsageName = "process.memory.usage"
  782. ProcessMemoryUsageUnit = "By"
  783. ProcessMemoryUsageDescription = "The amount of physical memory in use."
  784. // ProcessMemoryVirtual is the metric conforming to the
  785. // "process.memory.virtual" semantic conventions. It represents the amount of
  786. // committed virtual memory.
  787. // Instrument: updowncounter
  788. // Unit: By
  789. // Stability: Experimental
  790. ProcessMemoryVirtualName = "process.memory.virtual"
  791. ProcessMemoryVirtualUnit = "By"
  792. ProcessMemoryVirtualDescription = "The amount of committed virtual memory."
  793. // ProcessDiskIo is the metric conforming to the "process.disk.io" semantic
  794. // conventions. It represents the disk bytes transferred.
  795. // Instrument: counter
  796. // Unit: By
  797. // Stability: Experimental
  798. ProcessDiskIoName = "process.disk.io"
  799. ProcessDiskIoUnit = "By"
  800. ProcessDiskIoDescription = "Disk bytes transferred."
  801. // ProcessNetworkIo is the metric conforming to the "process.network.io"
  802. // semantic conventions. It represents the network bytes transferred.
  803. // Instrument: counter
  804. // Unit: By
  805. // Stability: Experimental
  806. ProcessNetworkIoName = "process.network.io"
  807. ProcessNetworkIoUnit = "By"
  808. ProcessNetworkIoDescription = "Network bytes transferred."
  809. // ProcessThreadCount is the metric conforming to the "process.thread.count"
  810. // semantic conventions. It represents the process threads count.
  811. // Instrument: updowncounter
  812. // Unit: {thread}
  813. // Stability: Experimental
  814. ProcessThreadCountName = "process.thread.count"
  815. ProcessThreadCountUnit = "{thread}"
  816. ProcessThreadCountDescription = "Process threads count."
  817. // ProcessOpenFileDescriptorCount is the metric conforming to the
  818. // "process.open_file_descriptor.count" semantic conventions. It represents the
  819. // number of file descriptors in use by the process.
  820. // Instrument: updowncounter
  821. // Unit: {count}
  822. // Stability: Experimental
  823. ProcessOpenFileDescriptorCountName = "process.open_file_descriptor.count"
  824. ProcessOpenFileDescriptorCountUnit = "{count}"
  825. ProcessOpenFileDescriptorCountDescription = "Number of file descriptors in use by the process."
  826. // ProcessContextSwitches is the metric conforming to the
  827. // "process.context_switches" semantic conventions. It represents the number of
  828. // times the process has been context switched.
  829. // Instrument: counter
  830. // Unit: {count}
  831. // Stability: Experimental
  832. ProcessContextSwitchesName = "process.context_switches"
  833. ProcessContextSwitchesUnit = "{count}"
  834. ProcessContextSwitchesDescription = "Number of times the process has been context switched."
  835. // ProcessPagingFaults is the metric conforming to the "process.paging.faults"
  836. // semantic conventions. It represents the number of page faults the process
  837. // has made.
  838. // Instrument: counter
  839. // Unit: {fault}
  840. // Stability: Experimental
  841. ProcessPagingFaultsName = "process.paging.faults"
  842. ProcessPagingFaultsUnit = "{fault}"
  843. ProcessPagingFaultsDescription = "Number of page faults the process has made."
  844. // RPCServerDuration is the metric conforming to the "rpc.server.duration"
  845. // semantic conventions. It represents the measures the duration of inbound
  846. // RPC.
  847. // Instrument: histogram
  848. // Unit: ms
  849. // Stability: Experimental
  850. RPCServerDurationName = "rpc.server.duration"
  851. RPCServerDurationUnit = "ms"
  852. RPCServerDurationDescription = "Measures the duration of inbound RPC."
  853. // RPCServerRequestSize is the metric conforming to the
  854. // "rpc.server.request.size" semantic conventions. It represents the measures
  855. // the size of RPC request messages (uncompressed).
  856. // Instrument: histogram
  857. // Unit: By
  858. // Stability: Experimental
  859. RPCServerRequestSizeName = "rpc.server.request.size"
  860. RPCServerRequestSizeUnit = "By"
  861. RPCServerRequestSizeDescription = "Measures the size of RPC request messages (uncompressed)."
  862. // RPCServerResponseSize is the metric conforming to the
  863. // "rpc.server.response.size" semantic conventions. It represents the measures
  864. // the size of RPC response messages (uncompressed).
  865. // Instrument: histogram
  866. // Unit: By
  867. // Stability: Experimental
  868. RPCServerResponseSizeName = "rpc.server.response.size"
  869. RPCServerResponseSizeUnit = "By"
  870. RPCServerResponseSizeDescription = "Measures the size of RPC response messages (uncompressed)."
  871. // RPCServerRequestsPerRPC is the metric conforming to the
  872. // "rpc.server.requests_per_rpc" semantic conventions. It represents the
  873. // measures the number of messages received per RPC.
  874. // Instrument: histogram
  875. // Unit: {count}
  876. // Stability: Experimental
  877. RPCServerRequestsPerRPCName = "rpc.server.requests_per_rpc"
  878. RPCServerRequestsPerRPCUnit = "{count}"
  879. RPCServerRequestsPerRPCDescription = "Measures the number of messages received per RPC."
  880. // RPCServerResponsesPerRPC is the metric conforming to the
  881. // "rpc.server.responses_per_rpc" semantic conventions. It represents the
  882. // measures the number of messages sent per RPC.
  883. // Instrument: histogram
  884. // Unit: {count}
  885. // Stability: Experimental
  886. RPCServerResponsesPerRPCName = "rpc.server.responses_per_rpc"
  887. RPCServerResponsesPerRPCUnit = "{count}"
  888. RPCServerResponsesPerRPCDescription = "Measures the number of messages sent per RPC."
  889. // RPCClientDuration is the metric conforming to the "rpc.client.duration"
  890. // semantic conventions. It represents the measures the duration of outbound
  891. // RPC.
  892. // Instrument: histogram
  893. // Unit: ms
  894. // Stability: Experimental
  895. RPCClientDurationName = "rpc.client.duration"
  896. RPCClientDurationUnit = "ms"
  897. RPCClientDurationDescription = "Measures the duration of outbound RPC."
  898. // RPCClientRequestSize is the metric conforming to the
  899. // "rpc.client.request.size" semantic conventions. It represents the measures
  900. // the size of RPC request messages (uncompressed).
  901. // Instrument: histogram
  902. // Unit: By
  903. // Stability: Experimental
  904. RPCClientRequestSizeName = "rpc.client.request.size"
  905. RPCClientRequestSizeUnit = "By"
  906. RPCClientRequestSizeDescription = "Measures the size of RPC request messages (uncompressed)."
  907. // RPCClientResponseSize is the metric conforming to the
  908. // "rpc.client.response.size" semantic conventions. It represents the measures
  909. // the size of RPC response messages (uncompressed).
  910. // Instrument: histogram
  911. // Unit: By
  912. // Stability: Experimental
  913. RPCClientResponseSizeName = "rpc.client.response.size"
  914. RPCClientResponseSizeUnit = "By"
  915. RPCClientResponseSizeDescription = "Measures the size of RPC response messages (uncompressed)."
  916. // RPCClientRequestsPerRPC is the metric conforming to the
  917. // "rpc.client.requests_per_rpc" semantic conventions. It represents the
  918. // measures the number of messages received per RPC.
  919. // Instrument: histogram
  920. // Unit: {count}
  921. // Stability: Experimental
  922. RPCClientRequestsPerRPCName = "rpc.client.requests_per_rpc"
  923. RPCClientRequestsPerRPCUnit = "{count}"
  924. RPCClientRequestsPerRPCDescription = "Measures the number of messages received per RPC."
  925. // RPCClientResponsesPerRPC is the metric conforming to the
  926. // "rpc.client.responses_per_rpc" semantic conventions. It represents the
  927. // measures the number of messages sent per RPC.
  928. // Instrument: histogram
  929. // Unit: {count}
  930. // Stability: Experimental
  931. RPCClientResponsesPerRPCName = "rpc.client.responses_per_rpc"
  932. RPCClientResponsesPerRPCUnit = "{count}"
  933. RPCClientResponsesPerRPCDescription = "Measures the number of messages sent per RPC."
  934. // SystemCPUTime is the metric conforming to the "system.cpu.time" semantic
  935. // conventions. It represents the seconds each logical CPU spent on each mode.
  936. // Instrument: counter
  937. // Unit: s
  938. // Stability: Experimental
  939. SystemCPUTimeName = "system.cpu.time"
  940. SystemCPUTimeUnit = "s"
  941. SystemCPUTimeDescription = "Seconds each logical CPU spent on each mode"
  942. // SystemCPUUtilization is the metric conforming to the
  943. // "system.cpu.utilization" semantic conventions. It represents the difference
  944. // in system.cpu.time since the last measurement, divided by the elapsed time
  945. // and number of logical CPUs.
  946. // Instrument: gauge
  947. // Unit: 1
  948. // Stability: Experimental
  949. SystemCPUUtilizationName = "system.cpu.utilization"
  950. SystemCPUUtilizationUnit = "1"
  951. SystemCPUUtilizationDescription = "Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs"
  952. // SystemCPUFrequency is the metric conforming to the "system.cpu.frequency"
  953. // semantic conventions. It represents the reports the current frequency of the
  954. // CPU in Hz.
  955. // Instrument: gauge
  956. // Unit: {Hz}
  957. // Stability: Experimental
  958. SystemCPUFrequencyName = "system.cpu.frequency"
  959. SystemCPUFrequencyUnit = "{Hz}"
  960. SystemCPUFrequencyDescription = "Reports the current frequency of the CPU in Hz"
  961. // SystemCPUPhysicalCount is the metric conforming to the
  962. // "system.cpu.physical.count" semantic conventions. It represents the reports
  963. // the number of actual physical processor cores on the hardware.
  964. // Instrument: updowncounter
  965. // Unit: {cpu}
  966. // Stability: Experimental
  967. SystemCPUPhysicalCountName = "system.cpu.physical.count"
  968. SystemCPUPhysicalCountUnit = "{cpu}"
  969. SystemCPUPhysicalCountDescription = "Reports the number of actual physical processor cores on the hardware"
  970. // SystemCPULogicalCount is the metric conforming to the
  971. // "system.cpu.logical.count" semantic conventions. It represents the reports
  972. // the number of logical (virtual) processor cores created by the operating
  973. // system to manage multitasking.
  974. // Instrument: updowncounter
  975. // Unit: {cpu}
  976. // Stability: Experimental
  977. SystemCPULogicalCountName = "system.cpu.logical.count"
  978. SystemCPULogicalCountUnit = "{cpu}"
  979. SystemCPULogicalCountDescription = "Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking"
  980. // SystemMemoryUsage is the metric conforming to the "system.memory.usage"
  981. // semantic conventions. It represents the reports memory in use by state.
  982. // Instrument: updowncounter
  983. // Unit: By
  984. // Stability: Experimental
  985. SystemMemoryUsageName = "system.memory.usage"
  986. SystemMemoryUsageUnit = "By"
  987. SystemMemoryUsageDescription = "Reports memory in use by state."
  988. // SystemMemoryLimit is the metric conforming to the "system.memory.limit"
  989. // semantic conventions. It represents the total memory available in the
  990. // system.
  991. // Instrument: updowncounter
  992. // Unit: By
  993. // Stability: Experimental
  994. SystemMemoryLimitName = "system.memory.limit"
  995. SystemMemoryLimitUnit = "By"
  996. SystemMemoryLimitDescription = "Total memory available in the system."
  997. // SystemMemoryShared is the metric conforming to the "system.memory.shared"
  998. // semantic conventions. It represents the shared memory used (mostly by
  999. // tmpfs).
  1000. // Instrument: updowncounter
  1001. // Unit: By
  1002. // Stability: Experimental
  1003. SystemMemorySharedName = "system.memory.shared"
  1004. SystemMemorySharedUnit = "By"
  1005. SystemMemorySharedDescription = "Shared memory used (mostly by tmpfs)."
  1006. // SystemMemoryUtilization is the metric conforming to the
  1007. // "system.memory.utilization" semantic conventions.
  1008. // Instrument: gauge
  1009. // Unit: 1
  1010. // Stability: Experimental
  1011. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1012. SystemMemoryUtilizationName = "system.memory.utilization"
  1013. SystemMemoryUtilizationUnit = "1"
  1014. // SystemPagingUsage is the metric conforming to the "system.paging.usage"
  1015. // semantic conventions. It represents the unix swap or windows pagefile usage.
  1016. // Instrument: updowncounter
  1017. // Unit: By
  1018. // Stability: Experimental
  1019. SystemPagingUsageName = "system.paging.usage"
  1020. SystemPagingUsageUnit = "By"
  1021. SystemPagingUsageDescription = "Unix swap or windows pagefile usage"
  1022. // SystemPagingUtilization is the metric conforming to the
  1023. // "system.paging.utilization" semantic conventions.
  1024. // Instrument: gauge
  1025. // Unit: 1
  1026. // Stability: Experimental
  1027. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1028. SystemPagingUtilizationName = "system.paging.utilization"
  1029. SystemPagingUtilizationUnit = "1"
  1030. // SystemPagingFaults is the metric conforming to the "system.paging.faults"
  1031. // semantic conventions.
  1032. // Instrument: counter
  1033. // Unit: {fault}
  1034. // Stability: Experimental
  1035. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1036. SystemPagingFaultsName = "system.paging.faults"
  1037. SystemPagingFaultsUnit = "{fault}"
  1038. // SystemPagingOperations is the metric conforming to the
  1039. // "system.paging.operations" semantic conventions.
  1040. // Instrument: counter
  1041. // Unit: {operation}
  1042. // Stability: Experimental
  1043. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1044. SystemPagingOperationsName = "system.paging.operations"
  1045. SystemPagingOperationsUnit = "{operation}"
  1046. // SystemDiskIo is the metric conforming to the "system.disk.io" semantic
  1047. // conventions.
  1048. // Instrument: counter
  1049. // Unit: By
  1050. // Stability: Experimental
  1051. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1052. SystemDiskIoName = "system.disk.io"
  1053. SystemDiskIoUnit = "By"
  1054. // SystemDiskOperations is the metric conforming to the
  1055. // "system.disk.operations" semantic conventions.
  1056. // Instrument: counter
  1057. // Unit: {operation}
  1058. // Stability: Experimental
  1059. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1060. SystemDiskOperationsName = "system.disk.operations"
  1061. SystemDiskOperationsUnit = "{operation}"
  1062. // SystemDiskIoTime is the metric conforming to the "system.disk.io_time"
  1063. // semantic conventions. It represents the time disk spent activated.
  1064. // Instrument: counter
  1065. // Unit: s
  1066. // Stability: Experimental
  1067. SystemDiskIoTimeName = "system.disk.io_time"
  1068. SystemDiskIoTimeUnit = "s"
  1069. SystemDiskIoTimeDescription = "Time disk spent activated"
  1070. // SystemDiskOperationTime is the metric conforming to the
  1071. // "system.disk.operation_time" semantic conventions. It represents the sum of
  1072. // the time each operation took to complete.
  1073. // Instrument: counter
  1074. // Unit: s
  1075. // Stability: Experimental
  1076. SystemDiskOperationTimeName = "system.disk.operation_time"
  1077. SystemDiskOperationTimeUnit = "s"
  1078. SystemDiskOperationTimeDescription = "Sum of the time each operation took to complete"
  1079. // SystemDiskMerged is the metric conforming to the "system.disk.merged"
  1080. // semantic conventions.
  1081. // Instrument: counter
  1082. // Unit: {operation}
  1083. // Stability: Experimental
  1084. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1085. SystemDiskMergedName = "system.disk.merged"
  1086. SystemDiskMergedUnit = "{operation}"
  1087. // SystemFilesystemUsage is the metric conforming to the
  1088. // "system.filesystem.usage" semantic conventions.
  1089. // Instrument: updowncounter
  1090. // Unit: By
  1091. // Stability: Experimental
  1092. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1093. SystemFilesystemUsageName = "system.filesystem.usage"
  1094. SystemFilesystemUsageUnit = "By"
  1095. // SystemFilesystemUtilization is the metric conforming to the
  1096. // "system.filesystem.utilization" semantic conventions.
  1097. // Instrument: gauge
  1098. // Unit: 1
  1099. // Stability: Experimental
  1100. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1101. SystemFilesystemUtilizationName = "system.filesystem.utilization"
  1102. SystemFilesystemUtilizationUnit = "1"
  1103. // SystemNetworkDropped is the metric conforming to the
  1104. // "system.network.dropped" semantic conventions. It represents the count of
  1105. // packets that are dropped or discarded even though there was no error.
  1106. // Instrument: counter
  1107. // Unit: {packet}
  1108. // Stability: Experimental
  1109. SystemNetworkDroppedName = "system.network.dropped"
  1110. SystemNetworkDroppedUnit = "{packet}"
  1111. SystemNetworkDroppedDescription = "Count of packets that are dropped or discarded even though there was no error"
  1112. // SystemNetworkPackets is the metric conforming to the
  1113. // "system.network.packets" semantic conventions.
  1114. // Instrument: counter
  1115. // Unit: {packet}
  1116. // Stability: Experimental
  1117. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1118. SystemNetworkPacketsName = "system.network.packets"
  1119. SystemNetworkPacketsUnit = "{packet}"
  1120. // SystemNetworkErrors is the metric conforming to the "system.network.errors"
  1121. // semantic conventions. It represents the count of network errors detected.
  1122. // Instrument: counter
  1123. // Unit: {error}
  1124. // Stability: Experimental
  1125. SystemNetworkErrorsName = "system.network.errors"
  1126. SystemNetworkErrorsUnit = "{error}"
  1127. SystemNetworkErrorsDescription = "Count of network errors detected"
  1128. // SystemNetworkIo is the metric conforming to the "system.network.io" semantic
  1129. // conventions.
  1130. // Instrument: counter
  1131. // Unit: By
  1132. // Stability: Experimental
  1133. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1134. SystemNetworkIoName = "system.network.io"
  1135. SystemNetworkIoUnit = "By"
  1136. // SystemNetworkConnections is the metric conforming to the
  1137. // "system.network.connections" semantic conventions.
  1138. // Instrument: updowncounter
  1139. // Unit: {connection}
  1140. // Stability: Experimental
  1141. // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
  1142. SystemNetworkConnectionsName = "system.network.connections"
  1143. SystemNetworkConnectionsUnit = "{connection}"
  1144. // SystemProcessCount is the metric conforming to the "system.process.count"
  1145. // semantic conventions. It represents the total number of processes in each
  1146. // state.
  1147. // Instrument: updowncounter
  1148. // Unit: {process}
  1149. // Stability: Experimental
  1150. SystemProcessCountName = "system.process.count"
  1151. SystemProcessCountUnit = "{process}"
  1152. SystemProcessCountDescription = "Total number of processes in each state"
  1153. // SystemProcessCreated is the metric conforming to the
  1154. // "system.process.created" semantic conventions. It represents the total
  1155. // number of processes created over uptime of the host.
  1156. // Instrument: counter
  1157. // Unit: {process}
  1158. // Stability: Experimental
  1159. SystemProcessCreatedName = "system.process.created"
  1160. SystemProcessCreatedUnit = "{process}"
  1161. SystemProcessCreatedDescription = "Total number of processes created over uptime of the host"
  1162. // SystemLinuxMemoryAvailable is the metric conforming to the
  1163. // "system.linux.memory.available" semantic conventions. It represents an
  1164. // estimate of how much memory is available for starting new applications,
  1165. // without causing swapping.
  1166. // Instrument: updowncounter
  1167. // Unit: By
  1168. // Stability: Experimental
  1169. SystemLinuxMemoryAvailableName = "system.linux.memory.available"
  1170. SystemLinuxMemoryAvailableUnit = "By"
  1171. SystemLinuxMemoryAvailableDescription = "An estimate of how much memory is available for starting new applications, without causing swapping"
  1172. )