Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datadog): make disable_buffering a param instead of setting it on…
… statsd object (#77280) set `disable_buffering` as a kwarg that we pass to `initialize`. this makes it so it only gets set once (right now it gets set in `initialize` and afterward here. we're seeing slow profiles of this codepath in control silo. want to see if this helps. slow profile example: https://sentry.sentry.io/profiling/profile/sentry/ad932d5ba6f244c4bb7abfc29667da09/flamegraph/?colorCoding=by%20system%20vs%20application%20frame&fov=0%2C87%2C7048375808%2C14&query=&sorting=call%20order&tid=135938038548160&view=top%20down docs: https://datadogpy.readthedocs.io/en/stable/#datadog.initialize
- Loading branch information