How to measure long custom transaction at application startup? #11349
-
Hi, We have a complex microfrontend application (platform and multiple micro-applications maintained by different teams). Is it possible to make long custom transaction (span) between many javascript files and scopes, with transaction navigation in between and add custom measurement to it? Or in another way: I tried just In other (much simpler) app I just wrapped long async function with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@czterystaczwarty - check out Sentry metrics: https://sentry.io/lp/metrics/, this may fit the use case you need better. |
Beta Was this translation helpful? Give feedback.
-
Finally, I added |
Beta Was this translation helpful? Give feedback.
Finally, I added
perdormance.mark
in the HTML document from which I deduct metrics and turned offinstrumentNavigation
inbrowserTracingIntegration
so that navigation would not interfere with pageload (initial) transaction.Now I have long transactions with metrics that interest me.