Skip to content

ApplicationInsights broken on multi - node setup #118

@enicky

Description

@enicky

I currently have the following setup :

  • Local Service Fabric : Code Version 9.0.1017.9590
  • Microsoft.ApplicationInsights.ServiceFabric.Native 2.3.1
  • Microsoft.Applicationinsights 2.20.0

I also setup the following to have a workaround to keep the correlation working on the ServiceFabric :

Activity.DefaultIdFormat = ActivityIdFormat.Hierrachical;
Activity.ForceDefaultIdFormat = true;

This "works" when I use a local development setup with a single node :
2022-05-31 10_07_27-End-to-end transaction details - Microsoft Azure en nog 1 andere pagina -  InPri

But it didn't work on the test environment and we ended up with some parts not being correlated to their parents... In the end I was able to reproduce this locally.

image

And when I look at the activity id and its ParentId, it has this strange notation: I don't get where those .1.1.1.1.1.... get from :
image

Did someone encouter this also ?

Is there something I can do to prevent and fix this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions