-
Notifications
You must be signed in to change notification settings - Fork 77
Debugging Decision Service
The first step to debugging your deployed instance of Decision Service is to check Application Insights. This is a service provided by Azure which is part of the deployment. To view log messages in Application Insights, visit your Resource Group in Azure portal (don't know how? see the FAQ). Once open, click on Search at the top and you should see a default log view for the past 24 hours.
The Client Library has support for Development mode where various settings are configured to make the behavior more consistent and intuitive:
-
No Batching: by default Decision Service batches events together to reduce network traffic. However, the batching criteria is dependent on several factors and thus events could appear to be missing since they are still in the processing queue. Setting Development mode will turn off batching, meaning that events are uploaded one by one.
-
Context Reporting: When in Development mode, Decision Service will report all contexts received by the Client Library to Application Insights. These contexts are serialized to VW string format for manual inspection & debugging.
To enable this mode, see the Sample Code.