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

Using Typescript SDK on other environments (managed)

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello,

 

Are there plan or is it possible to use part of the Typescript SDK pointing to other evironment(s)?

Or is all this niceness running and depending on the  Dynatrace runtime, and should connectingto other environment be done by old scool webrequests with json reply's

Undelying idea, use a small Saas environment that is used to give managed part of the experiance (-;

Who has any thoughts about this?

KR Henk

5 REPLIES 5

sw
Dynatrace Helper
Dynatrace Helper

Hi @henk_stobbe 
Currently, the SDK is designed to work only in the environment where it is used.
To access other environments, we recommend using plain fetch calls. Same as accessing any external API.

What is your use case, please?

 

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello @sw ,

I think this would be refered as nice to have, you could build a kind off overall console for mutiple environments Saas and Managed. Keeping the same look and feel, and using the same code-base. 

Again just a "that would be nice" in my perspective (-;

Thanks for your reply,

KR Henk

 

sw
Dynatrace Helper
Dynatrace Helper

Thanks @henk_stobbe for the insights!
As we're constantly improving the SDK, I'll discuss this with the team.

One use case I was trying to do this for is running the code locally on my laptop so I can run the javascript through a debugger. The editor in the Dynatrace UI is ok, but it is hard to see why things fail when developing the code. So being able to edit the code in an IDE on my laptop is needed.

sw
Dynatrace Helper
Dynatrace Helper

Hi @bkimbrough88, We were discussing this for the future. For now, investigating console.log() outputs is the way to go.

Featured Posts