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

[Enhancement]: Management WebUI for enhanced Milvus observability. #36621

Open
26 of 40 tasks
jaime0815 opened this issue Sep 30, 2024 · 4 comments
Open
26 of 40 tasks

[Enhancement]: Management WebUI for enhanced Milvus observability. #36621

jaime0815 opened this issue Sep 30, 2024 · 4 comments
Assignees
Labels
kind/enhancement Issues or changes related to enhancement
Milestone

Comments

@jaime0815
Copy link
Contributor

jaime0815 commented Sep 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

Goal

Simplify Milvus operations.

Value

Enhance system observability for quicker issue resolution.

Tools Comparison

Feature Management WebUI Birdwatcher Attu
Access Web UI Command-line tool GUI
Target User Operations/Development Operations Development
Integration Embedded in Milvus Standalone Standalone
Dependency Requires healthy Milvus Requires healthy Milvus/ETCD Requires healthy Milvus
Functionality System environment and runtime metrics Querying and modifying ETCD metadata, calling some MIlvus APIs Database management and operations

Demo

Access the local standalone Milvus web UI by address: http://localhost:9091/webui/

Screen.Recording.2024-09-30.at.17.24.28.mov

TODO:

  • Basic Web UI Server

Cluster Metrics

  • Display building information.
  • Display deployment information.
  • Track details of connected clients.

Server Metrics

  • Monitor sealed and growing segments on QN and DN.
  • Track subscribed channels on QN and DN.
  • Count processed msgpack on QN and DN.
  • Server health status.

Database Metrics

  • List all databases (name, creation time).

Collection Metrics

  • Gather basic information (partitions, channels, replicas, index tables).
  • Monitor row count in collections.
  • Track read and write operations.
  • List segments.
  • Evaluate the health status of collections.

Replica Metrics

  • replica list
  • Track QPS (Queries Per Second).

Resource group metrics

  • resource groups list

Channel Metrics

  • Pchannels list.
  • Count subscriptions for each Pchannel.
  • Track producers on each Pchannel.
  • Monitor timetick, DDL, and DML messages per Pchannel.
  • List Vchannels for each Pchannel.
  • Capture the latest checkpoint MessageID for each Vchannel.
  • Track the latest ts of the message for each Vchannel.
  • Monitor messages consumed and produced per second for each Vchannel.

Task Metrics

  • Track index-building tasks (index name, collection name, index ID, collection ID, type, field).
  • Monitor balance segment tasks (source/dest, segment ID, row count, status).
  • Track balance channel tasks (source/dest, channel name).
  • Monitor flush tasks (collection, partition, segment ID, type, log stats, row count).
  • Track compaction tasks (source/dest segment ID, download/merge time).
  • Monitor load/release tasks for collections, partitions, and segments.
  • Track bulk insert tasks.

DevOps

  • Update configurations.
  • Collect pprof data for performance profiling.
  • Enable trace logging for debugging.
  • Visualize memory variables.
  • Show audit logs of actions taken.
  • Allow manual execution of flush, compaction, and balance tasks.
  • Add intelligent diagnosis features.

Why is this needed?

No response

Anything else?

No response

@jaime0815 jaime0815 added the kind/enhancement Issues or changes related to enhancement label Sep 30, 2024
@jaime0815 jaime0815 self-assigned this Sep 30, 2024
@jaime0815 jaime0815 added this to the 3.0 milestone Sep 30, 2024
sre-ci-robot pushed a commit that referenced this issue Oct 28, 2024
issue: #36621

1. Add API to access task runtime metrics, including:
  - build index task
  - compaction task
  - import task
- balance (including load/release of segments/channels and some leader
tasks on querycoord)
  - sync task
2. Add a debug model to the webpage by using debug=true or debug=false
in the URL query parameters to enable or disable debug mode.

Signed-off-by: jaime <yun.zhang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Nov 7, 2024
@jaime0815 jaime0815 modified the milestones: 3.0, 2.5.0 Nov 9, 2024
sre-ci-robot pushed a commit that referenced this issue Nov 12, 2024
issue: #36621

Signed-off-by: jaime <yun.zhang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Nov 14, 2024
issue: ##36621

