Skip to content

feat(p2p): pre-allocate static labels used to produce metrics (backport #2851)#2877

Merged
melekes merged 2 commits intov1.xfrom
mergify/bp/v1.x/pr-2851
Apr 24, 2024
Merged

feat(p2p): pre-allocate static labels used to produce metrics (backport #2851)#2877
melekes merged 2 commits intov1.xfrom
mergify/bp/v1.x/pr-2851

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Apr 23, 2024

Addresses #2840.

The same approach taken for the send() method is also adopted for the onReceive() method.


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 #2851 done by [Mergify](https://mergify.com).

Addresses #2840.

The same approach taken for the `send()` method is also adopted for the
`onReceive()` method.

---

#### 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
- [x] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit 7673d74)
@mergify mergify bot requested a review from a team as a code owner April 23, 2024 15:44
@mergify mergify bot requested a review from a team April 23, 2024 15:44
Copy link

@cason cason left a comment

Choose a reason for hiding this comment

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

Diffs are identical.

@melekes melekes merged commit 737f916 into v1.x Apr 24, 2024
@melekes melekes deleted the mergify/bp/v1.x/pr-2851 branch April 24, 2024 05:30
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.

2 participants