Search code examples
asp.net-core-mvcopen-telemetrydynatraceexporter

Exporting OpenTelemetry to Dynatrace in ASP.NET Core


I'm designing an infrastructure for application tracing with the following constructs:

  1. The applications are written in .NET 6
  2. The logging protocol is OTLP
  3. The logging target is Dynatrace
  4. Looking at multi-organizational microservices with potential heavy tracing

Keeping in mind the expected heavy concurrent workload, what would make better sense to use?

  • the Dynatrace dedicated exporter or
  • a logging framework (e.g. Serilog with a Dynatrace sink)

Solution

  • Dynatrace does not offer a custom exporter for OpenTelemetry Logs. Maybe you got confused by the Dynatrace metrics exporter? Dynatrace also does not offer a Serilog sink.

    Dynatrace offers HTTP proto OTLP ingest for the stable signals - Traces and Metrics.

    The Logs API/SDK is not yet stable. I'd expect Dynatrace to follow suit and offer the same ingest channel for OTel logs once it gets into a mature state.

    Currently, you can still ingest logs following one of the approaches listed here: https://www.dynatrace.com/support/help/extend-dynatrace/extend-logs