-
Notifications
You must be signed in to change notification settings - Fork 65
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
[MM-55268] Expose metrics through new ServeMetrics
hook
#556
Conversation
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.
🎉
/update-branch |
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.
Tested and passed
I can now see metrics exposed at http://localhost:8067/plugins/com.mattermost.calls/metrics
Seems to be functional. I can see metrics when the plugin is in use.
LGTM!
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #556 +/- ##
========================================
- Coverage 5.76% 5.76% -0.01%
========================================
Files 24 24
Lines 4559 4561 +2
========================================
Hits 263 263
- Misses 4278 4280 +2
Partials 18 18 ☔ View full report in Codecov by Sentry. |
Summary
We implement the
ServeMetrics
hook introduced in mattermost/mattermost#24249.@DHaussermann Adding you since we need some basic QA on the related server side PR. So the QA work is the same for both PRs as we'll be using Calls as a test plugin. We just want to verify that metrics will be exposed under http://localhost:8067/plugins/com.mattermost.calls/metrics when running a build from this PR against a MM server with the changes above.
Ticket Link
https://mattermost.atlassian.net/browse/MM-55268