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
Post a Comment