contour icon indicating copy to clipboard operation
contour copied to clipboard

Add filtering capabilities to the DAG debug endpoint

Open alexbrand opened this issue 6 years ago • 2 comments

Describe the solution you'd like As a cluster operator using Contour, I would like to be able to filter the DAG debugging output that can be obtained via the debug endpoint. In a cluster with hundreds or thousands of IngressRoutes, the DAG is impossible to understand as it currently stands.

It would be great if I could produce a DAG for a specific IngressRoute by passing filtering parameters to the /debug/dag endpoint. E.g. /debug/dag?namespace=foo,ingressroute=bar

alexbrand avatar Sep 04 '19 20:09 alexbrand

@alexbrand if you'd like to drive this work i'd be happy to pair with you on it.

davecheney avatar Sep 11 '19 04:09 davecheney

Yeah, I'd love to! I think the biggest open question here is the UX.

Another use case came up this week around capturing all the secrets that Contour is holding in its DAG. We got around it by using grep, cut, etc to filter the DAG down.

Maybe a good starting point is adding the ability to get the DAG for a specific namespace? Delegation might throw a wrench into this though.

alexbrand avatar Sep 11 '19 12:09 alexbrand