fix: Add http.response.status_code to mt-broker-ingress and imc-dispatcher metrics#8891
Conversation
http.response.status_code to mt-broker-ingress and imc-dispatcher metrics
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8891 +/- ##
==========================================
- Coverage 50.64% 50.60% -0.04%
==========================================
Files 409 409
Lines 21650 21657 +7
==========================================
- Hits 10964 10960 -4
- Misses 9832 9843 +11
Partials 854 854 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Cali0707
left a comment
There was a problem hiding this comment.
@creydr what do you think of putting the specifics of response status code metrics into a reusable function similar to
eventing/pkg/observability/newcontext.go
Lines 74 to 88 in ec13a36
eventing/pkg/broker/filter/filter_handler.go
Lines 510 to 514 in ec13a36
Good point. Updated it |
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cali0707, creydr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Adding the missing
http.response.status_codeattribute to the mt-broker-ingress and imc-dispatcher metrics