Replies: 2 comments 4 replies
-
This is not an answer but tagging @bachuv since she's working on our improved end-to-end tracing story based on OpenTelemetry. |
Beta Was this translation helpful? Give feedback.
-
We have been working on trying to add a custom telemetry initializer to correlate the logs with response code 0 as well as other missing parts. It correlated some of our LogInformation entries to the same operation id and worked partially for mentioned entries with response code 0 (I'm not sure where those entries come from originally, but they hold required information for end-to-end tracing which is missing from the final responses with response code 200) Unfortunately, it broke other parts of the logging, so we removed the custom telemetry initializer. But this leaves us with issues not being able to correlate all the logs, requests, dependencies, metrics, and events into one batch of operation tree. Are there any guidelines we're missing, or any suggestions to put the above-mentioned custom properties to system-generated request and dependency entries? |
Beta Was this translation helpful? Give feedback.
-
We have the following use case which we implemented using durable functions: when we receive a request, we need to load records from some store and process them in parallel according to the parameters provided in the request. We are glad that AppInsights End-to-End tracing works for this job perfectly, but we need one final step to be able to utilize the already existing Performance and Failure pages.
We need to be able to filter the Orchestration on these pages by custom data that were provided in the request, like clientId, originating request-id, and so on. When we worked with WebJobs, it was possible to create custom dependencies and pass these data there as our WebJobs handled request/response pairs in sync so we were able to measure the performance.
But for durable functions, as they are offloaded to background processes, the nature of how these requests and dependencies are created limits us from using simple logs for our purposes, for which we can create custom queries. But it would be much better if we could just add the trigger custom tags to the current Activity, and those would be logged for every subsequent track operation (request, dependency, exception, etc).
Is it possible to do so?
Beta Was this translation helpful? Give feedback.
All reactions