@@ -277,12 +277,13 @@ static inline nostd::shared_ptr<metrics::ObservableInstrument> CreateAsyncDouble
277277 * Time disk spent activated
278278 * <p>
279279 * The real elapsed time ("wall clock") used in the I/O path (time from operations running in
280- * parallel are not counted). Measured as: <ul> <li>Linux: Field 13 from <a
281- * href="https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats">procfs-diskstats</a></li>
282- * <li>Windows: The complement of
283- * <a
284- * href="https://learn.microsoft.com/archive/blogs/askcore/windows-performance-monitor-disk-counters-explained#windows-performance-monitor-disk-counters-explained">"Disk%
285- * Idle Time"</a> performance counter: @code uptime * (100 - "Disk\% Idle Time") / 100 @endcode</li>
280+ * parallel are not counted). Measured as: <ul>
281+ * <li>Linux: Field 13 from
282+ * <a href="https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats">procfs-diskstats</a>
283+ * </li>
284+ * <li>Windows: The complement of
285+ * <a href="https://learn.microsoft.com/archive/blogs/askcore/ windows-performance-monitor-disk-counters-explained#windows-performance-monitor-disk-counters-explained">"Disk% Idle Time"</a>
286+ * performance counter: @code uptime * (100 - "Disk\% Idle Time") / 100 @endcode</li>
286287 * </ul>
287288 * <p>
288289 * counter
@@ -395,8 +396,8 @@ CreateAsyncDoubleMetricSystemDiskMerged(metrics::Meter *meter)
395396 * Sum of the time each operation took to complete
396397 * <p>
397398 * Because it is the sum of time each request took, parallel-issued requests each contribute to make
398- * the count grow. Measured as: <ul> <li>Linux: Fields 7 & 11 from <a
399- * href="https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats">procfs-diskstats</a></li>
399+ * the count grow. Measured as: <ul> <li>Linux: Fields 7 & 11 from
400+ * <a href="https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats">procfs-diskstats</a></li>
400401 * <li>Windows: "Avg. Disk sec/Read" perf counter multiplied by "Disk Reads/sec" perf counter
401402 * (similar for Writes)</li>
402403 * </ul>
@@ -608,9 +609,9 @@ CreateAsyncDoubleMetricSystemFilesystemUtilization(metrics::Meter *meter)
608609 * swapping <p> This is an alternative to @code system.memory.usage @endcode metric with @code
609610 * state=free @endcode. Linux starting from 3.14 exports "available" memory. It takes "free" memory
610611 * as a baseline, and then factors in kernel-specific values. This is supposed to be more accurate
611- * than just "free" memory. For reference, see the calculations <a
612- * href="https://superuser.com/a/980821">here</a>. See also @code MemAvailable @endcode in <a
613- * href="https://man7.org/linux/man-pages/man5/proc.5.html">/proc/meminfo</a>. <p> updowncounter
612+ * than just "free" memory. For reference, see the calculations
613+ * <a href="https://superuser.com/a/980821">here</a>. See also @code MemAvailable @endcode in
614+ * <a href="https://man7.org/linux/man-pages/man5/proc.5.html">/proc/meminfo</a>. <p> updowncounter
614615 */
615616static constexpr const char *kMetricSystemLinuxMemoryAvailable = " system.linux.memory.available" ;
616617static constexpr const char *descrMetricSystemLinuxMemoryAvailable =
@@ -655,10 +656,10 @@ CreateAsyncDoubleMetricSystemLinuxMemoryAvailable(metrics::Meter *meter)
655656 * <p>
656657 * The sum over the @code reclaimable @endcode and @code unreclaimable @endcode state values in
657658 * @code linux.memory.slab.usage @endcode SHOULD be equal to the total slab memory available on the
658- * system. Note that the total slab memory is not constant and may vary over time. See also the <a
659- * href="https://blogs.oracle.com/linux/post/understanding-linux-kernel-memory-statistics">Slab
660- * allocator</a> and @code Slab @endcode in <a
661- * href="https://man7.org/linux/man-pages/man5/proc.5.html">/proc/meminfo</a>. <p> updowncounter
659+ * system. Note that the total slab memory is not constant and may vary over time. See also the
660+ * <a href="https://blogs.oracle.com/linux/post/understanding-linux-kernel-memory-statistics">Slab allocator</a>
661+ * and @code Slab @endcode in
662+ * <a href="https://man7.org/linux/man-pages/man5/proc.5.html">/proc/meminfo</a>. <p> updowncounter
662663 */
663664static constexpr const char *kMetricSystemLinuxMemorySlabUsage = " system.linux.memory.slab.usage" ;
664665static constexpr const char *descrMetricSystemLinuxMemorySlabUsage =
@@ -739,10 +740,10 @@ CreateAsyncDoubleMetricSystemMemoryLimit(metrics::Meter *meter)
739740/* *
740741 * Shared memory used (mostly by tmpfs).
741742 * <p>
742- * Equivalent of @code shared @endcode from <a
743- * href="https://man7.org/linux/man-pages/man1/free.1.html">@code free @endcode command</a> or
744- * @code Shmem @endcode from <a href="https://man7.org/linux/man-pages/man5/proc.5.html">@code
745- * /proc/meminfo @endcode</a>" <p> updowncounter
743+ * Equivalent of @code shared @endcode from
744+ * <a href="https://man7.org/linux/man-pages/man1/free.1.html"> @code free @endcode command</a> or
745+ * @code Shmem @endcode from
746+ * <a href="https://man7.org/linux/man-pages/man5/proc.5.html"> @code /proc/meminfo @endcode</a>" <p> updowncounter
746747 */
747748static constexpr const char *kMetricSystemMemoryShared = " system.memory.shared" ;
748749static constexpr const char *descrMetricSystemMemoryShared =
@@ -902,13 +903,11 @@ CreateAsyncDoubleMetricSystemNetworkConnections(metrics::Meter *meter)
902903 * <p>
903904 * Measured as:
904905 * <ul>
905- * <li>Linux: the @code drop @endcode column in @code /proc/dev/net @endcode (<a
906- * href="https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html">source</a>)</li>
907- * <li>Windows: <a
908- * href="https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2">@code
909- * InDiscards @endcode/@code OutDiscards @endcode</a> from <a
910- * href="https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2">@code
911- * GetIfEntry2 @endcode</a></li>
906+ * <li>Linux: the @code drop @endcode column in @code /proc/dev/net @endcode (
907+ * <a href="https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html">source</a>)</li>
908+ * <li>Windows:
909+ * <a href="https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2"> @code InDiscards @endcode/@code OutDiscards @endcode</a>
910+ * from <a href="https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2"> @code GetIfEntry2 @endcode</a></li>
912911 * </ul>
913912 * <p>
914913 * counter
@@ -951,13 +950,11 @@ CreateAsyncDoubleMetricSystemNetworkDropped(metrics::Meter *meter)
951950 * <p>
952951 * Measured as:
953952 * <ul>
954- * <li>Linux: the @code errs @endcode column in @code /proc/dev/net @endcode (<a
955- * href="https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html">source</a>).</li>
956- * <li>Windows: <a
957- * href="https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2">@code
958- * InErrors @endcode/@code OutErrors @endcode</a> from <a
959- * href="https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2">@code
960- * GetIfEntry2 @endcode</a>.</li>
953+ * <li>Linux: the @code errs @endcode column in @code /proc/dev/net @endcode (
954+ * <a href="https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html">source</a>).</li>
955+ * <li>Windows:
956+ * <a href="https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2"> @code InErrors @endcode/@code OutErrors @endcode</a>
957+ * from <a href="https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2"> @code GetIfEntry2 @endcode</a>.</li>
961958 * </ul>
962959 * <p>
963960 * counter
0 commit comments