Open mareksloser opened 1 year ago
hey, in order to collect logs you might want to use AppInsightsTraceHandler instead of DependencyHandler
@norberttech
Could you give me a info, how change url? I have to use this information from connection string: IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/
Exception occurred while flushing App Insights Telemetry Client: Client error: POST https://dc.services.visualstudio.com/v2/track
resulted in a 400 Invalid instrumentation key
response: {"itemsReceived":1,"itemsAccepted":0,"errors":[{"index":0,"statusCode":400,"message":"Invalid instrumentation key"}]}
Hello,
thank you for this code.
Could you help me? How i can use this handler?
RotatingFileHandler - handler working well, i have new line every time in main-DATE.log But how to use AppInsights_Handler? I dont know if i miss someting. I have no data in Azure appInsight, no errors nothing happend.
Thank you