I'm trying to add the Application Insights Telemetry to our 2.0 app and im getting the following exception
System.InvalidOperationException: Unable to resolve service for type 'System.String' while attempting to activate 'Orleans.TelemetryConsumers.AI.AITelemetryConsumer'.
Looking at the code it looks like the only constructor on the AITelemetryConsumer takes a string, causing the exception. Simply adding a DI compatible constructor should fix the issue. I'll submit a PR if this makes sense.
I'm trying to add the Application Insights Telemetry to our 2.0 app and im getting the following exception
Looking at the code it looks like the only constructor on the
AITelemetryConsumertakes a string, causing the exception. Simply adding a DI compatible constructor should fix the issue. I'll submit a PR if this makes sense.