It would even be possible to move it into the root pipeline context which then would make the tags also available in the recoverability pipeline.
I also still question the value of the ReceiveDiagnosticsBehavior since those meters could be aligned with the main pipeline executor.
This PR also shows that we should wherever possible use nullable enable in new code and addresses a few structural problems like doing a TryGet but then not evaluating whether the state is non null, multiple enumerations...
Some ideas for #7077 as a quick hack
It would even be possible to move it into the root pipeline context which then would make the tags also available in the recoverability pipeline.
I also still question the value of the ReceiveDiagnosticsBehavior since those meters could be aligned with the main pipeline executor.
This PR also shows that we should wherever possible use nullable enable in new code and addresses a few structural problems like doing a TryGet but then not evaluating whether the state is non null, multiple enumerations...