Skip to content

fixed invalid metric name and added scrape config for inmemory channel#1747

Merged
knative-prow-robot merged 4 commits into
knative:masterfrom
capri-xiyue:issue_139701565
Aug 28, 2019
Merged

fixed invalid metric name and added scrape config for inmemory channel#1747
knative-prow-robot merged 4 commits into
knative:masterfrom
capri-xiyue:issue_139701565

Conversation

@capri-xiyue
Copy link
Copy Markdown
Contributor

@capri-xiyue capri-xiyue commented Aug 28, 2019

Fixes

Proposed Changes

  • fixed invalid metric name and added scrape config for inmemory channel

Release Note

 the sources-controller and the imc-controller are scrapable

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 28, 2019
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 28, 2019
Comment thread --selector=app=prometheus Outdated
Comment thread config/monitoring/metrics/prometheus/100-prometheus-scrape-kn-eventing.yaml Outdated
@capri-xiyue
Copy link
Copy Markdown
Contributor Author

invalid metric name

Some metrics with prefix including "-" are not valid. Renamed the prefix names.

@capri-xiyue
Copy link
Copy Markdown
Contributor Author

/assign @nachocano

@nachocano
Copy link
Copy Markdown
Contributor

Can you update the description of the PR, and also add in the release notes that the sources-controller and the imc-controller are scrapable?
Also, can you do a search for "prometheus.io/scrape: "true"", to see where we are using that annotation and remove it as well?

@nachocano
Copy link
Copy Markdown
Contributor

/assign @Harwayne

Comment thread config/monitoring/metrics/prometheus/100-prometheus-scrape-kn-eventing.yaml Outdated
Comment thread cmd/in_memory/channel_controller/main.go
Copy link
Copy Markdown
Contributor

@Harwayne Harwayne 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 Aug 28, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: capri-xiyue, Harwayne

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 28, 2019
@knative-prow-robot knative-prow-robot merged commit 36058f4 into knative:master Aug 28, 2019
aslom pushed a commit to aslom/eventing that referenced this pull request Sep 5, 2019
knative#1747)

* fixed invalid metric name and added scrape config for inmemory channel

* refined formatting and delete auto-generated files

* added trailing newline

* removed app label and use the original label to scrape
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.

6 participants