Documentation
Ruby
You can send data from your Ruby application to Dynatrace via OpenTelemetry. See also
OpenTelemetry support

for capturing traces.
Instrument your Ruby application with OpenTelemetry