Report this

What is the reason for this report?

How to use our own logging system on App Platform

Posted on March 31, 2021

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!



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!

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.

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

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.