-
Notifications
You must be signed in to change notification settings - Fork 21
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
patch: eventDispatcher metrics, remove event type label and introduce scheme label #485
patch: eventDispatcher metrics, remove event type label and introduce scheme label #485
Conversation
denopink
commented
Oct 11, 2024
•
edited
Loading
edited
- remove event type label
- add scheme label
- add tests for eventDispatcher metrics
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #485 +/- ##
==========================================
+ Coverage 59.15% 59.42% +0.26%
==========================================
Files 18 18
Lines 1496 1496
==========================================
+ Hits 885 889 +4
+ Misses 569 565 -4
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
url
label to unknown
6c3cc9c
to
473d831
Compare
err = ErrorUnroutableDestination | ||
d.logger.Error("Unroutable destination", zap.Any("destination", destination)) | ||
} | ||
scheme, err = d.routeMessageReceivedEvent(event) |
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.
took this opportunity to make the code more readable/maintainable and reduce its cognitive load
… scheme label - remove event type label - add scheme label - add tests for eventDispatcher metrics
473d831
to
b62d065
Compare