-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI for Jobs and Scrape Configs in Target Allocator Server #3622
Comments
Definitely not opposed to this, the question is really how much UI we want to throw on top of the TA. I would be okay with some light HTMX for displaying what we have access to. |
This is a great start! Would you be willing to put a PR up? This is surely better than what we have today. cc @swiatekm who also probs has thoughts here. |
I agree, this would be good to have even if it's not very pretty. I wonder if we need to make it possible to disable it? The information included shouldn't be any different than the JSON version, but in principle it might eventually become an attack surface in the future. |
Started a draft PR here: #3652. |
Component(s)
target allocator
Is your feature request related to a problem? Please describe.
There's a way to see the jobs and scrape configs that have been discovered via the Prometheus Operator CRDs on the Target Allocator's HTTP Endpoints as described in the documentation.
opentelemetry-operator/cmd/otel-allocator/README.md
Lines 266 to 350 in a36367b
The JSON that is returned is not pretty and requires some formatting on behalf of the user for any form of interaction. There are
_link
properties, but they require copy and pasting to find out more information about the job/collector. This can be tedious and adds friction in the process of understanding how the targets are allocated.Describe the solution you'd like
When these pages are navigated to via the browser, the information like the discovered targets and where they have been allocated should be formatted with some HTML to make it human readable.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: