Marc Jacobi

Results 43 comments of Marc Jacobi

I have tried your example but I don't see the frontend and backend calls correlated in AppInsights..? All I see is the backend with it's 'dependency' to bing that is...

I'm sorry but it does not work at my end. I am not sure if I am doing something wrong... - I run `npm install` on both frontend and node-server...

No it did not - but I gave up.

> @obiwanjacobi Let me know if this resolved your issue, thanks! What call should I use to log into app insight (related to the current call/span) on the frontend and...

> @obiwanjacobi I'm not sure I understand your question. What kind of information are you trying to log, and where are you trying to view those logs? I want to...

Hey @JacksonWeber, Can you explain how I can obtain the sdk instance? I have tried using an `onInit` function to grab the sdk instance, but even returning false (or void)...

> Please read https://github.com/microsoft/ApplicationInsights-node.js?tab=readme-ov-file#configuration - as it mentions you need to explicitly enable collection of `console.log` calls. I am confused @JacksonWeber I thought the `ApplicationInsights-node` package is for the (node)...

> A possible option I saw was doing the following: > > var cosmos = builder.AddAzureCosmosDB("CosmosDb") > .AddDatabase("mydatabase"); > > if (builder.Environment.IsDevelopment()) > { > cosmos.WithHttpsEndpoint(8081, 8081, "emulator-port") > .RunAsEmulator();...

This is what I got (AppHost) ```csharp var cosmos = builder.AddAzureCosmosDB("myaccount"); var cosmosDb = cosmos.AddDatabase("mydatabase"); if (builder.Environment.IsDevelopment()) { cosmos.RunAsEmulator(config => config .WithHttpEndpoint(targetPort: 1234, name: "explorer-port") .WithImageRegistry("mcr.microsoft.com") .WithImage("cosmosdb/linux/azure-cosmos-emulator") .WithImageTag("vnext-preview") //.WithLifetime(ContainerLifetime.Persistent) );...

> https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/networking-overview Ah - so there's a proxy in front of it. Right, thanks. But still, why does my container read unhealthy when I configure this? Any suggestions where I...