The OpenTelemetry Collector comes with the OTLP metrics exporter and many others.
You can send metrics to Dynatrace via OTLP HTTP.