Xuanwo commented on issue #482: URL: https://github.com/apache/iceberg-rust/issues/482#issuecomment-2252378594
I will suggestion the following set: - logging: [`log`](https://docs.rs/log) - metrics: [`prometheus_client`](https://docs.rs/prometheus-client) - tracing: [`fastrace`](https://docs.rs/fastrace) --- ## Why not `tracing`? `Tracing` is widely used, but it often confuses the scope of logging and tracing. From a tracing perspective, it's 100 times slower than `fastrace`. Meanwhile, `log` offers the most compatible solution for all logging systems, making integration easier for users. ## Why not `prometheus`? [`prometheus`](https://github.com/tikv/rust-prometheus) project maintained by tikv community is almost dead. ## Why not `metrics`? It makes sense to introduce an abstraction based on `metrics` tailored to my own usage. However, its abstraction does not effectively support `prometheus`, which is the most widely used metrics collector. I suggest we first integrate directly with Prometheus and consider `metrics`, while also accommodating requests for support of other metrics tools like [`tcp`](https://github.com/metrics-rs/metrics/tree/main/metrics-exporter-tcp). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org