Skip to content

Going back to 9090 for ingress/filter metrics#5649

Closed
matzew wants to merge 1 commit into
knative:mainfrom
matzew:use_9090_metrics_ports
Closed

Going back to 9090 for ingress/filter metrics#5649
matzew wants to merge 1 commit into
knative:mainfrom
matzew:use_9090_metrics_ports

Conversation

@matzew
Copy link
Copy Markdown
Member

@matzew matzew commented Aug 20, 2021

Signed-off-by: Matthias Wessendorf mwessend@redhat.com

Fixes #

Proposed Changes

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

Broker ingress and filter pods use 9090 port for metrics.

Docs

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 20, 2021
@google-cla google-cla Bot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 20, 2021
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 20, 2021
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew

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 Aug 20, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 20, 2021

Codecov Report

Merging #5649 (2aa1046) into main (19fcdf4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5649   +/-   ##
=======================================
  Coverage   82.73%   82.73%           
=======================================
  Files         200      200           
  Lines        6266     6266           
=======================================
  Hits         5184     5184           
  Misses        750      750           
  Partials      332      332           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19fcdf4...2aa1046. Read the comment docs.

@matzew matzew changed the title WIP: Going back to 9090 for ingress/filter metrics Going back to 9090 for ingress/filter metrics Aug 20, 2021
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 20, 2021
@matzew
Copy link
Copy Markdown
Member Author

matzew commented Aug 21, 2021

/assign @skonto

@n3wscott
Copy link
Copy Markdown
Contributor

We still might use a ksvc for this though. This seems like unneeded churn.

@skonto
Copy link
Copy Markdown
Contributor

skonto commented Aug 27, 2021

We could switch to 9090 as the default (so we align all ports) and make broker ksvc setup a bit manual by documenting that:

A user can still set the broker exporter to listen to an arbitrary port eg. 9092 by modifying deployment yaml files and setting the corresponding env var METRICS_PROMETHEUS_PORT.

Additionally the Knative operator could support ksvc configuration of core components (eg. for auto-scaling) by setting the right configuration on the fly without user intervention.
In general it would be nice to document in Knative docs which ports are used for what by default (I think we miss that part).

@matzew
Copy link
Copy Markdown
Member Author

matzew commented Oct 29, 2021

/close
what ever...

@knative-prow-robot
Copy link
Copy Markdown
Contributor

@matzew: Closed this PR.

Details

In response to this:

/close
what ever...

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/test-infra repository.

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

4 participants