bun icon indicating copy to clipboard operation
bun copied to clipboard

NotImplementedError: perf_hooks.monitorEventLoopDelay is not yet implemented in Bun.

Open OleksandrKucherenko opened this issue 1 year ago • 4 comments

What is the problem this feature would solve?

perf_hooks stub is not complete, so it's fails in the moment when I try to use it for project in production

What is the feature you are proposing to solve the problem?

just make a stub method, that does not raise the exception

What alternatives have you considered?

of we should wait for real implementation

OleksandrKucherenko avatar Mar 15 '24 10:03 OleksandrKucherenko

We should add a no-op stub, we can look into implementing this for real at another time.

Electroid avatar Mar 15 '24 17:03 Electroid

This is the reason why elastic-apm-node package does not work.

paulish avatar Apr 02 '24 05:04 paulish

...and prom-client, specifically collecting default metrics

danlobo avatar Apr 02 '24 13:04 danlobo

Any updates? Same issue when using elastic-apm-node

nicoandreoli2000 avatar Apr 05 '24 22:04 nicoandreoli2000