Add status endpoint to list the available endpoints#938
Add status endpoint to list the available endpoints#938joe-elliott merged 6 commits intografana:mainfrom
Conversation
annanay25
left a comment
There was a problem hiding this comment.
Nice work.
Even though I feel the addition of api docs (https://grafana.com/docs/tempo/latest/api_docs/) has depreciated this endpoint, its still nice to have. Some nits:
- Can we add a "table header"? It might be confusing to just see the regex
- Can we add a line at the end pointing to the api docs for further info?
|
Should we call this Possibly even support some basic arguments (otherwise dump everything): |
|
Great suggestions, thanks for the review. Do we want a table printed here, or something machine consumable. I feel like if I were to call something on |
06cb79f to
5108e27
Compare
5108e27 to
35200e8
Compare
|
I've made some updates here and set us up to add more query params later on a |
|
I'll update the docs page too. |
achatterjee-grafana
left a comment
There was a problem hiding this comment.
Added doc review.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
7bcf44b to
3dc2d0e
Compare
Here we include an
/adminendpoint that will print all the available endpoints and the regex that will route to the endpoint.Which issue(s) this PR fixes:
Fixes #632
Checklist
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]