Request and dependencies reporting enchancements
See original GitHub issue[EDITED]
I have a simple service that calls google
'use strict';
const appInsights = require("applicationinsights"); //0.22.0
appInsights.setup("removed");
appInsights.start();
const express = require('express'); //4.15.4
const request = require('request'); //2.81.0
// Constants
const PORT = 8089;
const HOST = '0.0.0.0';
// App
const app = express();
app.get('/', (req, res) => {
console.log('Starting request: GET google'); // Print the response status code
request("http://google.com", function (error, response, body) {
console.log('Response from google statusCode: %s', response && response.statusCode);
});
res.send('Hello world\n');
});
app.listen(PORT, HOST);
console.log(`Running on http://${HOST}:${PORT}`);
Here is a request telemetry that is reported when I make a request

Here is dependencies that are tracked for this request:

- [SOLVED] Dependencies are not correlated with request
- (minor) Two dependencies are tracked (because of redirected request). Is it expected? Is it avoidable? It should be consistent between SDKs (.NET reports just one)
- (minor) Request parent Id should be null - new id has just been generated for this operation. It should be consistent with .NET SDK.
- (minor) what is the point of saving “undefined | roleName:undefined” in the ‘source’?
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Dependencies in Project Management
Project dependencies, also called task dependencies, are relationships between tasks based on their sequence. Dependent tasks require one or ...
Read more >Review external dependencies between projects
Review the external dependencies between projects in a portfolio to track projects that are dependant on each other more closely.
Read more >Deploy applications - Configuration Manager
Automatically distribute content for dependencies: If any of the deployment types in the application have dependencies, then the site also sends ...
Read more >Adding Dependencies - Planview Customer Success Center
Adding Dependencies · Configurations Overview · Associate specific Case sub-items (i.e. requests, issues, risks, and bugs) as related items in ...
Read more >Aha! Roadmaps | Dependency report
Navigate to Roadmaps Dependency to access the dependency report. You will be prompted to select the record types you wish to visualize. Note:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Out of curiosity, can you workaround with something like
getCorrelationContext.apply({_isCorrelating: true})Yup, for now I’m importing the manager and getting the context
` import { CorrelationContextManager } from “applicationinsights/out/AutoCollection/CorrelationContextManager”;
…
CorrelationContextManager.getCurrentContext(); `