Repository navigation
fix(adapter): restore source labels on source adapter client metrics - #9608
RajPrakash681 wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: RajPrakash681 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @RajPrakash681. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
ab1e174 to
442aea0
Compare
|
/ok-to-test |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9608 +/- ##
==========================================
- Coverage 51.33% 51.32% -0.02%
==========================================
Files 412 412
Lines 22189 22193 +4
==========================================
- Hits 11391 11390 -1
- Misses 9917 9922 +5
Partials 881 881 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
442aea0 to
9839eef
Compare
| tick() | ||
| tick() | ||
|
|
||
| require.Len(t, *events, 2) |
There was a problem hiding this comment.
Could we call s.Close() before require.Len to ensure the HTTP handler has finished writing to events before the test reads it?
Signed-off-by: RajPrakash681 <rjnt452@gmail.com>
9839eef to
da02fa3
Compare
|
@RajPrakash681: The following test failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Fixes #9607
Proposed Changes
kn.source.name,kn.source.namespaceandcloudevents.typeon theirhttp.client.*metrics again. Since otelhttp v0.72.0 the Transport reads these attributes only from the client labeler.observability.WithClientLabels, which adds attributes to the client labeler. The adapters use it instead of the server-side helpers, which are unchanged.Pre-review Checklist
Release Note
Docs
knative/docs#6803