cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

metrics for short lived cron job

nicolas_nguyen
Participant

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.

nicolas_nguyen_0-1680017951073.png

https://prometheus.io/docs/practices/pushing/

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

2 REPLIES 2

mreider
Dynatrace Advisor
Dynatrace Advisor

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

Kubernetes beatings will continue until morale improves

Romanenkov_Al3x
DynaMight Champion
DynaMight Champion

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 

 

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1

Featured Posts