Hi @flyxp11 Welcome to the community.
Perhaps read this as @DavidTurner recently answered
I would assume the same would go for the DD Agent
Specifically from the Docs Referenced
Warning
Don’t use third-party Java agents that attach to the JVM. Such agents can be harmful to Elasticsearch stability and performance. In some cases they may cause nodes to freeze, crash, or fail to start up, or to lose or corrupt your data.