Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infiniband: support Intel irdma devices #605

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

dswarbrick
Copy link
Contributor

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.

Some background info added as function description comments also.

Fixes: #589

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: prometheus#589

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@SuperQ SuperQ merged commit 868112d into prometheus:master Feb 15, 2024
9 checks passed
@dswarbrick dswarbrick deleted the infiniband-irdma branch February 15, 2024 13:48
dmitryax referenced this pull request in open-telemetry/opentelemetry-collector-contrib Mar 12, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/procfs](https://togithub.com/prometheus/procfs)
| `v0.12.0` -> `v0.13.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/procfs (github.com/prometheus/procfs)</summary>

###
[`v0.13.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.13.0)

[Compare
Source](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.13.0)

#### What's Changed

- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/578](https://togithub.com/prometheus/procfs/pull/578)
- fix(meminfo): account for optional unit field so values are accurate
by [@&#8203;tjhop](https://togithub.com/tjhop) in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/584](https://togithub.com/prometheus/procfs/pull/584)
- Bump golang.org/x/sys from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/583](https://togithub.com/prometheus/procfs/pull/583)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/586](https://togithub.com/prometheus/procfs/pull/586)
- Bump golang.org/x/sync from 0.3.0 to 0.5.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/587](https://togithub.com/prometheus/procfs/pull/587)
- Update crypto.go, fix incorrect spelling by
[@&#8203;linuxgcc](https://togithub.com/linuxgcc) in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- Add udp drops by [@&#8203;alebsys](https://togithub.com/alebsys) in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/590](https://togithub.com/prometheus/procfs/pull/590)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/595](https://togithub.com/prometheus/procfs/pull/595)
- meminfo: add Percpu field by
[@&#8203;manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- Bump golang.org/x/sys from 0.13.0 to 0.15.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/593](https://togithub.com/prometheus/procfs/pull/593)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/596](https://togithub.com/prometheus/procfs/pull/596)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/598](https://togithub.com/prometheus/procfs/pull/598)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/600](https://togithub.com/prometheus/procfs/pull/600)
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/602](https://togithub.com/prometheus/procfs/pull/602)
- Bump golang.org/x/sys from 0.15.0 to 0.16.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/603](https://togithub.com/prometheus/procfs/pull/603)
- infiniband: support Intel irdma devices by
[@&#8203;dswarbrick](https://togithub.com/dswarbrick) in
[https://github.com/prometheus/procfs/pull/605](https://togithub.com/prometheus/procfs/pull/605)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/604](https://togithub.com/prometheus/procfs/pull/604)
- golint: redundant type from array, slice, or map composite literal by
[@&#8203;manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/601](https://togithub.com/prometheus/procfs/pull/601)
- feat: Add `/sys/fs/btrfs/<FSID>/commit_stats` statistics by
[@&#8203;dongjiang1989](https://togithub.com/dongjiang1989) in
[https://github.com/prometheus/procfs/pull/580](https://togithub.com/prometheus/procfs/pull/580)
- Add support for guest_time and cguest_time stats. by
[@&#8203;thomasbarrett](https://togithub.com/thomasbarrett) in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- Add `/sys/class/watchdog` statistics by
[@&#8203;gavinkflam](https://togithub.com/gavinkflam) in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- Add support for for /proc/net/tls_data kTLS stats by
[@&#8203;defect](https://togithub.com/defect) in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/606](https://togithub.com/prometheus/procfs/pull/606)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/608](https://togithub.com/prometheus/procfs/pull/608)
- chore: class_fibrechannel: support optional attributes by
[@&#8203;machine424](https://togithub.com/machine424) in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/609](https://togithub.com/prometheus/procfs/pull/609)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/610](https://togithub.com/prometheus/procfs/pull/610)
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/611](https://togithub.com/prometheus/procfs/pull/611)

#### New Contributors

- [@&#8203;tjhop](https://togithub.com/tjhop) made their first
contribution in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- [@&#8203;linuxgcc](https://togithub.com/linuxgcc) made their first
contribution in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- [@&#8203;alebsys](https://togithub.com/alebsys) made their first
contribution in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- [@&#8203;manas-rust](https://togithub.com/manas-rust) made their first
contribution in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- [@&#8203;thomasbarrett](https://togithub.com/thomasbarrett) made their
first contribution in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- [@&#8203;gavinkflam](https://togithub.com/gavinkflam) made their first
contribution in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- [@&#8203;defect](https://togithub.com/defect) made their first
contribution in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- [@&#8203;machine424](https://togithub.com/machine424) made their first
contribution in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)

**Full Changelog**:
prometheus/procfs@v0.12.0...v0.13.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
DougManton referenced this pull request in DougManton/opentelemetry-collector-contrib Mar 13, 2024
…n-telemetry#31714)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/procfs](https://togithub.com/prometheus/procfs)
| `v0.12.0` -> `v0.13.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/procfs (github.com/prometheus/procfs)</summary>

###
[`v0.13.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.13.0)

[Compare
Source](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.13.0)

#### What's Changed

- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/578](https://togithub.com/prometheus/procfs/pull/578)
- fix(meminfo): account for optional unit field so values are accurate
by [@&open-telemetry#8203;tjhop](https://togithub.com/tjhop) in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/584](https://togithub.com/prometheus/procfs/pull/584)
- Bump golang.org/x/sys from 0.12.0 to 0.13.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/583](https://togithub.com/prometheus/procfs/pull/583)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/586](https://togithub.com/prometheus/procfs/pull/586)
- Bump golang.org/x/sync from 0.3.0 to 0.5.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/587](https://togithub.com/prometheus/procfs/pull/587)
- Update crypto.go, fix incorrect spelling by
[@&open-telemetry#8203;linuxgcc](https://togithub.com/linuxgcc) in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- Add udp drops by [@&open-telemetry#8203;alebsys](https://togithub.com/alebsys) in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/590](https://togithub.com/prometheus/procfs/pull/590)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/595](https://togithub.com/prometheus/procfs/pull/595)
- meminfo: add Percpu field by
[@&open-telemetry#8203;manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- Bump golang.org/x/sys from 0.13.0 to 0.15.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/593](https://togithub.com/prometheus/procfs/pull/593)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/596](https://togithub.com/prometheus/procfs/pull/596)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/598](https://togithub.com/prometheus/procfs/pull/598)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/600](https://togithub.com/prometheus/procfs/pull/600)
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/602](https://togithub.com/prometheus/procfs/pull/602)
- Bump golang.org/x/sys from 0.15.0 to 0.16.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/603](https://togithub.com/prometheus/procfs/pull/603)
- infiniband: support Intel irdma devices by
[@&open-telemetry#8203;dswarbrick](https://togithub.com/dswarbrick) in
[https://github.com/prometheus/procfs/pull/605](https://togithub.com/prometheus/procfs/pull/605)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/604](https://togithub.com/prometheus/procfs/pull/604)
- golint: redundant type from array, slice, or map composite literal by
[@&open-telemetry#8203;manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/601](https://togithub.com/prometheus/procfs/pull/601)
- feat: Add `/sys/fs/btrfs/<FSID>/commit_stats` statistics by
[@&open-telemetry#8203;dongjiang1989](https://togithub.com/dongjiang1989) in
[https://github.com/prometheus/procfs/pull/580](https://togithub.com/prometheus/procfs/pull/580)
- Add support for guest_time and cguest_time stats. by
[@&open-telemetry#8203;thomasbarrett](https://togithub.com/thomasbarrett) in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- Add `/sys/class/watchdog` statistics by
[@&open-telemetry#8203;gavinkflam](https://togithub.com/gavinkflam) in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- Add support for for /proc/net/tls_data kTLS stats by
[@&open-telemetry#8203;defect](https://togithub.com/defect) in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/606](https://togithub.com/prometheus/procfs/pull/606)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/608](https://togithub.com/prometheus/procfs/pull/608)
- chore: class_fibrechannel: support optional attributes by
[@&open-telemetry#8203;machine424](https://togithub.com/machine424) in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/609](https://togithub.com/prometheus/procfs/pull/609)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/610](https://togithub.com/prometheus/procfs/pull/610)
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/611](https://togithub.com/prometheus/procfs/pull/611)

#### New Contributors

- [@&open-telemetry#8203;tjhop](https://togithub.com/tjhop) made their first
contribution in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- [@&open-telemetry#8203;linuxgcc](https://togithub.com/linuxgcc) made their first
contribution in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- [@&open-telemetry#8203;alebsys](https://togithub.com/alebsys) made their first
contribution in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- [@&open-telemetry#8203;manas-rust](https://togithub.com/manas-rust) made their first
contribution in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- [@&open-telemetry#8203;thomasbarrett](https://togithub.com/thomasbarrett) made their
first contribution in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- [@&open-telemetry#8203;gavinkflam](https://togithub.com/gavinkflam) made their first
contribution in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- [@&open-telemetry#8203;defect](https://togithub.com/defect) made their first
contribution in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- [@&open-telemetry#8203;machine424](https://togithub.com/machine424) made their first
contribution in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)

**Full Changelog**:
prometheus/procfs@v0.12.0...v0.13.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
XinRanZhAWS referenced this pull request in XinRanZhAWS/opentelemetry-collector-contrib Mar 13, 2024
…n-telemetry#31714)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/procfs](https://togithub.com/prometheus/procfs)
| `v0.12.0` -> `v0.13.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/procfs (github.com/prometheus/procfs)</summary>

###
[`v0.13.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.13.0)

[Compare
Source](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.13.0)

#### What's Changed

- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/578](https://togithub.com/prometheus/procfs/pull/578)
- fix(meminfo): account for optional unit field so values are accurate
by [@&open-telemetry#8203;tjhop](https://togithub.com/tjhop) in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/584](https://togithub.com/prometheus/procfs/pull/584)
- Bump golang.org/x/sys from 0.12.0 to 0.13.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/583](https://togithub.com/prometheus/procfs/pull/583)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/586](https://togithub.com/prometheus/procfs/pull/586)
- Bump golang.org/x/sync from 0.3.0 to 0.5.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/587](https://togithub.com/prometheus/procfs/pull/587)
- Update crypto.go, fix incorrect spelling by
[@&open-telemetry#8203;linuxgcc](https://togithub.com/linuxgcc) in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- Add udp drops by [@&open-telemetry#8203;alebsys](https://togithub.com/alebsys) in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/590](https://togithub.com/prometheus/procfs/pull/590)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/595](https://togithub.com/prometheus/procfs/pull/595)
- meminfo: add Percpu field by
[@&open-telemetry#8203;manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- Bump golang.org/x/sys from 0.13.0 to 0.15.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/593](https://togithub.com/prometheus/procfs/pull/593)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/596](https://togithub.com/prometheus/procfs/pull/596)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/598](https://togithub.com/prometheus/procfs/pull/598)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/600](https://togithub.com/prometheus/procfs/pull/600)
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/602](https://togithub.com/prometheus/procfs/pull/602)
- Bump golang.org/x/sys from 0.15.0 to 0.16.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/603](https://togithub.com/prometheus/procfs/pull/603)
- infiniband: support Intel irdma devices by
[@&open-telemetry#8203;dswarbrick](https://togithub.com/dswarbrick) in
[https://github.com/prometheus/procfs/pull/605](https://togithub.com/prometheus/procfs/pull/605)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/604](https://togithub.com/prometheus/procfs/pull/604)
- golint: redundant type from array, slice, or map composite literal by
[@&open-telemetry#8203;manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/601](https://togithub.com/prometheus/procfs/pull/601)
- feat: Add `/sys/fs/btrfs/<FSID>/commit_stats` statistics by
[@&open-telemetry#8203;dongjiang1989](https://togithub.com/dongjiang1989) in
[https://github.com/prometheus/procfs/pull/580](https://togithub.com/prometheus/procfs/pull/580)
- Add support for guest_time and cguest_time stats. by
[@&open-telemetry#8203;thomasbarrett](https://togithub.com/thomasbarrett) in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- Add `/sys/class/watchdog` statistics by
[@&open-telemetry#8203;gavinkflam](https://togithub.com/gavinkflam) in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- Add support for for /proc/net/tls_data kTLS stats by
[@&open-telemetry#8203;defect](https://togithub.com/defect) in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/606](https://togithub.com/prometheus/procfs/pull/606)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/608](https://togithub.com/prometheus/procfs/pull/608)
- chore: class_fibrechannel: support optional attributes by
[@&open-telemetry#8203;machine424](https://togithub.com/machine424) in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/609](https://togithub.com/prometheus/procfs/pull/609)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/610](https://togithub.com/prometheus/procfs/pull/610)
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/611](https://togithub.com/prometheus/procfs/pull/611)

#### New Contributors

- [@&open-telemetry#8203;tjhop](https://togithub.com/tjhop) made their first
contribution in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- [@&open-telemetry#8203;linuxgcc](https://togithub.com/linuxgcc) made their first
contribution in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- [@&open-telemetry#8203;alebsys](https://togithub.com/alebsys) made their first
contribution in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- [@&open-telemetry#8203;manas-rust](https://togithub.com/manas-rust) made their first
contribution in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- [@&open-telemetry#8203;thomasbarrett](https://togithub.com/thomasbarrett) made their
first contribution in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- [@&open-telemetry#8203;gavinkflam](https://togithub.com/gavinkflam) made their first
contribution in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- [@&open-telemetry#8203;defect](https://togithub.com/defect) made their first
contribution in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- [@&open-telemetry#8203;machine424](https://togithub.com/machine424) made their first
contribution in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)

**Full Changelog**:
prometheus/procfs@v0.12.0...v0.13.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
jritter pushed a commit to jritter/procfs that referenced this pull request Jul 15, 2024
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: prometheus#589

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

procfs still unable to collect IB counters
2 participants