- For simple types in a struct, add "string" to the JSON tag for
automatic string conversion during JSON encoding.
- For complex types in a struct, replace "int64" with "string."

Signed-off-by: jaime <yun.zhang@zilliz.com>
mimoning pushed a commit to mimoning/milvus that referenced this issue Nov 15, 2024
issue: milvus-io#36621

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Nov 15, 2024
issue: #36621

* The front-end code of the management interface has been refactored
using React.
* The interaction and display of the front-end interface have been
optimized.

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
Co-authored-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
sre-ci-robot pushed a commit that referenced this issue Nov 16, 2024
issue: #36621
* update webui top nav
* remove the unnecessary code in .gitignore file

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Nov 16, 2024
)

issue: #36621

Signed-off-by: jaime <yun.zhang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Nov 18, 2024
issue: #36621

Signed-off-by: jaime <yun.zhang@zilliz.com>
mimoning added a commit to mimoning/milvus that referenced this issue Nov 18, 2024
issue: milvus-io#36621

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Nov 18, 2024
issue: #36621

- fixed the base api url in webui

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
mimoning added a commit to mimoning/milvus that referenced this issue Nov 18, 2024
issue: milvus-io#36621

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
mimoning added a commit to mimoning/milvus that referenced this issue Nov 18, 2024
issue: milvus-io#36621

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
mimoning added a commit to mimoning/milvus that referenced this issue Dec 20, 2024
Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
czs007 pushed a commit that referenced this issue Dec 20, 2024
issue: #36621

* add collection detail page 
* enhance query page segments & channels state display

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
mimoning added a commit to mimoning/milvus that referenced this issue Dec 20, 2024
Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Dec 23, 2024
issue: #36621

* add collection detail page
* enhance query page segments & channels state display

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
@yanliang567 yanliang567 modified the milestones: 2.5.0, 2.5.1 Dec 24, 2024
@stale stale bot removed stale indicates no udpates for 30 days labels Dec 24, 2024
sre-ci-robot pushed a commit that referenced this issue Dec 24, 2024
pr:  #38700
issue: #36621

* enhance collection detail page list columns
* enhance query page segments state detail logic

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Dec 24, 2024
issue: #36621

* enhance collection detail page list columns
* enhance query page segments state detail logic

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
@tangkunyin
Copy link

tangkunyin commented Dec 27, 2024

However, I tried http://localhost:9091/webui/ but got 404...

My services under docker container were all running well,I have refered to the official document, but no useful things were found
image

Is there anyone who can tell me how to use webui? many thanks

@yanliang567 yanliang567 modified the milestones: 2.5.1, 2.5.2 Dec 30, 2024
@xiaofan-luan
Copy link
Collaborator

However, I tried http://localhost:9091/webui/ but got 404...

My services under docker container were all running well,I have refered to the official document, but no useful things were found image

Is there anyone who can tell me how to use webui? many thanks

  1. this is only worked for Milvus 2.5 or above.
  2. you will need to expose 9091 port, which already work on your environment.

@tangkunyin
Copy link

@xiaofan-luan Yes, that's true. It would be better to give a description of the official documentation 🙏🏻

sre-ci-robot pushed a commit that referenced this issue Dec 31, 2024
issue: #36621

* update collection detail page logic
* fix data page segments list
* remove useless js file
sre-ci-robot pushed a commit that referenced this issue Dec 31, 2024
issue: #36621
pr: #38755

* update collection detail page logic
* fix data page segments list
* remove useless js file
@yanliang567 yanliang567 modified the milestones: 2.5.2, 2.5.3 Jan 6, 2025
sre-ci-robot pushed a commit that referenced this issue Jan 9, 2025
issue: #36621

Signed-off-by: jaime <yun.zhang@zilliz.com>
sre-ci-robot pushed a commit that referenced this issue Jan 9, 2025
issue: #36621
pr: #38672

Signed-off-by: jaime <yun.zhang@zilliz.com>
mimoning added a commit to mimoning/milvus that referenced this issue Jan 10, 2025
issue: milvus-io#36621

Signed-off-by: mimo.oyn <ning.ouyang@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement
Projects
None yet
Development

No branches or pull requests

4 participants