I don't know about datadog, but they have a flag on claude code to disable telemetry and you can also override the base url to have it point to your own reverse proxy, for example I use Tailscale Aperture which lets me inspect everything and I highly recommend