Skip to content

Losing correlation in end-to-end transaction details in AppInsights when using latest version of Arcus #444

@ClementVaillantCodit

Description

@ClementVaillantCodit

Possible duplicate of Dependencies are not correctly linked to the incoming request #387

We are using Arcus in a project to setup the logging in an Azure function app and we are encountering issues.

We are using the following packages:

  • Arcus.Observability.Telemetry.Serilog.Enrichers v2.5
  • Arcus.Observability.Telemetry.Serilog.Sinks.ApplicationInsights v2.5

Just a note before to start, I tried installing Arcus.Observability.Telemetry.AzureFunctions v2.5 and use
.RemoveMicrosoftApplicationInsightsLoggerProvider()

But when I do the above, function app logs do not show up in AppInsights so I stopped using the above.

The root problem is that we are losing correlation for calls between components.
We have an APIM reaching out to a function app functions and I would expect to see something like this in AppInsights (calls are correlated so we can see the full end-to-end trace):
image

We can see which component called the function (using default behaviour when 2 components point to the same app insights instance).

Although when using the latest version of Arcus, we are losing correlation and the function Parent ID is set to the Operation ID of the call to the function.
image

Has this been fixed already? If yes when do you think this will be released?

Metadata

Metadata

Labels

application-insightsAll issues related to Azure Application Insightsazure-functionsAll issues related to Azure FunctionscorrelationAll issues related to correlating telemetry

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions