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

Upload angular source map files from CI build

karthickj25
Newcomer

https://www.dynatrace.com/news/blog/source-map-support-javascript-error-analysis/

I am aware there are steps for manual upload of source files, how I integrate as part of the build process? i.e how to upload source map files from my CI (GitHub workflow).  The instrumentation sites are public access while the source maps are private.

Application monitored here is Static web apps.

thanks

4 REPLIES 4

Mizső
DynaMight Guru
DynaMight Guru

Hi @karthickj25,

You can upload javascript mapping files via API (environment API v2):

 

Mizs_1-1733212325390.png

Or Mobile symbol files via Configuration API:

Mizs_2-1733212416091.png

You should need a public endpoint, you can use the GET, PUT and other methods via this endpoint to collect data from or upload data to the DT cluster:

Mizs_3-1733212514600.png

I hope it helps.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Hi @karthickj25 

If you will proceed with Configuration API, the required scope will be  "DssFileManagement" for all methods Get / PUT / Delete.

2024-12-07_19h34_24.png

Thanks @Mizső for valuable inputs.

BR,

Peter

karthickj25
Newcomer

Thanks.. Will try this 

Peter_Youssef
Champion

Hi @karthickj25 

In addition to the proper guidance provided by @Mizső that works for the current case.

PFA resources:

2024-12-07_19h23_43.png

Hoping it adds value.

BR, 

Peter

Featured Posts