-
Notifications
You must be signed in to change notification settings - Fork 646
Open
Labels
enhancementNew feature or requestNew feature or requestreleases-note/featThe PR implements a new feature or has a title that begins with "feat"The PR implements a new feature or has a title that begins with "feat"
Description
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.
Additional Context
No response
Are you willing to contribute to the development of this feature?
- Yes, I am willing to contribute to the development of this feature.
dosubot, yihong0618 and Xuanwo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestreleases-note/featThe PR implements a new feature or has a title that begins with "feat"The PR implements a new feature or has a title that begins with "feat"