Skip to content
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

Make eventing channel metrics generic enough to be used by other impl #5478

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

skonto
Copy link
Contributor

@skonto skonto commented Jun 7, 2021

Proposed Changes

  • Expose the func for parsing dispatch execution info to be used by other channel implementations
  • Rename metric description for Event dispatch metrics to be more generic

For more check here why these changes are needed.

Pre-review Checklist

  • At least 80% unit test coverage
  • E2E tests for any new behavior
  • Docs PR for any user-facing impact
  • Spec PR for any new API feature
  • Conformance test for any change to the spec
    This does not add new func its basically a refactoring.

/cc @slinkydeveloper @matzew

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 7, 2021
@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 7, 2021
@skonto
Copy link
Contributor Author

skonto commented Jun 7, 2021

Conformance test timed out.

@skonto
Copy link
Contributor Author

skonto commented Jun 7, 2021

/retest

Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, skonto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 8, 2021
@knative-prow-robot knative-prow-robot merged commit b05d993 into knative:main Jun 8, 2021
skonto added a commit to skonto/eventing that referenced this pull request Jun 16, 2021
openshift-merge-robot pushed a commit to openshift/knative-eventing that referenced this pull request Jun 17, 2021
…ka (#1318)

* make eventing metrics generic (knative#5478)

* Expose dispatch result to be used by other implementations (knative#5481)

* expose dispatch result to be used by other implementations

* expose fields

* add getters etc

* less verbose

* Use transformers efficiently for extracting info for metrics in Kafka Channel  (knative#5505)

* use transformers for extracting event type for metrics

* fix

* fix

* pass transformers to executeRequest (knative#5512)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants