Comments (8)
Just so you know, your blogpost made at least one happy devops ;)
I was having some much trouble making auto instrumentation work with static fronts, thanks a lot !
from timdeschryver.dev.
i did it
instead of library @opentelemetry/auto-instrumentations-web I used @opentelemetry/instrumentation @opentelemetry/instrumentation-xml-http-request
as a result, registerInstrumentations looks like this:
registerInstrumentations({
instrumentations: [new XMLHttpRequestInstrumentation()],
});
from timdeschryver.dev.
That's great to hear, thanks for the feedback @Jonathan-w6d !
from timdeschryver.dev.
hi, in angular universal I get an error Cannot find name 'Task' and Cannot find name 'Zone'
the problem occurs in the file node_modules/@opentelemetry/auto-instrumentations-web/node_modules/@opentelemetry/instrumentation-user-interaction/build/src/internal-types.d.ts
did you solve this problem?
from timdeschryver.dev.
I want to make loading lazy, for this I put the loading logic init of openTelemetry in a separate file and load it at the start of the application through import. everything is fine, but the assembly for the ssr is not going to
from timdeschryver.dev.
Hey @DvDruzhkov , sorry but I don't really have SSR experience with Angular.
It seems like it's throwing this issue because zone.js is not loaded yet.
from timdeschryver.dev.
this problem occurs during the build, I will try to solve it
from timdeschryver.dev.
after these settings the build for web and ssr works
from timdeschryver.dev.
Related Issues (20)
- How to test your C# Web API HOT 1
- Using Geolocation in Playwright tests HOT 2
- Refactor Functional Tests to support Minimal Web APIs HOT 1
- Make your C# applications faster with LINQ joins HOT 1
- Using MSW (Mock Service Worker) in an Angular project HOT 3
- Refactor your .NET HTTP Clients to Typed HTTP Clients HOT 4
- Prevent a Hangfire job from running when it is already active HOT 1
- Treat your .NET Minimal API Endpoint as the application layer HOT 1
- Invoke the Azure DevOps API from within your Azure DevOps pipeline HOT 4
- Using Playwright test shards in combination with a job matrix to improve your CI speed HOT 2
- Getting the most value out of your Angular Component Tests HOT 1
- Playwright API testing with zod HOT 3
- Faster SQL Bulk Inserts With C# - Method missing
- Entity framework features I wish I knew earlier HOT 4
- Wow, your blog is awesome! HOT 1
- Comments section is broken on blog HOT 1
- 'Disable Validators' section of Signal Forms blog post not highlighting fully HOT 1
- Single Quotes in Signal Form Code Snippets
- If I use karma in angular, can I use msw to mock data? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timdeschryver.dev.