Repository navigation
[bot] Bump openshift/node_exporter to v1.13.1 - #224
openshift-monitoring-bot[bot] wants to merge 92 commits into
Conversation
* netstat_freebsd: refactoring
Make the code testable and more maintainable:
- Encapsulate all the CGO code so it can be tested
- Fix the test file (it wasn't compiling) and improve tests
- Mock the data returned by unix.SysctlRaw so the code can be tested
without actually calling sysctl.
No change in behavior intended
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
* netstat_freebsd: add support for some IPv4 metrics
Metrics added:
- ip4_transmit_packets_total
- ip4_transmit_raw_packets_total
- ip4_receive_packets_total
- ip4_receive_fragments_total
- ip4_forward_total
- ip4_fast_forward_total
- ip4_delivered_total
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
* netstat_freebsd: add support for some IPv6 metrics
Metrics added:
- ip6_transmit_packets_total
- ip6_transmit_raw_packets_total
- ip6_receive_packets_total
- ip6_receive_fragments_total
- ip6_forward_total
- ip6_delivered_total
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
* netstat_freebsd: add support for some UDP metrics
Metrics added:
- udp_transmit_packets_total
- udp_receive_packets_total
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
* netstat_freebsd: add support for TCP state metrics
Metric added (gauge):
node_netstat_tcp_connections{state="CLOSED"}
node_netstat_tcp_connections{state="CLOSE_WAIT"}
node_netstat_tcp_connections{state="CLOSING"}
node_netstat_tcp_connections{state="ESTABLISHED"}
node_netstat_tcp_connections{state="FIN_WAIT_1"}
node_netstat_tcp_connections{state="FIN_WAIT_2"}
node_netstat_tcp_connections{state="LAST_ACK"}
node_netstat_tcp_connections{state="LISTEN"}
node_netstat_tcp_connections{state="SYN_RCVD"}
node_netstat_tcp_connections{state="SYN_SENT"}
node_netstat_tcp_connections{state="TIME_WAIT"}
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
* netstat_freebsd: ignore new metrics during e2e tests
The new metrics are non-deterministic so add them to the
non_deterministic_metrics list in the end-to-end-test.sh script.
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
---------
Signed-off-by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
* Add workflow to approve CI runs Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update .github/workflows/approve-workflows.yml Signed-off-by: Ben Kochie <superq@gmail.com> --------- Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com> Signed-off-by: Ben Kochie <superq@gmail.com> Co-authored-by: Ben Kochie <superq@gmail.com>
The Revive linter settings are all defaults or explicitly enabled. Remove the single override to enable all revive linters. * Enable modernize linter. * Cleanup various linting issues once revive is fully enabled. Signed-off-by: Ben Kochie <superq@gmail.com>
1. Warn on unknown flag values 2. Reset the list of profilers if an allowlist is used Signed-off-by: René Treffer <treffer@measite.de>
* [BUGFIX] perf: Fix perf profiler flag handling (prometheus#3731 Signed-off-by: Ben Kochie <superq@gmail.com>
PR prometheus#3720 introduced the node_edac_channel_uncorrectable_errors_total metric. It depends on the per-channel ue_count file (e.g. ch0_ue_count). This isn't always available. Therefore, only log a debug message and keep the existing collector working. Signed-off-by: Christian Hoffmann <mail@hoffmann-christian.info>
* [BUGFIX] perf: Fix perf profiler flag handling prometheus#3731 * [BUGFIX] edac: Fix optional csrow ue_count collection prometheus#3734 Signed-off-by: Ben Kochie <superq@gmail.com>
Fix typo in 1.12.1 release date. Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
…ers (prometheus#3573) The statistics counters of a disabled FC host cannot be read from sysfs and any read attempt fails with errno ENOENT. Therefore, all statistics counters returned by procfs are nil in such a case. This results in a crash on s390x Linux when a zFCP host is disabled with `chzdev -d <host id>`. Crash stacktrace in a GDB ------------------------- $ gdb /root/node_exporter/node_exporter ... Thread 4 "node_exporter" received signal SIGSEGV, Segmentation fault. [Switching to LWP 35579] 0x00000000007be86c in github.com/prometheus/node_exporter/collector.(*fibrechannelCollector).Update (c=0xc00012fef0, ch=0xc0002fc8c0, ~r0=...) at /root/node_exporter/collector/fibrechannel_linux.go:133 133 c.pushCounter(ch, "dumped_frames_total", *host.Counters.DumpedFrames, *host.Name) (gdb) bt at /root/node_exporter/collector/fibrechannel_linux.go:133 (gdb) p host $1 = {Name = 0xc00038faf0, Speed = 0xc00038fb00, PortState = 0xc00038fb10, PortType = 0xc00038fb30, SymbolicName = 0xc00038fba0, NodeName = 0xc00038fb40, PortID = 0xc00038fb50, PortName = 0xc00038fb60, FabricName = 0xc00038fb80, DevLossTMO = 0xc00038fb90, SupportedClasses = 0xc00038fbb0, SupportedSpeeds = 0xc00038fbd0, Counters = 0xc0001cb2d0} (gdb) p host.Name $2 = (string *) 0xc00038faf0 (gdb) p *host.Name $3 = "host0" (gdb) p *host.Counters.DumpedFrames ❌️ Cannot access memory at address 0x0 (gdb) p *host.Counters $4 = {DumpedFrames = 0x0, ErrorFrames = 0x0, InvalidCRCCount = 0x0, RXFrames = 0x0, RXWords = 0x0, TXFrames = 0x0, TXWords = 0x0, SecondsSinceLastReset = 0x0, InvalidTXWordCount = 0x0, LinkFailureCount = 0x0, LossOfSyncCount = 0x0, LossOfSignalCount = 0x0, NosCount = 0x0, FCPPacketAborts = 0x0} (gdb) bt at /root/node_exporter/collector/fibrechannel_linux.go:133 name="fibrechannel", c=..., ch=0xc0002fc8c0, logger=0xc0002104a0) at /root/node_exporter/collector/collector.go:160 (gdb) p *host.Counters $5 = {DumpedFrames = 0x0, ErrorFrames = 0x0, InvalidCRCCount = 0x0, RXFrames = 0x0, RXWords = 0x0, TXFrames = 0x0, TXWords = 0x0, SecondsSinceLastReset = 0x0, InvalidTXWordCount = 0x0, LinkFailureCount = 0x0, LossOfSyncCount = 0x0, LossOfSignalCount = 0x0, NosCount = 0x0, FCPPacketAborts = 0x0} (gdb) Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
Bumps the promci group with 2 updates: [prometheus/promci/publish_main](https://github.com/prometheus/promci) and [prometheus/promci/publish_release](https://github.com/prometheus/promci). Updates `prometheus/promci/publish_main` from 0.8.5 to 0.9.0 - [Release notes](https://github.com/prometheus/promci/releases) - [Commits](prometheus/promci@1394141...370e8c1) Updates `prometheus/promci/publish_release` from 0.8.5 to 0.9.0 - [Release notes](https://github.com/prometheus/promci/releases) - [Commits](prometheus/promci@1394141...370e8c1) --- updated-dependencies: - dependency-name: prometheus/promci/publish_main dependency-version: 0.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: promci - dependency-name: prometheus/promci/publish_release dependency-version: 0.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: promci ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.4.0 to 6.5.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@4a36011...924ae3a) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: 6.5.0 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>
…#3744) Bumps [vmactions/netbsd-vm](https://github.com/vmactions/netbsd-vm) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/vmactions/netbsd-vm/releases) - [Commits](vmactions/netbsd-vm@1d97677...0c26a4c) --- updated-dependencies: - dependency-name: vmactions/netbsd-vm dependency-version: 1.4.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@df4cb1c...9c091bb) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…etheus#3743) Bumps [vmactions/dragonflybsd-vm](https://github.com/vmactions/dragonflybsd-vm) from 1.2.9 to 1.3.1. - [Release notes](https://github.com/vmactions/dragonflybsd-vm/releases) - [Commits](vmactions/dragonflybsd-vm@b446842...bc8ccba) --- updated-dependencies: - dependency-name: vmactions/dragonflybsd-vm dependency-version: 1.3.0 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>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Expose /sys/kernel/mm/ksm/general_profit as node_ksmd_general_profit_bytes. This file (available since Linux 6.4, EL9) reports the net memory saved by KSM after subtracting the overhead of rmap_item tracking structures. Also gracefully skip any missing sysfs files instead of failing the entire collector, since general_profit and potentially other files may not exist on older kernels. Assisted-by: claude-4.6-opus Signed-off-by: Michal Skrivanek <michal.skrivanek@redhat.com>
Update the ksmd collector to use pre-defined metrics descriptions instead of auto-generated. This allows for improved help text taken from the kernel documentation. This also avoids memory allocations each time `NewKsmdCollector()` is called. Signed-off-by: Ben Kochie <superq@gmail.com>
Bumps the prometheus group with 2 updates: [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) and [github.com/prometheus/common](https://github.com/prometheus/common). Updates `github.com/prometheus/client_golang` from 1.23.2 to 1.24.1 - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.24.1/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.23.2...v1.24.1) Updates `github.com/prometheus/common` from 0.70.0 to 0.70.1 - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md) - [Commits](prometheus/common@v0.70.0...v0.70.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-version: 1.24.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: prometheus - dependency-name: github.com/prometheus/common dependency-version: 0.70.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: prometheus ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…theus#3781) Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/mdlayher/wifi/releases) - [Commits](mdlayher/wifi@v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: github.com/mdlayher/wifi dependency-version: 0.9.0 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>
…#3772) Bumps [vmactions/netbsd-vm](https://github.com/vmactions/netbsd-vm) from 1.4.2 to 1.4.5. - [Release notes](https://github.com/vmactions/netbsd-vm/releases) - [Commits](vmactions/netbsd-vm@0c26a4c...e7ac71b) --- updated-dependencies: - dependency-name: vmactions/netbsd-vm dependency-version: 1.4.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.5.0 to 7.0.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@924ae3a...b7ad1da) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@9c091bb...3d3c42e) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Seen on a master node: ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x106cefa4] goroutine 81 [running]: github.com/prometheus/node_exporter/collector.(*fibrechannelCollector).Update(0x7e28c1ae20f0, 0x7e28c1826770) /go/src/github.com/prometheus/node_exporter/collector/fibrechannel_linux.go:133 +0x604 sh-5.1# ls -l /host/sys/class/fc_host/ total 0 lrwxrwxrwx. 1 root root 0 Jul 30 20:42 host1 -> ../../devices/vio/30000003/host1/fc_host/host1 lrwxrwxrwx. 1 root root 0 Jul 30 20:42 host2 -> ../../devices/vio/30000005/host2/fc_host/host2 sh-5.1# ls -l /host/sys/class/fc_host/host1/ total 0 -rw-r--r--. 1 root root 65536 Jul 30 20:09 dev_loss_tmo lrwxrwxrwx. 1 root root 0 Jul 30 20:42 device -> ../../../host1 -r--r--r--. 1 root root 65536 Jul 30 20:09 fabric_name --w-------. 1 root root 65536 Jul 30 20:42 issue_lip -r--r--r--. 1 root root 65536 Jul 30 20:42 maxframe_size -r--r--r--. 1 root root 65536 Jul 30 20:09 node_name -r--r--r--. 1 root root 65536 Jul 30 20:09 port_id -r--r--r--. 1 root root 65536 Jul 30 20:42 port_name -r--r--r--. 1 root root 65536 Jul 30 20:09 port_state -r--r--r--. 1 root root 65536 Jul 30 20:09 port_type drwxr-xr-x. 2 root root 0 Jul 30 20:42 power -r--r--r--. 1 root root 65536 Jul 30 20:09 speed lrwxrwxrwx. 1 root root 0 Jul 30 20:42 subsystem -> ../../../../../../class/fc_host -r--r--r--. 1 root root 65536 Jul 30 20:09 supported_classes -rw-r--r--. 1 root root 65536 Jul 30 20:42 tgtid_bind_type -rw-r--r--. 1 root root 65536 Jul 30 20:42 uevent ``` Since many filenames for counters are not guaranteed to exist in VMs, allocate if not present. Signed-off-by: Mark Hamzy <hamzy@us.ibm.com>
* Extend DRM labels Signed-off-by: Deezzir <deezzir@gmail.com> * chore: move `cleanMetricName` to a shared helper file Signed-off-by: Deezzir <deezzir@gmail.com> --------- Signed-off-by: Deezzir <deezzir@gmail.com>
* [CHORE] adding agents.md Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com> * Address review feedback: link naming conventions, note procfs usage Signed-off-by: Nicolas Takashi <nicolas.takashi@dash0.com> * Trim AGENTS.md per review: drop directory-listing sections, keep non-inferable rules Signed-off-by: Nicolas Takashi <nicolas.takashi@dash0.com> --------- Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com> Signed-off-by: Nicolas Takashi <nicolas.takashi@dash0.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
…s#3776) Bumps [vmactions/openbsd-vm](https://github.com/vmactions/openbsd-vm) from 1.4.4 to 1.4.5. - [Release notes](https://github.com/vmactions/openbsd-vm/releases) - [Commits](vmactions/openbsd-vm@18edb32...c941015) --- updated-dependencies: - dependency-name: vmactions/openbsd-vm dependency-version: 1.4.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…s#3877) Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 1.5.8 to 1.5.9. - [Release notes](https://github.com/vmactions/freebsd-vm/releases) - [Commits](vmactions/freebsd-vm@a2f9a41...c46abac) --- updated-dependencies: - dependency-name: vmactions/freebsd-vm dependency-version: 1.5.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(infiniband): skip sysfs reads for excluded devices Motivation: --collector.infiniband.device-exclude (and device-include) correctly filtered excluded devices out of emitted metrics, but the collector's Update() called sysfs.FS.InfiniBandClass(), which eagerly parses every device under /sys/class/infiniband -- including reading each port's counter files -- before the device filter is ever applied. On hosts with firmware-managed restricted ports, reading those counter files can trigger a firmware command that fails and floods the kernel log, even though the offending device was explicitly excluded. Approach: Enumerate device names first via sysfs.FS.InfiniBandClassDevices(), which only lists directory entries and performs no attribute or counter reads. Apply the existing device filter against the name, and only call sysfs.FS.InfiniBandDevice(name) -- which does the actual sysfs reads -- for devices that pass the filter. This does not change emitted metrics for included devices; it only avoids touching excluded devices' sysfs files at all. Validation: Added TestInfiniBandCollectorSkipsSysfsReadsForExcludedDevices, which builds a synthetic sysfs tree with a healthy device and a device missing its required fw_ver file (simulating a device whose attributes/counters cannot be read), then excludes the broken device via device-exclude and asserts Update() succeeds and only the included device's metrics are emitted. Report: prometheus#3823 Signed-off-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com> Assisted-by: claude-sonnet-5 (via Claude Code) --------- Signed-off-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com> Signed-off-by: Ben Kochie <superq@gmail.com> Co-authored-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com> Co-authored-by: Ben Kochie <superq@gmail.com>
…s#3879) Bumps [vmactions/solaris-vm](https://github.com/vmactions/solaris-vm) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/vmactions/solaris-vm/releases) - [Commits](vmactions/solaris-vm@87d3c43...1c16697) --- updated-dependencies: - dependency-name: vmactions/solaris-vm dependency-version: 1.4.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…etheus#3878) Bumps [github.com/godbus/dbus/v5](https://github.com/godbus/dbus) from 5.2.2 to 5.2.4. - [Release notes](https://github.com/godbus/dbus/releases) - [Commits](godbus/dbus@v5.2.2...v5.2.4) --- updated-dependencies: - dependency-name: github.com/godbus/dbus/v5 dependency-version: 5.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
<!-- org-infra-maintainers --> Source: fc9efc2ddcb3d8eb88e31982cfb974bdb50300f5 Signed-off-by: prometheus-org-infra[bot] <314372684+prometheus-org-infra[bot]@users.noreply.github.com> Co-authored-by: prometheus-org-infra[bot] <314372684+prometheus-org-infra[bot]@users.noreply.github.com>
Bumps the prometheus group with 1 update: [github.com/prometheus/common](https://github.com/prometheus/common). Updates `github.com/prometheus/common` from 0.72.1 to 0.73.1 - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md) - [Commits](prometheus/common@v0.72.1...v0.73.1) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-version: 0.73.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: prometheus ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ometheus#3897) Bumps [github.com/mdlayher/ethtool](https://github.com/mdlayher/ethtool) from 0.6.1 to 0.7.0. - [Release notes](https://github.com/mdlayher/ethtool/releases) - [Commits](mdlayher/ethtool@v0.6.1...v0.7.0) --- updated-dependencies: - dependency-name: github.com/mdlayher/ethtool dependency-version: 0.7.0 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>
…etheus#3898) Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.9.0 to 0.10.0. - [Release notes](https://github.com/mdlayher/wifi/releases) - [Commits](mdlayher/wifi@v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: github.com/mdlayher/wifi dependency-version: 0.10.0 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>
* nvme: deprecate nvme_namespace_capacity_bytes This metric is currently just a duplicate of namespace_size_bytes, as seen in procfs: https://github.com/prometheus/procfs/blob/98e16a16034c77c1277b41cc21915b70fa4631bc/sysfs/class_nvme.go#L200-L201 This is incorrect because capacity & size (ncap & nsze) have special meanings in nvme protocol. ncap is the max logical blocks allocatable to the namespace. nsze is the total logical blocks in the namespace. for thin provisioned namespace ncap < nsze & the kernel does not currently have an easy way to fetch ncap. if ncap is available in a future kernel the metric can be added back. Signed-off-by: scarlet-storm <12461256+scarlet-storm@users.noreply.github.com> * changelog: Note deprecation of nvme_namespace_capacity_bytes Signed-off-by: scarlet-storm <12461256+scarlet-storm@users.noreply.github.com> --------- Signed-off-by: scarlet-storm <12461256+scarlet-storm@users.noreply.github.com>
* fix(ksmd): parse general_profit as a signed value The kernel prints /sys/kernel/mm/ksm/general_profit as a signed long, and it is negative when KSM costs more memory than it saves. It was read with ParseUint like the other files, so a negative value made Update return an error and drop every ksmd metric after full_scans, failing the collector for that scrape. Read general_profit with ParseInt. Use a negative value in the sys fixture and add a ksmd unit test, and update the e2e output. Signed-off-by: Sanchit2662 <sanchit2662@gmail.com> * ksmd: drop redundant unit test, update 64k-page e2e output The negative general_profit case is covered by the e2e output test, so remove the separate unit test. Update e2e-64k-page-output.txt (used on aarch64 and ppc64le) to match the changed sys fixture. Signed-off-by: Sanchit2662 <sanchit2662@gmail.com> * ksmd: update 64k-page e2e output Signed-off-by: Sanchit2662 <sanchit2662@gmail.com> --------- Signed-off-by: Sanchit2662 <sanchit2662@gmail.com>
…3.0 (prometheus#3907) Bumps [github.com/jsimonetti/rtnetlink/v2](https://github.com/jsimonetti/rtnetlink) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/jsimonetti/rtnetlink/releases) - [Commits](jsimonetti/rtnetlink@v2.2.0...v2.3.0) --- updated-dependencies: - dependency-name: github.com/jsimonetti/rtnetlink/v2 dependency-version: 2.3.0 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>
Bumps the golang-org-x group with 1 update: [golang.org/x/sys](https://github.com/golang/sys). Updates `golang.org/x/sys` from 0.49.0 to 0.50.0 - [Commits](golang/sys@v0.49.0...v0.50.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-version: 0.50.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-org-x ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The behavior of `node_cpu_frequency_hertz` has changed. There are two different sources of data for this metric. One from the `cpu` collector, one from the `cpufreq` collector. Due to historical feature migrations the `cpufreq` collector shares the same subsystem as the `cpu` collector. This caused conflicting data behavior. An attempt to fix this was introduced in prometheus#3318. This behavior has been reverted to the previous behavior in prometheus#3795. A new flag (`--collector.cpufreq.enable-cpufreq-prefix`) has been introduced that gives the `cpufreq` a dedicated metric name subsystem (`node_cpufreq_...`). This will likely be the default in v2. * [CHANGE] netstat: Use procfs parsers for netstat, snmp and snmp6 prometheus#3796 * [CHANGE] edac: Fix no data results prometheus#3863 * [CHANGE] nvme: Deprecate metric nvme_namespace_capacity_bytes prometheus#3899 * [FEATURE] Add tainted collector for /proc/sys/kernel/tainted prometheus#3745 * [FEATURE] Add resctrl collector prometheus#3797 * [ENHANCEMENT] netstat: Add new FreeBSD metrics prometheus#3334 * [ENHANCEMENT] Add `chip` label to DRM metrics prometheus#3572 * [ENHANCEMENT] diskstats: add device-mapper backing device info metric prometheus#3676 * [ENHANCEMENT] textfile: support UTF-8 metric and label names prometheus#3729 * [ENHANCEMENT] ksmd: add general_profit metric prometheus#3778 prometheus#3894 * [BUGFIX] edac: Fix printf-style formatting in slog call prometheus#3759 * [BUGFIX] fibre_channel: fix crash when attempting to dereference invalid counters prometheus#3573 * [BUGFIX] thermal: Fix collecting Darwin temperatures without CPU power status prometheus#3767 * [BUGFIX] fibrechannel: Fix for ppc64le prometheus#3769 * [BUGFIX] cpu: Revert dup cpu frequency, add node_cpufreq flag prometheus#3795 * [BUGFIX] infiniband: skip sysfs reads for excluded devices prometheus#3824 * [BUGFIX] bcache: Fix btree_read_average_duration_seconds unit prometheus#3828 Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
…texts (prometheus#3866) * textfile: fix panic on a metric without HELP after inconsistent help texts Once a metric has been seen with two different help texts, every later family with the same name is treated as inconsistent. If such a later family has no HELP line, the collector dereferenced its nil help text and panicked. The panic happens in the per-collector goroutine, so it takes down node_exporter. Use the getter for the log line and keep the recorded help text when the new family has none. Signed-off-by: vigneshwar <applemacbook6sep2004@gmail.com> * textfile: move the missing help test into the fixtures Cover the inconsistent help case with a fixture in TestTextfileCollector instead of a separate test that writes files, and drop the extra comment. Signed-off-by: vigneshwar <applemacbook6sep2004@gmail.com> --------- Signed-off-by: vigneshwar <applemacbook6sep2004@gmail.com> Co-authored-by: Ben Kochie <superq@gmail.com>
…eus#3827) While a device is being shrunk, its size is already reduced but the extents beyond it are still allocated, so bytes used exceeds the size and the unsigned subtraction reports ~1.8e19 instead of a negative value. Signed-off-by: Finomosec <1665799+Finomosec@users.noreply.github.com> Co-authored-by: Ben Kochie <superq@gmail.com>
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/pipeline required |
|
Scheduling required tests: |
|
/test okd-scos-images |
* [BUGFIX] btrfs: Fix device_unused_bytes wrapping around during shrink prometheus#3827 * [BUGFIX] textfile: fix panic on a metric without HELP after inconsistent help texts prometheus#3866 Signed-off-by: Ben Kochie <superq@gmail.com>
v1.13.1
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
174a744 to
c181fba
Compare
|
@openshift-monitoring-bot[bot]: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
This is an automated version bump from CI.
The logs for this run can be found in the syncbot repo actions.