-
Notifications
You must be signed in to change notification settings - Fork 13
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
Getting warning during circuit breaker usage "Warning: Possible perf_hooks memory leak detected." #65
Comments
Reading about NodeJS Performance Timeline, and searching for "perf_hooks" in the code I get this -
And searching for "prom-client" gives this -
So it's the opposum-prometheus library which is using prom-client, which uses NodeJS Performance Timeline. Why is is this warning being printed? Because metrics haven't been collected from the timeline? |
After reading this issue - siimon/prom-client#429 It's seems like something related to Node 8. |
Node.js Version: v8.12.0
Operating System: Mac OS 10.14.6
Steps to Produce Error:
mkdir test
cd test
nvm ls
npm init
, use defaultsnpm install --save express
npm install --save opossum
npm install --save opossum-prometheus
touch circuit_breaker_metrics.js
touch circuit_breaker_test.js
touch server.js
node server.js
curl -XGET 'http://localhost:3000/circuit_breaker_test'
The above warning is confusing me. Is it because of some issue
opposum
oropposum-prometheus
?The text was updated successfully, but these errors were encountered: