Created
February 6, 2016 21:11
-
-
Save jongio/9f38b214a41891989f61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main() | |
{ | |
TelemetryConfiguration.Active.InstrumentationKey = CloudConfigurationManager.GetSetting("appInsightsInstrumentationKey"); | |
new TelemetryClient().TrackEvent("WebJobStart", new Dictionary<string, string> { { "appInsightsInstrumentationKey", TelemetryConfiguration.Active.InstrumentationKey } }); | |
var host = new JobHost(); | |
host.Call(typeof(Functions).GetMethod("ProcessQueueMessage")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment