Skip to content

List invalid routes via support listener #3488

@AlexanderYastrebov

Description

@AlexanderYastrebov

Is your feature request related to a problem? Please describe.

In multitenant ingress setting users may define invalid routes and operators may have to figure out where invalid routes are coming from. Currently it is possible via monitoring logs for a specific error message.

Describe the solution you would like

Skipper serves valid routes via support listener API at /routes.
It also have a list of invalid routes so we may add a support API say at /invalid-routes to show them as well.
Along with a new metric for number of invalid routes this could be used for alerting and debugging invalid user configurations.

Describe alternatives you've considered (optional)

Monitor logs for a specific error message.

Additional context (optional)

The problem is partially addressed by a webhook which prevents users from creating routes with e.g. invalid eskip syntax but it does not (currently) prevent users from creating non-existing or disabled filters.

Would you like to work on it?

This is a good first issue for someone :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions