Skip to content

fix: rename job-sink to job_sink#8335

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
yatesliang:fix_job_sink_component
Nov 20, 2024
Merged

fix: rename job-sink to job_sink#8335
knative-prow[bot] merged 1 commit into
knative:mainfrom
yatesliang:fix_job_sink_component

Conversation

@yatesliang
Copy link
Copy Markdown
Contributor

Fixes #8296

Proposed Changes

Rename the JobSink component from 'job-sink' to job_sink to make the generated metrics meet the
Prometheus naming requirement.

ref: https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels

  • 🐛 Fix bug

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

Release Note

JobSink: all related metrics will start with prefix `job_sink` instead of `job-sink`

Docs

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Nov 20, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented Nov 20, 2024

Welcome @yatesliang! It looks like this is your first PR to knative/eventing 🎉

@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented Nov 20, 2024

Hi @yatesliang. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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.

@knative-prow knative-prow Bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 20, 2024
@pierDipi
Copy link
Copy Markdown
Member

/ok-to-test

@knative-prow knative-prow Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 20, 2024
Copy link
Copy Markdown
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

Thanks @yatesliang

/lgtm
/approve

/cc @mgencur

@knative-prow knative-prow Bot requested a review from mgencur November 20, 2024 16:23
@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 20, 2024
@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented Nov 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierDipi, yatesliang

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

The pull request process is described here

Details 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 knative-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 20, 2024
@pierDipi
Copy link
Copy Markdown
Member

/kind bug

@knative-prow knative-prow Bot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 20, 2024
@knative-prow knative-prow Bot merged commit 7f313d7 into knative:main Nov 20, 2024
@pierDipi
Copy link
Copy Markdown
Member

/cherry-pick release-1.15

@pierDipi
Copy link
Copy Markdown
Member

/cherry-pick release-1.16

@knative-prow-robot
Copy link
Copy Markdown
Contributor

@pierDipi: new pull request created: #8339

Details

In response to this:

/cherry-pick release-1.16

Instructions 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.

@knative-prow-robot
Copy link
Copy Markdown
Contributor

@pierDipi: new pull request created: #8340

Details

In response to this:

/cherry-pick release-1.15

Instructions 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.

matzew pushed a commit to matzew/eventing that referenced this pull request Apr 25, 2025
openshift-merge-bot Bot pushed a commit to openshift-knative/eventing that referenced this pull request Apr 28, 2025
Co-authored-by: yatesliang <yates.lyc@gmail.com>
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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JobSink controller logs Failed to export to Prometheus: "job-sink_client_latency" is not a valid metric name

3 participants