Skip to content

fix(metric): message type in metric MessageReceiveBytesTotal is wrong (backport #2984)#2985

Merged
hvanz merged 1 commit intov1.xfrom
mergify/bp/v1.x/pr-2984
May 3, 2024
Merged

fix(metric): message type in metric MessageReceiveBytesTotal is wrong (backport #2984)#2985
hvanz merged 1 commit intov1.xfrom
mergify/bp/v1.x/pr-2984

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented May 2, 2024

In the metric MessageReceiveBytesTotal, the only value produced in the message_type label is v1_Message. This is because we are reading the msg variable before the message is unwrapped. This bug was recently introduced in #2851.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

This is an automatic backport of pull request #2984 done by [Mergify](https://mergify.com).

…ng (#2984)

In the metric `MessageReceiveBytesTotal`, the only value produced in the
`message_type` label is `v1_Message`. This is because we are reading the
`msg` variable before the message is unwrapped. This bug was recently
introduced in #2851.

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [ ] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit 33729e6)
@mergify mergify bot requested a review from a team as a code owner May 2, 2024 15:20
@mergify mergify bot requested a review from a team May 2, 2024 15:20
@hvanz hvanz merged commit 262bc20 into v1.x May 3, 2024
@hvanz hvanz deleted the mergify/bp/v1.x/pr-2984 branch May 3, 2024 06:35
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.

1 participant