uber-common / jvm-profiler

JVM Profiler Sending Metrics to Kafka, Console Output or Custom Reporter
Other
1.78k stars 342 forks source link

Add noop argument to bypass agent logic #3

Closed hiboyang closed 6 years ago

felixcheung commented 6 years ago

I don’t completely get why we need this. Is there information on this?

hiboyang commented 6 years ago

@felixcheung Because we add ConfigProvider and allow people to change config from a server side HTTP config file. Adding noop will allow people to "turn off" the agent by changing the server side config.

CodingCat commented 6 years ago

@felixcheung Because we add ConfigProvider and allow people to change config from a server side HTTP config file. Adding noop will allow people to "turn off" the agent by changing the server side config.

following this, how people would turn off a specific profiler?

They could set noop: false in the server side config file