-
Notifications
You must be signed in to change notification settings - Fork 249
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
chore: add additional metrics (websockets / node stats) #778
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #778 +/- ##
==========================================
- Coverage 62.14% 62.13% -0.01%
==========================================
Files 203 203
Lines 18688 18702 +14
==========================================
+ Hits 11613 11620 +7
- Misses 5975 5980 +5
- Partials 1100 1102 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just left a minor comment
api/subscriptions/subscriptions.go
Outdated
return conn, closed, nil | ||
paths := strings.Split(req.URL.Path, "/") | ||
subject := "unknown" | ||
if len(paths) > 2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add in a comment the format of the req.URL.Path
we expect to receive? Also with an example, so to better understand what that third place element could be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed that change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm !
Perhaps a suggestion (if not done yet), would be a sanity check before merging, to test and updated/change the grafana charts locally and check that they make sense ?
@otherview screenshots of the affected metrics: |
Description
Adding metrics around subscriptions and node stats
Please delete options that are not relevant.
How Has This Been Tested?
TODO
Checklist: