Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Add additional subscription metrics #18071

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

CriesofCarrots
Copy link
Contributor

Problem

Pubsub dashboard reports number of notifications, but not number of subscriptions. We want to track number of subscriptions in order to trace memory usage on the nodes

Summary of Changes

On check_subscription_count(), report number of subscriptions to metrics server. Also report number of subscription attempts refused due to limit.

@CriesofCarrots CriesofCarrots added v1.6 automerge Merge this Pull Request automatically once CI passes labels Jun 18, 2021
@codecov
Copy link

codecov bot commented Jun 18, 2021

Codecov Report

Merging #18071 (b08524a) into master (5a99fa3) will decrease coverage by 0.0%.
The diff coverage is 33.3%.

@@            Coverage Diff            @@
##           master   #18071     +/-   ##
=========================================
- Coverage    82.3%    82.3%   -0.1%     
=========================================
  Files         434      434             
  Lines      121236   121239      +3     
=========================================
+ Hits        99856    99857      +1     
- Misses      21380    21382      +2     

@mergify mergify bot merged commit 83a6c66 into solana-labs:master Jun 18, 2021
mergify bot pushed a commit that referenced this pull request Jun 18, 2021
mergify bot pushed a commit that referenced this pull request Jun 18, 2021
mergify bot added a commit that referenced this pull request Jun 18, 2021
(cherry picked from commit 83a6c66)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
mergify bot added a commit that referenced this pull request Jun 19, 2021
(cherry picked from commit 83a6c66)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
@CriesofCarrots CriesofCarrots deleted the subscription-metric branch July 28, 2021 22:30
This was referenced Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant