bonsairobo opened a new issue, #6619: URL: https://github.com/apache/opendal/issues/6619
### Feature Description `MetricsLayer` should not panic when used in WASM. ### Problem and Solution Currently the `MetricsLayer` panics trying to access the `SystemTime`, which is not available in a browser. The solution is to use a different API to get the current time when in the browser. See [web-time](https://crates.io/crates/web-time). ### Additional Context _No response_ ### Are you willing to contribute to the development of this feature? - [x] Yes, I am willing to contribute to the development of this feature. -- 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: commits-unsubscr...@opendal.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org