title: Application Insights (partially) missing data
body: <p>I'm trying to retrofit Application Insights into an existing app but no matter what I do, I can only seem to get telemetry back from the front end:</p>
  
  <p><a href="https://i.stack.imgur.com/7jgks.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7jgks.png" alt="Application Insights dashboard"></a></p>
  
  <p>(note "Add Application Insights SDK..." banner, "No data" warning, apparently 0ms for all server responses and 0 server requests - the little blue semi-circle on server response times is just the current selected point)</p>
  
  <p>I've installed v2.1.0 of the following nuget packages:</p>
  
  <pre><code>"Microsoft.ApplicationInsights"
  "Microsoft.ApplicationInsights.Agent.Intercept"
  "Microsoft.ApplicationInsights.DependencyCollector"
  "Microsoft.ApplicationInsights.NLogTarget"
  "Microsoft.ApplicationInsights.PerfCounterCollector"
  "Microsoft.ApplicationInsights.Web"
  "Microsoft.ApplicationInsights.WindowsServer"
  "Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel"
  </code></pre>
  
  <p>and added my instrumentation key to the ApplicationInsights.config file:</p>
  
  <pre><code>  &lt;InstrumentationKey&gt;{my key here}&lt;/InstrumentationKey&gt;
  &lt;/ApplicationInsights&gt;
  </code></pre>
  
  <p>I've also monitored the events going through ETW and I see plenty of messages suggesting that data is getting logged although there are also quite a lot of messages saying:</p>
  
  <pre><code>WebTelemetryInitializerNotExecutedOnNullHttpContext
  </code></pre>
  
  <p>but not sure if that's a problem or not?</p>
  
  <p>To confuse things a little further, <em>some</em> server-side data <em>does</em> seem to be getting through since the application map looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/8p16s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8p16s.png" alt="Application Map"></a></p>
  
  <p>I've also tried installing the Application Insights Agent on the box, but that made absolutely no difference that I could see!</p>
  
  <p>There appear to be a number of similar questions out there, but they all seem to have no resolution, the resolution is to remove and re-add the nuget packages (tried) or there were multiple ApplicationInsights.config files (checked and there aren't)...</p>
  
  <p>N.B. this app is usually running on a VM in AWS EC2, but there are no firewall rules blocking any outbound traffic and I've also tried running it locally...</p>