Skip to content

Ensure browserProflingIntegration is published to CDN #12156

Closed
@an-and10

Description

@an-and10

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

Sentry Browser CDN bundle

SDK Version

7.116.0

Framework Version

ExtJs Javascript Application

Link to Sentry event

https://highradius-is.sentry.io/profiling/?project=4507288901058560&statsPeriod=90d

SDK Setup

window.Sentry && Sentry.onLoad(function () {
            Sentry.init({
                // dsn: "https://aXXX@XXX8.ingest.us.sentry.io/4507288901058560",
                debug: true,
                autoSessionTracking: true,
                autoPerformance: true,
                release: dms.master.appVersion,
                enableTracing: true,
                environment: dms.master.environment,
                initialScope: {
                    user: {
                        username: username,
                        id: 1d,
                        name: fullName,
                    }
                },
                profilesSampleRate: 1.0,
                tracePropagationTargets: ['http://localhost:9090/RRDMSProject/', /^\/(?!\/)/],
                tracesSampleRate: 1.0, // Capture 100% of the transactions
                sendDefaultPii: true,
                enableLongTask:true,
                replaysSessionSampleRate: 0.1,
                replaysOnErrorSampleRate: 1.0,
                integrations: [Sentry.browserTracingIntegration({
                    enableInp:true,
                    instrumentNavigation: false,
                    instrumentPageLoad: true,
                    enableHTTPTimings: true,
                    interactionsSampleRate:1.0,
                    _experiments: { enableInteractions: true,enableLongTask:true }

                }),Sentry.metrics.metricsAggregatorIntegration(), Sentry.replayIntegration({
                    maskAllText: false,
                      blockAllMedia: false,
                    networkDetailAllowUrls: [window.location.origin],
                }),Sentry.browserProfilingIntegration()
                ]
            });

Steps to Reproduce

Sentry is getting initialized and performance metrics is also getting captured.
but Profiling is not showing any data in Sentry UI interface.

In browserConsole itself, we can see that browserProfileIntegration is not available.

Checking this bundle here - browserTracing function is available to load, but browserProfilingIntegration function is not available
Link for the same : https://browser.sentry-cdn.com/7.116.0/bundle.tracing.debug.min.js

Expected Result

As per documentation, profiling should be available for our javascript applications.

We understand that  browserProlingIntegration module is available while installing via npm and it should work for React or Vue.

Actual Result

We should able to see the profiling result in Sentry UI for my ExtJs Javascript Applications

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions