Milvus Insight

Updated at:
Copy as MD

Milvus Insight is a data insights and diagnostics feature built into Milvus Manager. It provides a single entry point for instance overview, audit logs, query logs, and async tasks, helping you locate slow queries, failed requests, hot collections, and the progress of async tasks for routine operations and troubleshooting. Capacity planning and daily health reports also provide resource distribution analysis, capacity assessment, and daily health diagnostics.

Features

Tab

Description

Overview

Displays key metrics and abnormal trends for the instance over the last 24 hours, including DDL/DCL operations, DML calls, DQL calls, slow queries, active collections, active users, and security alerts.

Audit Logs

Query operation records by time range, collection, database, user, operation type, operation, and status. View execution status, duration, and request details.

Query Logs

View the filter conditions, duration, nq, slow query level, and execution status of Query, Search, and HybridSearch requests.

Async Tasks

View the status, progress, duration, and failure reasons of async tasks such as LoadCollection, IndexBuild, Compaction, Import, and Sync.

Capacity planning (Beta)

Assess capacity and load distribution issues based on QueryNode resource utilization, read and write workloads, query latency, and collection load distribution.

Health report (Beta)

View daily overall scores, diagnostic domains, risks and optimization recommendations, and hot collection analysis, and export reports.

Limits

  • The instance must meet the minimum version requirements for Milvus Insight: for the 2.5 series, 2.5.12-0.7.0_3.11.0 or later; for the 2.6 series, 2.6.18-0.1.6_3.11.0 or later. If the page indicates that the current instance version does not support Milvus Insight, click Upgrade to upgrade the instance to the latest version. After the upgrade, view the observability and diagnostic data. For upgrade instructions, see Upgrade versions.

    Note

    After the instance is upgraded to a version that supports Milvus Insight, Milvus Insight displays only observability data generated after the upgrade to the supported version.

  • Maximum time range per query: Query Logs supports up to 1 hour, while Audit Logs and Async Tasks support up to 24 hours. Queries fail if these limits are exceeded. Shorten the time range and try again.

  • All three tabs query data from the last hour by default. On the Audit Logs and Async Tasks tabs, you can manually extend the time range within the applicable limits.

  • You can export up to 10,000 records at a time from Audit Logs, Query Logs, or Async Tasks. If the records that match the filters exceed this limit, the page displays a message. Shorten the time range or add filters, and then export again.

  • Overview displays aggregated data for the last 24 hours. The data snapshot time for the current aggregation is displayed at the bottom of the page. For a newly created instance or an instance that has just been upgraded to a version that supports Milvus Insight, data must accumulate for a period of time before complete aggregated results are available.

Access Milvus Insight

  1. Log on to the Alibaba Cloud Milvus console.

  2. In the left-side navigation pane, click Instance List.

  3. In the top navigation bar, select the target region.

  4. In the instance list, click the name of the target instance.

  5. At the top of the instance details page, click Milvus Manager and connect to the target instance.

  6. In the left-side navigation pane of Milvus Manager, click Milvus Insight.

  7. The page displays six tabs: Overview, Audit Logs, Query Logs, Async Tasks, Capacity planning, and Health report. If an upgrade guide is displayed instead, the current instance version does not support Milvus Insight. Upgrade the instance first.

View instance overview

On the Overview tab, view the operational status of the instance over the last 24 hours.

Metric

Description

DDL/DCL operations

Number of calls for structural and permission-related operations on collections, indexes, and permissions.

DML calls

Number of write calls and affected rows, broken down by Insert, Upsert, Delete, and Bulk.

DQL calls

Number of query calls, broken down by Search, Query, and HybridSearch.

Slow queries

Number of requests that reach a slow query threshold. For the thresholds, see Slow query levels in this topic.

Active collections

Number of collections accessed in the last 24 hours.

Active users

Number of users that accessed the instance in the last 24 hours.

Security alerts

Risk alerts generated from access behavior and anomalies to assist troubleshooting. They are not equivalent to a complete security audit or an intrusion detection conclusion.

The page also displays Top 5 active users, Top 5 hot collections, and Anomaly / slow query trends charts. The trend chart legend includes slow, very slow, critical, and error, helping you identify when anomalies are concentrated.

Query audit logs

On the Audit Logs tab, query instance operation records by applying filters. Set the time range, collection, database, and user in the query bar at the top of the page. Set the operation type, operation, and status using the filter icons in the table headers. Then click Query.

Filter

Description

Time range

Time range when the operations occurred. The default is the last hour.

Collection

Filter by collection name.

Database

Filter by database name.

User

Filter by the username that performed the operation.

Operation type

Filter by DDL, DCL, DML, DQL, or Other. Multiple values can be selected.

Operation

Filter by a specific operation name, such as CreateCollection, Insert, Flush, or LoadCollection.
At the top of the filter panel, you can switch between Include and Exclude: select Exclude to exclude the selected operations, such as Flush, from the query.

Status

Filter by Success or Failed.

The list displays the operation time, operation type, operation, collection, database, user, status, and duration. If an operation does not involve a collection, such as Flush, the Collection column displays a hyphen (-).

In the Operation column, click Detail to open the Audit Log Detail dialog box and view the full context of the operation, including the client address, SDK version, error code, error message, trace ID, response size, and request parameter details. The client address identifies the request source: operations initiated through an SDK show the client IP address and port, while operations initiated in Milvus Manager show Milvus Manager Console.

For offline analysis, click Export CSV to export all records that match the current filters.

Note

The exported file uses the original API field names as column headers, such as traceId, logTime, timeCostMs, and operationType. These differ from the Chinese column names displayed in the UI.

View query logs

On the Query Logs tab, view the execution of Query, Search, and HybridSearch requests to identify slow queries, failed queries, and hot access patterns.

In addition to the filters available in Audit Logs, the query bar provides Min Time Cost (ms) to display only requests whose duration exceeds the specified number of milliseconds. The table header also supports filtering by Slow Level.

The list displays the request time, operation, collection, database, user, filter conditions, duration, nq, slow query level, and status.

Click Detail to open the Query Log Detail dialog box and view the full query context, including partitions, number of query vectors, whether the query is slow, whether the result is empty, filter expression, request parameters, SDK version, client address, trace ID, and error message. For offline analysis, click Export CSV to export records that match the current filters.

Slow query levels

Milvus Insight classifies slow queries based on the server-side request processing time, time_cost, recorded in Milvus ACCESS logs.

Slow query level

Server-side request processing time

NORMAL

Less than 1,000 ms.

SLOW

Greater than or equal to 1,000 ms and less than 3,000 ms.

VERY_SLOW

Greater than or equal to 3,000 ms and less than 10,000 ms.

CRITICAL

Greater than or equal to 10,000 ms.

Note

Slow Level offers only SLOW, VERY_SLOW, and CRITICAL as filter options. NORMAL indicates that the request did not reach a slow query threshold and appears only as a value in the list.

The duration and slow query level displayed on the page are based on Milvus server-side records and are not equivalent to the end-to-end duration of a client SDK call. Network transmission, client-side deserialization, and large result sets may make the SDK-side duration longer.

View async tasks

On the Async Tasks tab, view the execution status and progress of instance async tasks. The list displays the task ID, task type, collection, database, start time, end time, duration, progress, and status. The bottom of the page also displays the data update time.

Task type

Description

Import

Data import tasks.

LoadCollection

Collection loading tasks.

Sync

Data synchronization tasks.

Compaction

Data compaction tasks.

IndexBuild

Index building tasks.

You can filter by Task Type and Status. Statuses include Running, Completed, Failed, Timeout, and Canceled. Click Detail to open the Async Task Detail dialog box and view the task type name, collection ID, current status, whether the task is in a terminal state, failure reason, instance ID, and raw task details. This helps troubleshoot failed or long-running tasks. For offline analysis, click Export CSV to export records that match the current filters.

Note

The fields available vary by task type. If a task has no collection, database, end time, or progress information, the corresponding field displays a hyphen (-).

Use capacity planning

Capacity planning is available only for Standard Edition instances and requires a version that supports Milvus Insight. The page displays guidance if the instance is StandalonePro Edition or does not meet the version requirements.

View capacity planning recommendations

The page displays capacity recommendations based on existing samples, along with peak memory usage, peak CPU usage, and observed nodes.

Note

Capacity recommendations help with assessment and do not automatically scale out the instance or adjust replicas. Before making changes, evaluate them against your workloads and resource configuration.

View QueryNode resource distribution

  1. In the QueryNode resource distribution section, view the CPU and memory utilization honeycomb charts to identify nodes with high resource utilization.

  2. Click a node in the honeycomb chart to view its historical trends. Hover over a curve to view individual samples.

  3. Use the Node trend window to switch between the last 30 minutes, 1 hour, 6 hours, or 24 hours.

  4. Check the load distribution on nodes with high utilization based on the collections, replicas, and segments loaded on each node.

Note

The node trend window is independent of the last-hour window used for workload charts and capacity recommendations. The load distribution below always shows the current snapshot.

Analyze collection memory and load distribution

In the Collection memory analysis section, filter by database, collection, or node to view collection loaded memory, percentage, load state, and number of nodes on which the collection is loaded. Open the load details to view nodes, replicas, and segments.

Scope

How to interpret the metrics

All nodes

Compare the logical loaded memory of collections and its percentage of the total QueryNode memory capacity.

Specific QueryNode

Collection memory is limited to the segments loaded on the selected node. The percentage uses the total memory of that node as the denominator.

Segment details

View the memory, status, and node distribution of individual segments to identify the main sources of memory consumption within a collection.

Note

Collection memory is an estimate that includes replicas. It is not the same as process RSS or actual node memory utilization. When mmap is enabled, logical loaded memory may differ substantially from actual resident memory. A displayed percentage of 0% does not necessarily mean no memory is used.

Assess capacity against workloads

View the last hour of Workload · read/write QPS and Business impact · query P99 to determine whether changes in resource utilization are accompanied by increased request volume or slower query responses.

In the read/write QPS section, click View details to view user request trends and identify load sources by username. Trend chart samples and time-range averages in statistics tables use different calculation methods. Account for the time range when comparing them.

View daily health reports

Daily health reports aggregate metrics, logs, tasks, and configurations for the previous calendar day, from 00:00 to 00:00 the following day. They show the instance's overall health, diagnostic evidence, and optimization recommendations. A report reflects conditions within its reporting window, rather than the current real-time state.

Select a report date

  1. Open the Health report tab.

  2. Check the report date and generation time loaded on the page. To view historical reports, select a date within the last 7 days, excluding the current day, in the date picker.

Note

The dates in the date picker and the report generation time are displayed in Beijing time (UTC+8).

View the overall score and diagnostic domains

First, check the overall score and the status of each diagnostic domain. Then open a domain to review its check scope or identified issues.

Diagnostic domain

What to check

Service availability

Service interruptions, component liveness, and dependency reachability.

Performance and efficiency

Query latency, processing queues, background task efficiency, and hot access patterns.

Failures and anomalies

Failed requests, failed tasks, and operational anomalies.

Resources and capacity

Sustained CPU and memory pressure, and load distribution across nodes.

Note

Interpret scores and conclusions in the context of the check scope, metric evidence, and data coverage. "No anomalies found" means that no corresponding issues were found within the report window and the scope of the checks performed.

View risks and optimization recommendations

  1. In the Risks and recommendations section, filter by critical, warning, or suggestion severity, or select a diagnostic domain to view its entries.

  2. Click an entry to view impact assessment, metric evidence, root cause analysis, and optimization recommendations in Diagnostic details.

  3. If an entry provides failed request or task samples, you can also view the operation, time, target object, error code, and error message.

  4. Verify the cause against resource trends, request records, and business conditions in the report before planning optimization changes.

Note

Diagnostic recommendations are for reference only. Assess the business impact before making changes.

View hot collection analysis

In the Hot collection analysis section, view hot collections and their access patterns and workloads. Expand the analysis details to review business activity and hotspot facts.

Export a report

After the report is generated, click Export report to download the HTML report for the selected date.

Related documents