Dynatrace Counters into SquaredUp

I am trying to digest DynaTrace performance counters into SquaredUp so that we can have a 1 glass pane view. DynaTrace has web APIs but I can’t seem to get it to work correctly. I think it might be the way I need to setup the provider for authentication. Has anyone had to deal with this before?

Hi Robert,

From what I can see, authentication with Dynatrace is via a user-generated API/acccess key - have you managed to generate that?

Once that’s done it should just be a case of adding a header to the provider, e.g. Authorization => Api-Token XXXXX.

Are you able to provide any more info on the issue or error you’re seeing?

This link to the Dynatrace documentation seems to do what you need: https://help.dynatrace.com/dynatrace-api/authentication/how-do-i-set-up-authentication-to-use-the-api/

So in summary:

  1. Log into your Dynatrace environment and go to Settings > Integration > Dynatrace API.
  2. Generate a new access token by typing a unique string into the Key label field, then click the Generate key button.
  3. In Squared Up, go to System > Web Api, create a new provider, with the ”Simple” type.
  4. Give it a name (Dynatrace, probably!) and drop in your Dynatrace api url (https://{id}.live.dynatrace.com/api/v1/ for SaaS and https://owndomain/e/{id}/api/v1/ for managed, where {id} should be replaced with your Environment Id).
  5. Under default headers, click Add. In the first box, type Authorization
  6. In the second box, type Api-Token cw88t44BRk2KcJkdM419T (the key here is a sample, replace with your key)
  7. Hit add provider.
That should do the trick, you\’re ready to start querying.