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

Proposal: Introduce metrics reporting for lance #3325

Open
yanghua opened this issue Jan 2, 2025 · 3 comments
Open

Proposal: Introduce metrics reporting for lance #3325

yanghua opened this issue Jan 2, 2025 · 3 comments

Comments

@yanghua
Copy link
Contributor

yanghua commented Jan 2, 2025

As a table format, Lance plays a crucial role in data storage and management for AI data. A comprehensive metrics system is essential in monitoring table formats, diagnosing health status, and performance-oriented governance. This is fully reflected in Apache Iceberg.

Apache Iceberg introduced metrics reporting1. It exposes some metadata and statistical information of core table operations (such as Scan/Commit) in the form of metrics. This ensures that these core pieces of information are not hidden beneath the iceberg.

In terms of its uses, with the external exposure of these metrics, we can do many things.

  • Monitoring: Includes some indicators related to load and performance. Third parties can provide some insightful dashboards based on these indicators 24;
  • Diagnosis: Based on monitoring, we can provide some incremental value. One of them is the diagnosis of some performance issues, which will assist in optimizing layout or performance;
  • Optimization: Based on the provided indicators, we can optimize performance at both the read and write ends.
@yanghua
Copy link
Contributor Author

yanghua commented Jan 2, 2025

@eddyxu @westonpace @wjones127 Would like to listen to your thoughts and feedback.

@westonpace
Copy link
Contributor

I think we're very much in favor of adding additional metrics. I had an initial start at this here; #3075 but I'm not sure if I'll get back to it soon. I was planning on adding some storage statistics soon as well.

I guess this issue itself is a little broad though. Is there a particular standard you are looking for? Is this something you are hoping to work on?

@yanghua
Copy link
Contributor Author

yanghua commented Jan 2, 2025

Hi @westonpace Thanks for your feedback.

I guess this issue itself is a little broad though.

Yes, this proposal is on "idea" status currently. If the community gives positive feedback, I'd like to refine it.

Is there a particular standard you are looking for?

Actually, I am just looking for some thoughts and feedback or the status(if the community has kicked off).

I will take a look about #3075

Is this something you are hoping to work on?

Yes, I would like to give some help at least on two parts:

  • introduce the framework for metrics reporting;
  • enrich the statistics and metrics in some core actions on the Lance dataset, e.g. scan/take/commit..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants