Skip to content
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

feat: Distributed Operational UI #16097

Merged
merged 34 commits into from
Feb 14, 2025
Merged

feat: Distributed Operational UI #16097

merged 34 commits into from
Feb 14, 2025

Conversation

cyriltovena
Copy link
Contributor

This add a new UI meant to help operate Loki and replace the dataobj (wip: columnar storage) UI.

This UI system is designed to work seamlessly in a distributed environment where multiple Loki nodes can serve the UI and proxy requests to other nodes in the cluster. The system uses ckit for cluster membership and discovery, allowing any node to serve as an entry point for the UI while maintaining the ability to interact with all nodes in the cluster.

The UI and the required API in currently under /ui/ and on by default (subject to change) if you don't want make sure to hide /ui/

For more information on how it works see https://github.com/grafana/loki/blob/f16729c69a8d31e49f44b6904088a97b46b984d9/pkg/ui/README.md

This UI allows to inspect the cluster health, see each nodes, list and create delete request. We'll be adding more feature in the future.

Let us know what you want to see next.

image
image
image
image
image

Adding a new UI and proxy layer to enable cluster management and monitoring. This includes:

- New UI frontend setup

- Cluster state management

- Proxy handlers for inter-node communication

- API endpoints for cluster operations
…s page with status indicators, data fetching hook, and improved UI/layout
- Added ReadinessIndicator component to display node readiness status
- Updated Member type to include readiness information
- Refactored node list and details components to use new readiness indicator
- Improved multi-select and copy button components
- Updated node filtering to support multi-select
- Cleaned up and simplified various UI components
@cyriltovena cyriltovena requested a review from a team as a code owner February 5, 2025 07:37
@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

💻 Deploy preview deleted.

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

owen-d added a commit to owen-d/loki that referenced this pull request Feb 12, 2025
@cyriltovena
Copy link
Contributor Author

Hopefully I'll merge it today !

@cyriltovena cyriltovena enabled auto-merge (squash) February 14, 2025 13:04
@cyriltovena cyriltovena merged commit dbf2bef into main Feb 14, 2025
64 checks passed
@cyriltovena cyriltovena deleted the distributed-ui branch February 14, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XXL type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants