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

Best practice for storing data from the Dynatrace API

jegron
DynaMight Pro
DynaMight Pro

Hello,

What is the best practice for polling data recurrently from the Dynatrace API and ingesting the results into Grail?

I've started exploring the SDK for the Classic Environment and it works on page loading. But no history.

Do I need to use a Workflow to ingest the data into Grail and then play the DQL query in the AppEngine? Or should I use an App function ?

Thanks for your help !

 

Observability Engineer at Phenisys - Dynatrace Professional
1 REPLY 1

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi @jegron 

If you want to poll data periodically from the Dynatrace API via the classic environment SDK and ingest it into grail, then currently the best way is to go via Workflows. Because in workflows you can set the execution interval of a workflow. 

For testing/developing purposes I would recommend that you develop your poll & ingest code within a custom app and an IDE of your choice because we don't have yet auto correction & quick fix features available in the workflows code editor. Copy & pasting the code snippet should work without any issues. Just make sure to add the needed imports at the begin of the code block in workflows.

Best,
Sini

Featured Posts