agent: surface some redirect information for the discovery chain compilation results for the ui
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Currently the HTTP endpoint for accessing the compiled discovery chain fully compiles out some of the data found on the input config entries. This makes re-purposing this endpoint for the UI visualization less than ideal.
One piece of data this is not present at all is the `redirect` feature from `service-resolver` entries. These are compiled out like renames. This could in theory have compiled out a redirect of a redirect of a redirect of a .... etc, so figuring out how to surface the whole thing amounts to introducing possibly many more nodes and transitions in the graph which is a much larger change.
One very small change we could make would be somehow indicating on the edges affected by a redirect a small boolean value `Redirected`.
Contributor guide
Assessment
This issue has not been assessed yet.