Applying Datadog monitoring to SAP BTP Cloud Foundry runtime environment

hello. Is there a way to apply Datadog monitoring to the SAP BTP Cloud Foundry runtime environment?
I collected traces with buildpack, but I don’t know how to collect metrics.

What type of metrics are you looking for?

Thank you for your attention to this issue.

I would like to check the health monitoring metrics of SAP BTP displayed in <https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/health-monitoring/health-monitoring-setup-configuration/health-monitoring-for-sap-btp-cf.html|this link>.

System CPU Usage, System CPU Load Average, Memory Utilization, Disk Utilization…

Application was developed with Node.js.

Have you instrumented the app with the ALM OTel library?

I’ve personally not seen this done, but Datadog does with with OTel so I’d think it’s possible

I first checked the sap blog about <https://blogs.sap.com/2023/09/20/application-monitoring-in-sap-btp-using-datadog/|monitoring using datadog buildpack> and installed the buildpack.

I also checked the contents of the ALM Otel library.
It is unclear whether it is possible to set up transmission with datadog when using the ALM Otel library, so we are currently checking whether OpenTelemetry Collector and Datadog Exporter can be used.
But I’m having trouble figuring out exactly how to do it.

Have you set DD_RUNTIME_METRICS_ENABLED to true?

yes node js setting is

const tracer = require(‘dd-trace’).init({
service: ‘exp-expense-srv’,
version: ‘1.0.0’,
runtimeMetrics: true,
logInjection: true,
profiling: true
});

I confirmed that runtime metrics are being collected.
It is questionable whether it is right to monitor only runtime metrics in BTP, but for now, metrics are being collected.