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

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -