-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Is your feature request related to a problem? Please describe
Currently tenant selector at web UI for VictoriaLogs doesn't show available tenants - it is expected that users manually enter the needed AccountID and ProjectID for querying the given tenant.
VictoriaLogs gained support for /select/tenant_ids endpoint starting from v1.38.0 release. This endpoint returns a list of tenants for logs on the given [start ... end) time range.
Describe the solution you'd like
It would be great if web UI could fetch the list of available tenants from the /select/tenant_ids endpoint when user clicks on the tenant selector, and display auto-completion popups for the returned AccountID and ProjectID values.
Describe alternatives you've considered
No response
Additional information
Pay attention that the /select/tenant_ids endpoint expects an empty AccountID request header. If this header is non-empty, then error is returned. Web UI must handle this error gracefully by displaying a warning with this error and allowing the user entering arbitrary values inside AccountID and ProjectID fields in this case.