30 Aug 2022 12:46 PM - last edited on 24 May 2023 10:52 AM by Michal_Gebacki
I am trying to set up a dashboard for HTTP requests, but I am not able to get metrics on which time it got failed and the URL to which it is being fired.
The requirement is to run a builtin metrics query and create a dashboard with the below details:
Solved! Go to Solution.
31 Aug 2022 10:43 AM
Hi!
I think it is not possible to do exactly what you want, at least in a direct way.
I suppose you've checked all "synthetic.http." metrics available related to HTTP Monitors (i.e: Result Status Count [by request, location] splitting by HTTP Monitor Step).
Have you considered the option of getting that info from API v2 for HTTP Monitors?
Regards,
Dani
31 Aug 2022 01:24 PM
I am trying to store the values in variable using post-script and then push that value to metrics. Currently I am not able to get the variable values in metrics.
Any suggestions?
31 Aug 2022 02:33 PM - edited 31 Aug 2022 02:34 PM
Could you please describe how are you trying to push de variables to metrics?
I would use the Ingest Metrics API to push the variables to metrics in a HTTP monitor's post-processing step:
https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/post-ingest-metrics?_...
31 Aug 2022 03:09 PM
okay i will check it out