DataDog / dd-trace-java

Datadog APM client for Java
https://docs.datadoghq.com/tracing/languages/java
Apache License 2.0
565 stars 283 forks source link

Enabling profiling randomly #7491

Closed Laith-jalal closed 2 weeks ago

Laith-jalal commented 3 weeks ago

I'm running my jvm app on AWS ECS, and with the current setup using -javaagent and the DD_PROFILING_ENABLED environment variable, profiling is enabled for all containers. Is there any configuration or option that allows enabling profiling for only a specific percentage of containers?

jbachorik commented 3 weeks ago

Hi @Laith-jalal - no, there is no such option. That would require supporting remote configuration and we don't do that for profiler yet.