metrics for short lived cron job

We are in the process to use Dynatrace and we are searching for a solution  to continu to collect metrics even for our short-lived cron job.

With our current solution we use Prometheus Pushgateways to collect those metrics.

Is there a solution to make it work with Dynatrace, or an alternative solution ?

in a perfect world we do not want to keep prometheus for metrics

thanks

What sorts of metrics are these, and what sort of runtime are you using?

Hello.

You can try to push metrics directly to Dynatrace via API (Environment API v2 - /metrics/ingest)

Or you can try to push metrics via host - documetation.

This is another example how to achive this.

Regards,

Alex