How to set application insights TelemetryClient timeout? -


i sending application insights metric event client app (.net) , wondering if can set timeout telemetryclient.flush() since synchronous call. (the app exit when operation done need enforce flush call ensure metric got sent).

flush method implementation depends on channel use.

if use webtelemetrychannel default web sdk (https://www.nuget.org/packages/microsoft.applicationinsights.web.telemetrychannel/) flush async.

if use persistencechannel default devices sdk (https://www.nuget.org/packages/microsoft.applicationinsights.persistencechannel/) flush sync. izik mentioned no overrides available.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -