Excluding Datadog Log Ingestion For Certain Containers

Hello,

We are using render example’s datadog agent to send log/metric data to datadog.

We’d like to prevent log ingestion for certain private services and our preview environments.

We’ve seen some examples of how to do so in datadog: Container Discovery Management, but wondering how to apply this within Render.

Please let us know if you have any recommendations! Happy to provide more details as needed.

Best,

Minsoo

Hi there,

Using the datadog agent typically involves some code added to your service, so you should be able leverage some of the default environment variables (i.e. IS_PULL_REQUEST, RENDER_SERVICE_ID) to determine if data should be sent or not.

Can you provide any details of how you’re pushing data to the agent?

Regards,

Matt

Hi Minsoo,

As far as filtering logs sent via log streams to Datadog, we don’t have anything like this available today however, it would be great to capture your particular requirements at feedback.render.com.

Here’s a few existing requests you might just give an upvote on and provide some extra context around your case:

https://feedback.render.com/features/p/make-postgres-logging-configurable
https://feedback.render.com/features/p/toggle-logging-at-service-level

Regards,

Matt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.