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

GitHub Actions Synthetic Availability

dylanarts
Newcomer

Hi all,

 

I currently just started with my first synthetics but our plan is to integrate the on demand triggers in GitHub Actions and then read if it passed. I know Dynatrace has a GitHub actions integration but I can't find anything on if we can also access the synthetics.

 

In short:

  1. Trigger synthetic action in GitHub Actions
  2. Wait for result and either pass or fail pipeline based on result

I also know there is an API but I would rather use a pre-made solution.

Thanks in advance!

1 REPLY 1

pahofmann
DynaMight Guru
DynaMight Guru

The Github Action for Dynatrace reports events or metrics, I don't think there is one for your use case.

 

But as you mentioned you can use a HTTP Request action to make an API call to the Environment v2 API (/synthetic/executions) to trigger the test and get the result.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Featured Posts