Skip to content

drop use of upstream knative.dev/pkg/metric eventing keys#5586

Merged
knative-prow-robot merged 3 commits into
knative:mainfrom
dprotaso:drop-knative-pkg-metrickeys
Jul 12, 2021
Merged

drop use of upstream knative.dev/pkg/metric eventing keys#5586
knative-prow-robot merged 3 commits into
knative:mainfrom
dprotaso:drop-knative-pkg-metrickeys

Conversation

@dprotaso
Copy link
Copy Markdown
Member

@dprotaso dprotaso commented Jul 12, 2021

Part of: knative/pkg#608

Proposed Changes

  • 🧹 moves eventing metric constants in knative.dev/pkg to here

Pre-review Checklist

- [ ] At least 80% unit test coverage N/A
- [ ] E2E tests for any new behavior N/A
- [ ] Docs PR for any user-facing impact N/A
- [ ] Spec PR for any new API feature N/A
- [ ] Conformance test for any change to the spec - N/A

Release Note

NONE

Docs

@google-cla google-cla Bot added the cla: yes Indicates the PR's author has signed the CLA. label Jul 12, 2021
@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 12, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 12, 2021

Codecov Report

Merging #5586 (8687929) into main (8678c3c) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5586   +/-   ##
=======================================
  Coverage   82.66%   82.66%           
=======================================
  Files         198      198           
  Lines        6172     6172           
=======================================
  Hits         5102     5102           
  Misses        743      743           
  Partials      327      327           
Impacted Files Coverage Δ
pkg/channel/stats_reporter.go 86.66% <ø> (ø)
pkg/broker/filter/stats_reporter.go 87.30% <100.00%> (ø)
pkg/broker/ingress/stats_reporter.go 87.75% <100.00%> (ø)

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 8678c3c...8687929. Read the comment docs.

Comment thread pkg/metrics/metrics.go Outdated
@@ -0,0 +1,65 @@
/*
Copyright 2020 The Knative Authors
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: 2021

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

nooo!

Copy link
Copy Markdown
Contributor

@n3wscott n3wscott 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

/hold
hold for nit on date.

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 12, 2021
@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 12, 2021
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 12, 2021
Copy link
Copy Markdown
Contributor

@n3wscott n3wscott 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 Jul 12, 2021
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, n3wscott

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

@n3wscott
Copy link
Copy Markdown
Contributor

/unhold

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 12, 2021
@knative-prow-robot knative-prow-robot merged commit 5add485 into knative:main Jul 12, 2021
@dprotaso dprotaso deleted the drop-knative-pkg-metrickeys branch July 12, 2021 22:59
dprotaso added a commit to dprotaso/pkg that referenced this pull request Jul 14, 2021
We're going to move the StatsReporter downstream eventually

related:
knative/eventing#5587
knative/eventing#5586
knative-prow-robot pushed a commit to knative/pkg that referenced this pull request Jul 14, 2021
* drop stack driver as a tracing backend

* drop stackdriver as a metrics backend

* update deps - dropping stackdriver

* fix linting issues

* drop further references to stack driver

* drop serving & eventing metric key constants
these have been moved to their respective repos
see: #608

* move source metrickeys to pkg/source

We're going to move the StatsReporter downstream eventually

related:
knative/eventing#5587
knative/eventing#5586

* fix linter
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants