Question

How to use our own logging system on App Platform

I am using Ruby on Rails on App Platform.

I was wondering how it is possible to use my own logging system such as Datadog on App Plafform. Is there a way to send the logs to the datadog API ? Or si there something as the http drain : http://https://devcenter.heroku.com/articles/log-drains#https-drains

on Heroku ?

Thanks!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

I’ve seen a similar question here, where a DigitalOcean team member mentioned that the App Plaatform doesn’t currently have a direct integration with streaming logs to external services built into the platform, but this is something that is being considered for the future.

https://www.digitalocean.com/community/questions/how-can-app-platform-container-logs-be-retained

There is also another suggestion for a community member saying that they’ve decided to use supervisord and store the logs into a file, then transported those log files to a remote syslog server via https://github.com/papertrail/remote_syslog2 in run_command before launching Docker Entrypoint.

Regards, Bobby