Maybe. I haven't looked at all of the details yet so I don't know if it's feasible, but that is how it could possibly work. It depends on whether all of the same information is available.
If you would like to try this, you should compare these:
- OpenTelemetry system metrics: opentelemetry-specification/system-metrics.md at main · open-telemetry/opentelemetry-specification · GitHub
- Elastic APM system metrics: Metrics | APM Java Agent Reference [1.x] | Elastic