-
Notifications
You must be signed in to change notification settings - Fork 333
Comparing changes
Open a pull request
base repository: prometheus/procfs
base: v0.12.0
head repository: prometheus/procfs
compare: v0.15.1
Commits on Oct 3, 2023
-
Update common Prometheus files (#578)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 894a5e8 - Browse repository at this point
Copy the full SHA 894a5e8View commit details
Commits on Oct 11, 2023
-
fix(meminfo): account for optional unit field so values are accurate
Addresses: #565 Previously, this function was ignoring the optional unit field, leading to incorrect results on systems that do report the field. This uses the humanize lib used elsewhere within the Prometheus ecosystem to normalize the value to bytes, including when a unit is provided. To try and maintain existing behavior, the fixed/unit-scaled values are stored as new struct fields. Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 18260ef - Browse repository at this point
Copy the full SHA 18260efView commit details -
ref(meminfo): simplify variable assignment
Addresses PR feedback #569 (comment) Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f75eb9f - Browse repository at this point
Copy the full SHA f75eb9fView commit details -
fix(meminfo): remove
bytes
versions of fields that aren't bytesSigned-off-by: TJ Hoplock <t.hoplock@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2cfca8d - Browse repository at this point
Copy the full SHA 2cfca8dView commit details
Commits on Nov 12, 2023
-
Bump github.com/google/go-cmp from 0.5.9 to 0.6.0
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](google/go-cmp@v0.5.9...v0.6.0) --- updated-dependencies: - dependency-name: github.com/google/go-cmp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for f78f919 - Browse repository at this point
Copy the full SHA f78f919View commit details -
Bump golang.org/x/sys from 0.12.0 to 0.13.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.12.0 to 0.13.0. - [Commits](golang/sys@v0.12.0...v0.13.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 43bf323 - Browse repository at this point
Copy the full SHA 43bf323View commit details -
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for e9c69c6 - Browse repository at this point
Copy the full SHA e9c69c6View commit details -
Bump golang.org/x/sync from 0.3.0 to 0.5.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.5.0. - [Commits](golang/sync@v0.3.0...v0.5.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 6990574 - Browse repository at this point
Copy the full SHA 6990574View commit details
Commits on Nov 22, 2023
-
Update crypto.go, fix incorrect spelling (#591)
Signed-off-by: linuxgcc <linuxgcc@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f11f6e4 - Browse repository at this point
Copy the full SHA f11f6e4View commit details
Commits on Nov 28, 2023
-
* Add drops field in /proc/net/udp{,6} files for parsing Signed-off-by: Aleksandr Lebedev <lebedevam88@gmail.com> Signed-off-by: Александр Лебедев <allebedev@samokat.ru> * Add count of UDP dropped packets Signed-off-by: Aleksandr Lebedev <lebedevam88@gmail.com> Signed-off-by: Александр Лебедев <allebedev@samokat.ru> * Change the type of variable isUDP to local Signed-off-by: Александр Лебедев <allebedev@samokat.ru> * Update net_ip_socket.go Co-authored-by: Ben Kochie <superq@gmail.com> Signed-off-by: Aleksandr Lebedev <49903054+alebsys@users.noreply.github.com> * Update net_ip_socket.go Co-authored-by: Ben Kochie <superq@gmail.com> Signed-off-by: Aleksandr Lebedev <49903054+alebsys@users.noreply.github.com> --------- Signed-off-by: Aleksandr Lebedev <lebedevam88@gmail.com> Signed-off-by: Александр Лебедев <allebedev@samokat.ru> Signed-off-by: Aleksandr Lebedev <49903054+alebsys@users.noreply.github.com> Co-authored-by: Ben Kochie <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9fdfbe8 - Browse repository at this point
Copy the full SHA 9fdfbe8View commit details -
Update common Prometheus files (#590)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for feff289 - Browse repository at this point
Copy the full SHA feff289View commit details
Commits on Dec 10, 2023
-
Update common Prometheus files (#595)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 732ca0f - Browse repository at this point
Copy the full SHA 732ca0fView commit details
Commits on Dec 14, 2023
-
meminfo: add Percpu field (#588)
Signed-off-by: wangqing <wangqing@uniontech.com> Co-authored-by: wangqing <wangqing@uniontech.com>
Configuration menu - View commit details
-
Copy full SHA for 8f660d1 - Browse repository at this point
Copy the full SHA 8f660d1View commit details -
Bump golang.org/x/sys from 0.13.0 to 0.15.0 (#593)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.15.0. - [Commits](golang/sys@v0.13.0...v0.15.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 534069e - Browse repository at this point
Copy the full SHA 534069eView commit details -
Update common Prometheus files (#596)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for a45c08c - Browse repository at this point
Copy the full SHA a45c08cView commit details
Commits on Dec 18, 2023
-
Update common Prometheus files (#598)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 8a3ea46 - Browse repository at this point
Copy the full SHA 8a3ea46View commit details
Commits on Jan 29, 2024
-
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 495e483 - Browse repository at this point
Copy the full SHA 495e483View commit details
Commits on Feb 2, 2024
-
Bump golang.org/x/sync from 0.5.0 to 0.6.0 (#602)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.5.0 to 0.6.0. - [Commits](golang/sync@v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f06ab8f - Browse repository at this point
Copy the full SHA f06ab8fView commit details -
Bump golang.org/x/sys from 0.15.0 to 0.16.0 (#603)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.16.0. - [Commits](golang/sys@v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dd493f4 - Browse repository at this point
Copy the full SHA dd493f4View commit details
Commits on Feb 15, 2024
-
infiniband: support Intel irdma devices (#605)
This skips parsing /sys/class/infiniband/<device>/ports/<port-num>/counters for irdma devices, which do not expose it, and would previously cause parseInfiniBandPort() to return an error. Instead, irdma devices expose /sys/class/infiniband/<device>/ports/<port-num>/hw_counters. Fixes: #589 Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 868112d - Browse repository at this point
Copy the full SHA 868112dView commit details -
Update common Prometheus files (#604)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for d735b08 - Browse repository at this point
Copy the full SHA d735b08View commit details -
golint: redundant type from array, slice, or map composite literal (#601
Configuration menu - View commit details
-
Copy full SHA for 51a293e - Browse repository at this point
Copy the full SHA 51a293eView commit details -
feat: Add
/sys/fs/btrfs/<FSID>/commit_stats
statistics (#580)* Add commit_stats statistics --------- Signed-off-by: dongjiang1989 <dongjiang1989@126.com> Co-authored-by: Ben Kochie <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f5f033b - Browse repository at this point
Copy the full SHA f5f033bView commit details -
Add support for gtime and cgtime stats. (#597)
Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com> Co-authored-by: Thomas Barrett <tbarrett@crusoeenergy.com>
Configuration menu - View commit details
-
Copy full SHA for d254b01 - Browse repository at this point
Copy the full SHA d254b01View commit details -
Add
/sys/class/watchdog
statistics (#594)Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
Configuration menu - View commit details
-
Copy full SHA for 0f527e6 - Browse repository at this point
Copy the full SHA 0f527e6View commit details -
Add support for for /proc/net/tls_stat kTLS stats (#579)
Signed-off-by: Felix Aronsson <felixaronsson@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6d8714c - Browse repository at this point
Copy the full SHA 6d8714cView commit details -
Bump golang.org/x/sys from 0.16.0 to 0.17.0 (#606)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.16.0 to 0.17.0. - [Commits](golang/sys@v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4b77c68 - Browse repository at this point
Copy the full SHA 4b77c68View commit details
Commits on Feb 26, 2024
-
Update common Prometheus files (#608)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for da53333 - Browse repository at this point
Copy the full SHA da53333View commit details
Commits on Mar 5, 2024
-
chore: class_fibrechannel: support optional attributes (#607)
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7b6eccc - Browse repository at this point
Copy the full SHA 7b6ecccView commit details -
Update common Prometheus files (#609)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 6ae6f98 - Browse repository at this point
Copy the full SHA 6ae6f98View commit details
Commits on Mar 7, 2024
-
Update common Prometheus files (#610)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for b5cb3d2 - Browse repository at this point
Copy the full SHA b5cb3d2View commit details -
Bump golang.org/x/sys from 0.17.0 to 0.18.0 (#611)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0. - [Commits](golang/sys@v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 72170b5 - Browse repository at this point
Copy the full SHA 72170b5View commit details
Commits on Mar 14, 2024
-
Update common Prometheus files (#613)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for aa18116 - Browse repository at this point
Copy the full SHA aa18116View commit details
Commits on Mar 21, 2024
-
Update common Prometheus files (#615)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for f7c2619 - Browse repository at this point
Copy the full SHA f7c2619View commit details
Commits on Mar 22, 2024
-
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 6bba74b - Browse repository at this point
Copy the full SHA 6bba74bView commit details
Commits on Mar 23, 2024
-
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for c5ada8d - Browse repository at this point
Copy the full SHA c5ada8dView commit details
Commits on Apr 5, 2024
-
Revert add avgRTT to nfs mountstats #487 (#625)
This is an artificiality computed value from existing values. The goal of this library is to provide simple raw access to values, rather than pre-compute data. Reverts: #487 Signed-off-by: SuperQ <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5819c81 - Browse repository at this point
Copy the full SHA 5819c81View commit details
Commits on Apr 8, 2024
-
style: returns procfs build-in error like other parsing methods (#630)
Signed-off-by: weidongkl <weidong@uniontech.com>
Configuration menu - View commit details
-
Copy full SHA for 3387ec6 - Browse repository at this point
Copy the full SHA 3387ec6View commit details
Commits on Apr 9, 2024
-
Fixes #628 Signed-off-by: Paul Gier <paul.gier@datastax.com>
Configuration menu - View commit details
-
Copy full SHA for eac8540 - Browse repository at this point
Copy the full SHA eac8540View commit details
Commits on Apr 10, 2024
-
*:
s/(%v|%s)/%w
and usego1.20
(#617)* *: `s/(%v|%s)/%w` for all `fmt.Errorf` errors The `%w` verb was introduced in `go1.20` which allows for error wrapping. However, even though the minimum supported version was specified as `go1.19` there are already sparse occurences of the `%w` verb throughout the codebase. Hence it's safe to move the minimum supported version to `go1.20` since its constructs have been in use within the repository for a while now. Refer: https://go.dev/doc/go1.20#errors Fixes: #519 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> * chore: Specify minimum Golang version as `1.20` PTAL at the previous commit (d559fd9) for more details. Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> * fixup! chore: Specify minimum Golang version as `1.20` Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> --------- Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69fc8f6 - Browse repository at this point
Copy the full SHA 69fc8f6View commit details -
* Update minimum Go to 1.21. * Update testing to include Go 1.22. * Update Go modules. Signed-off-by: SuperQ <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for faa3526 - Browse repository at this point
Copy the full SHA faa3526View commit details
Commits on Apr 14, 2024
-
chore: Use kernel-compliant types for
{U,G}IDs
(#620)As defined in the `torvalds/linux` git tree, `uidgid_types.h`: https://github.com/torvalds/linux/blob/8e938e39866920ddc266898e6ae1fffc5c8f51aa/include/linux/uidgid_types.h#L8 Fixes: #372 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0fdebd3 - Browse repository at this point
Copy the full SHA 0fdebd3View commit details
Commits on Apr 15, 2024
-
Merge pull request #632 from prometheus/superq/1.22
Update Go versions
Configuration menu - View commit details
-
Copy full SHA for ee70db2 - Browse repository at this point
Copy the full SHA ee70db2View commit details -
fix: same TCP connection appears twice (#631)
``` TCP, TCP6, UDP, and UDP6 are dynamically changing, and when we read these files, we should read them all at once. there will be data consistency issues if using line by lin reading fix: #576 ``` Signed-off-by: weidongkl <weidong@uniontech.com>
Configuration menu - View commit details
-
Copy full SHA for 987bedc - Browse repository at this point
Copy the full SHA 987bedcView commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6bec248 - Browse repository at this point
Copy the full SHA 6bec248View commit details
Commits on May 2, 2024
-
Update common Prometheus files (#635)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 5cca38b - Browse repository at this point
Copy the full SHA 5cca38bView commit details
Commits on May 12, 2024
-
enhancement: Use pointer fields for
FibreChannel*
(#623)* enhancement: Use pointer fields for `FibreChannel*` Allow fields to be `nil`-checked. Fixes: #612 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> * fixup! enhancement: Use pointer fields for `FibreChannel*` Signed-off-by: Pranshu Srivastava <rexagod@gmail.com> --------- Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 68fb3df - Browse repository at this point
Copy the full SHA 68fb3dfView commit details -
bugfix: Allow multiple
xprt
fields for NFS stats (#619)Allow parsing multiple `xprt` fields present in the same NFS transport stats data. Fixes: #450 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2085b8f - Browse repository at this point
Copy the full SHA 2085b8fView commit details -
bugfix:
s/TrimRight/TrimSuffix
for certain cases (#618)Use `TrimSuffix` instead of `TrimRight` in cases where an exact suffix string needs to be removed, not all occurrences of all characters in a specified cutset. Fixes: #507 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1adce6b - Browse repository at this point
Copy the full SHA 1adce6bView commit details
Commits on May 13, 2024
-
Parse recovery line to be synced blocks (#637)
Capture the blocks to be synced from the recvery line as it can differ from the total blocks. * Reformat test struct to make it easier to read. Fixes: #636 Signed-off-by: SuperQ <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5a801c6 - Browse repository at this point
Copy the full SHA 5a801c6View commit details
There are no files selected for viewing