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

style: returns procfs build-in error like other parsing methods #630

Merged
merged 1 commit into from Apr 8, 2024

Conversation

weidongkl
Copy link
Contributor

For file parsing errors, procfs defines error ErrFileParse. Other architectures, such as x86 ,arm,mips, use ErrFileParse to return parsing errors. Loong should do this too.

Signed-off-by: weidongkl <weidong@uniontech.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 3387ec6 into prometheus:master Apr 8, 2024
9 checks passed
codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Apr 23, 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.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.13.0/v0.14.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.14.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.14.0)

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

#### What's Changed

- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#613
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#615
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#616
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#621
- Revert add avgRTT to nfs mountstats
[#&#8203;487](https://togithub.com/prometheus/procfs/issues/487) by
[@&#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#625
- style: returns procfs build-in error like other parsing methods by
[@&#8203;weidongkl](https://togithub.com/weidongkl) in
[prometheus/procfs#630
- update MAINTAINERS.md by [@&#8203;pgier](https://togithub.com/pgier)
in
[prometheus/procfs#629
- \*: `s/(%v|%s)/%w` and use `go1.20` by
[@&#8203;rexagod](https://togithub.com/rexagod) in
[prometheus/procfs#617
- chore: Use kernel-compliant types for `{U,G}IDs` by
[@&#8203;rexagod](https://togithub.com/rexagod) in
[prometheus/procfs#620
- Update Go versions by [@&#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#632
- fix: same TCP connection appears twice by
[@&#8203;weidongkl](https://togithub.com/weidongkl) in
[prometheus/procfs#631
- Revert "fix: same TCP connection appears twice" by
[@&#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#633

#### New Contributors

- [@&#8203;rexagod](https://togithub.com/rexagod) made their first
contribution in
[prometheus/procfs#617

**Full Changelog**:
prometheus/procfs@v0.13.0...v0.14.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
rimitchell pushed a commit to rimitchell/opentelemetry-collector-contrib that referenced this pull request May 8, 2024
…n-telemetry#32636)

[![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.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.13.0/v0.14.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.14.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.14.0)

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

#### What's Changed

- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#613
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#615
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#616
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#621
- Revert add avgRTT to nfs mountstats
[#&open-telemetry#8203;487](https://togithub.com/prometheus/procfs/issues/487) by
[@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#625
- style: returns procfs build-in error like other parsing methods by
[@&open-telemetry#8203;weidongkl](https://togithub.com/weidongkl) in
[prometheus/procfs#630
- update MAINTAINERS.md by [@&open-telemetry#8203;pgier](https://togithub.com/pgier)
in
[prometheus/procfs#629
- \*: `s/(%v|%s)/%w` and use `go1.20` by
[@&open-telemetry#8203;rexagod](https://togithub.com/rexagod) in
[prometheus/procfs#617
- chore: Use kernel-compliant types for `{U,G}IDs` by
[@&open-telemetry#8203;rexagod](https://togithub.com/rexagod) in
[prometheus/procfs#620
- Update Go versions by [@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#632
- fix: same TCP connection appears twice by
[@&open-telemetry#8203;weidongkl](https://togithub.com/weidongkl) in
[prometheus/procfs#631
- Revert "fix: same TCP connection appears twice" by
[@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#633

#### New Contributors

- [@&open-telemetry#8203;rexagod](https://togithub.com/rexagod) made their first
contribution in
[prometheus/procfs#617

**Full Changelog**:
prometheus/procfs@v0.13.0...v0.14.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
jlg-io pushed a commit to jlg-io/opentelemetry-collector-contrib that referenced this pull request May 14, 2024
…n-telemetry#32636)

[![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.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.13.0/v0.14.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.14.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.14.0)

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

#### What's Changed

- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#613
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#615
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#616
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://togithub.com/prombot) in
[prometheus/procfs#621
- Revert add avgRTT to nfs mountstats
[#&open-telemetry#8203;487](https://togithub.com/prometheus/procfs/issues/487) by
[@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#625
- style: returns procfs build-in error like other parsing methods by
[@&open-telemetry#8203;weidongkl](https://togithub.com/weidongkl) in
[prometheus/procfs#630
- update MAINTAINERS.md by [@&open-telemetry#8203;pgier](https://togithub.com/pgier)
in
[prometheus/procfs#629
- \*: `s/(%v|%s)/%w` and use `go1.20` by
[@&open-telemetry#8203;rexagod](https://togithub.com/rexagod) in
[prometheus/procfs#617
- chore: Use kernel-compliant types for `{U,G}IDs` by
[@&open-telemetry#8203;rexagod](https://togithub.com/rexagod) in
[prometheus/procfs#620
- Update Go versions by [@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#632
- fix: same TCP connection appears twice by
[@&open-telemetry#8203;weidongkl](https://togithub.com/weidongkl) in
[prometheus/procfs#631
- Revert "fix: same TCP connection appears twice" by
[@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in
[prometheus/procfs#633

#### New Contributors

- [@&open-telemetry#8203;rexagod](https://togithub.com/rexagod) made their first
contribution in
[prometheus/procfs#617

**Full Changelog**:
prometheus/procfs@v0.13.0...v0.14.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.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.

None yet

2 participants