Skip to content

Commit

Permalink
feat(telemetry): introduce count for all Gateway API objects
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 committed May 30, 2023
1 parent 61e06ee commit be7f917
Show file tree
Hide file tree
Showing 5 changed files with 413 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,13 @@ Adding a new version? You'll need three changes:
`pod-ip-address.my-namespace.pod`.
- `service`: will make KIC build addresses using the following template:
`pod-ip-address.service-name.my-namespace.svc`.
This is known to not work on GKE becuase it uses `kube-dns` instead of coredns.
This is known to not work on GKE because it uses `kube-dns` instead of `coredns`.
- Gateway's `AttachedRoutes` fields get updated with the number of routes referencing
and using each listener.
[#4052](https://github.com/Kong/kubernetes-ingress-controller/pull/4052)
- Telemetry reports now include a number of every Kind of Kubernetes object
that is provided by `gateway.networking.k8s.io` CRDs.
[#4058](https://github.com/Kong/kubernetes-ingress-controller/pull/4058)

### Changed

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
github.com/jpillora/backoff v1.0.0
github.com/kong/deck v1.20.0
github.com/kong/go-kong v0.42.0
github.com/kong/kubernetes-telemetry v0.0.4
github.com/kong/kubernetes-telemetry v0.0.5
github.com/kong/kubernetes-testing-framework v0.31.0
github.com/lithammer/dedent v1.1.0
github.com/miekg/dns v1.1.54
Expand Down Expand Up @@ -65,6 +65,7 @@ require (
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/net v0.10.0 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
)

require (
Expand Down Expand Up @@ -187,7 +188,6 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/cli-runtime v0.27.2 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/kubectl v0.27.2 // indirect
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ github.com/kong/deck v1.20.0 h1:q8+8VBnvv0O+9mYjcPdJP5prG3KzbvR4XfePwkTx+Zc=
github.com/kong/deck v1.20.0/go.mod h1:yJWEu6/xnYiaNBg2vP4EsYLtbt33J67Zsolye3JpJmI=
github.com/kong/go-kong v0.42.0 h1:N0Rth32eGq6S5x33Txu+Gv9ZJ3gG5noffDjqezwutfA=
github.com/kong/go-kong v0.42.0/go.mod h1:YUq7A3gcwk+9Z1ajwzVY2HnSyL/IKq/TJHsJDqT8hJM=
github.com/kong/kubernetes-telemetry v0.0.4 h1:6iDDocM4b/pIKJ/KrSSoQjvyaHBIBtBb4U9LdOqg8Js=
github.com/kong/kubernetes-telemetry v0.0.4/go.mod h1:xopN/XY+5xCXoY8kfnjHf83yT6n4ezVcWKJxA7gmJUw=
github.com/kong/kubernetes-telemetry v0.0.5 h1:FCJx1ShFXbqNb2K6N9FE3MZKwCkp8CEVAJuej5+1S9U=
github.com/kong/kubernetes-telemetry v0.0.5/go.mod h1:FrAXjZHEPSAEL4aUXnNOpPoRiA68VJvwgN8dfG/qF60=
github.com/kong/kubernetes-testing-framework v0.31.0 h1:3MTlUeiD/jV3ArdZWfRLidi7kchg19HI222dXQHwasw=
github.com/kong/kubernetes-testing-framework v0.31.0/go.mod h1:RKFMHJCDByNnHiw+hRLwR26eIZRgd5ImhwYjwK+yUQg=
github.com/kong/semver/v4 v4.0.1 h1:DIcNR8W3gfx0KabFBADPalxxsp+q/5COwIFkkhrFQ2Y=
Expand Down

0 comments on commit be7f917

Please sign in to comment.