Skip to content

Make broker filter/ingress default PrometheusPort to 9092 (as long as different than 9090)#2406

Merged
knative-prow-robot merged 3 commits into
knative:masterfrom
yolocs:f/ksvc-compt
Jan 27, 2020
Merged

Make broker filter/ingress default PrometheusPort to 9092 (as long as different than 9090)#2406
knative-prow-robot merged 3 commits into
knative:masterfrom
yolocs:f/ksvc-compt

Conversation

@yolocs
Copy link
Copy Markdown
Contributor

@yolocs yolocs commented Jan 18, 2020

Fixes one problem pointed out in #2405

Proposed Changes

  • Defaulting the PrometheusPort to 9092 to avoid conflict with serving queue-proxy metrics port.

Release Note

Make broker filter/ingress default PrometheusPort to 9092

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jan 18, 2020
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 18, 2020
@chizhg
Copy link
Copy Markdown
Contributor

chizhg commented Jan 20, 2020

/retest

@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Jan 21, 2020

Also @nachocano

Copy link
Copy Markdown
Contributor

@grantr grantr left a comment

Choose a reason for hiding this comment

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

Do we also need to change a configuration elsewhere to tell it about this new port?

Comment thread cmd/broker/filter/main.go Outdated
@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Jan 21, 2020

Do we also need to change a configuration elsewhere to tell it about this new port?

My understanding is that this port is not actively used. Users can set up port forwarding to this port to check out metrics. @yanweiguo for confirmation.

Copy link
Copy Markdown
Contributor

@vaikas vaikas left a comment

Choose a reason for hiding this comment

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

Just curious if we should upstream this change rather than have our own copy here?

Comment thread cmd/broker/filter/main.go Outdated
@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Jan 27, 2020

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 27, 2020
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vaikas, yolocs

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-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 27, 2020
@yanweiguo
Copy link
Copy Markdown
Contributor

Do we also need to change a configuration elsewhere to tell it about this new port?

My understanding is that this port is not actively used. Users can set up port forwarding to this port to check out metrics. @yanweiguo for confirmation.

This port is where the metrics are exposed in Prometheus format. If you're reading this port from somewhere, you need to change to this new port.

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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants