Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(metrics): introduce metrics for everything from Gateway API #143

Merged
merged 1 commit into from
May 22, 2023

Conversation

programmer04
Copy link
Member

KTF delegates the collection of metrics to this library, thus as described in this issue Kong/kubernetes-ingress-controller#3649 add providers to count all kinds that are in gateway.networking.k8s.io. They will be introduced to KTF by bumping the used version of this pkg.

@programmer04 programmer04 requested a review from a team as a code owner May 22, 2023 14:39
@programmer04 programmer04 enabled auto-merge (squash) May 22, 2023 14:40
@programmer04 programmer04 enabled auto-merge (squash) May 22, 2023 14:40
Copy link
Member

@pmalek pmalek left a comment

Choose a reason for hiding this comment

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

We're at the stage of development in this repo that I believe some integration tests would be great to have.

What I suggest is to leverage envtest similarly as it's being done in https://github.com/Kong/kubernetes-ingress-controller/blob/b53c014c01e58f86e7c6254c4b3085670ab317e3/internal/adminapi/endpoints_envtest_test.go to spin up etcd and api-server, create those resources and assert that counters work.

Would you agree @programmer04? Do you mind creating such issue?

pkg/telemetry/manager_test.go Outdated Show resolved Hide resolved
@programmer04 programmer04 merged commit 70edc5e into main May 22, 2023
4 checks passed
@programmer04 programmer04 deleted the more-telemetry branch May 22, 2023 15:22
@programmer04 programmer04 self-assigned this May 23, 2023
@programmer04 programmer04 added the area/feature New feature or request label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants