Logs on Heroku?

Hi,

I have a clojure (JVM) application running on Heroku. We log to STDOUT using logback library. We are running the DynaTrace buildpack. The distributed traces are showing properly. However the logs don’t show up. Is there an example of how to integrate logback and DynaTrace, while running on Heroku/logging to STDOUT?

I am told our DynaTrace setup is using Logs v2, not the Classic v1.

Hi,

I have not come across such an integration. You could try creating an extension to DT or a simple script that parses your log and sends the necessary information to DT via the API. You are interested in the API related to metrics (Metrics API - POST ingest data points — Dynatrace Docs)

Radek

We did find a workaround using Heroku drains, fluentd and DT logs ingest http apis. This was a lot of work, and still requires us to maintain a fluentd installation. I am interested in the built-in integration mentioned here - Connect log data to traces — Dynatrace Docs

What is the logback integration mentioned above? How does that work?

First question..what type of Dynatrace are you using? Managed or SaaS?

We are using SaaS.