Datadog on Render?

I was going to integrate Datadog to give some added observability to our applications… but realized that I can’t figure out how you’d install the DD agent in any of my Ruby environments.

Probably possible if I move over to Docker for those… but anyone else have a technique here… or even with Docker, some advice?

Hi @Hampton_Catlin ,

I haven’t tried it myself, but it might be a bit tricky without switching to Docker. If you could get the agent package installed, I bet you could run the Datadog agent in a normal Render Ruby environment if you used something like GitHub - ddollar/foreman: Manage Procfile-based applications plus a procfile to run both the agent and your application. Installing the package will be trickier, however, since you can’t install custom package with apt, etc. in our Ruby environments. It’s possible to install the packages locally (rather than globally like most package managers do), but I don’t have any guidance on how to do that, unfortunately.

Would the application tracing that DataDog provide be enough? That’s just a gem that’s added to your project - would that give you enough visibility? These tend to suit PaaS more as the underlying infrastructure that the agent would monitor is largely out of your control

I noticed there was a Datadog example Dockerfile provided by Render, but am unsure of how it works / what it does, and how much observability itd provide. Is it essentially a proxy for my other services to send analytics to? is it meant to be a base file to pull form and extend? Im just confused as to what its actually supposed to be doing.

if theres any additional guidance on integrating Datadog within a rails app itd be greatly appreciated!

1 Like

Just wanted to add my vote for a complete example.

I was able to get the Datadog Agent running, but it’s not clear to me how to connect my Rails app to this. The Datadog docs mention creating a ruby.d/conf.yaml file which is where I kinda lose track.