[PR #1310] Add metrics for PeersUpdateManager #3072

Open
opened 2025-11-20 08:04:52 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/1310

State: closed
Merged: Yes


With this change we should be able to collect and expose the following histograms:

  • management.updatechannel.create.duration.ms with closed boolean label
  • management.updatechannel.create.duration.micro with closed boolean label
  • management.updatechannel.close.one.duration.ms
  • management.updatechannel.close.one.duration.micro
  • management.updatechannel.close.multiple.duration.ms
  • management.updatechannel.close.multiple.duration.micro
  • management.updatechannel.close.multiple.channels
  • management.updatechannel.send.duration.ms with found and dropped boolean labels
  • management.updatechannel.send.duration.micro with found and dropped boolean labels
  • management.updatechannel.get.all.duration.ms
  • management.updatechannel.get.all.duration.micro
  • management.updatechannel.get.all.peers

Describe your changes

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/1310 **State:** closed **Merged:** Yes --- With this change we should be able to collect and expose the following histograms: * `management.updatechannel.create.duration.ms` with `closed` boolean label * `management.updatechannel.create.duration.micro` with `closed` boolean label * `management.updatechannel.close.one.duration.ms` * `management.updatechannel.close.one.duration.micro` * `management.updatechannel.close.multiple.duration.ms` * `management.updatechannel.close.multiple.duration.micro` * `management.updatechannel.close.multiple.channels` * `management.updatechannel.send.duration.ms` with `found` and `dropped` boolean labels * `management.updatechannel.send.duration.micro` with `found` and `dropped` boolean labels * `management.updatechannel.get.all.duration.ms` * `management.updatechannel.get.all.duration.micro` * `management.updatechannel.get.all.peers` ## Describe your changes ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:04:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#3072