coroot/coroot-node-agent

How to disable profiling

KKulishov opened this issue · 2 comments

Hello!

I see in the code

profiling.Start() defer profiling.Stop()
Is it possible to add a condition that specifies whether to enable or not profiling?

@KKulishov,
It won't start if no PROFILES_ENDPOINT environment variable is configured.

Thank you