question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] correlationHeaderExcludePatterns missing from types

See original GitHub issue

I see correlationHeaderExludePatterns was recently introduced, but it does not appear to be showing up in the types. In vscode, I get red squiggly lines when trying to use it:

image

  • OS/Browser: Chrome
  • SDK Version [e.g. 22]: 2.5.8
  • How you initialized the SDK:
const appInsights = new ApplicationInsights({
  config: {
    instrumentationKey: "foo",
    disableFetchTracking: false,
    enableCorsCorrelation: true,
    correlationHeaderExludePatterns : [/foo/]
  }
});
appInsights.loadAppInsights();

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MSNevcommented, Sep 4, 2020

Yep, we only defined it on the extension config doh! * 2, @kryalama is going to add it to the main IConfig as well which will resolve the issue – will be included in the next release (scheduled for end of the month).

0reactions
github-actions[bot]commented, Oct 13, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

microsoft/applicationinsights-properties-js - Yarn
1363 [BUG] correlationHeaderExcludePatterns missing from types. 1361 Debug plugin readme changes. 1359 Add trackMetric method for Angular plugin. 1358 Add ...
Read more >
Microsoft.ApplicationInsights missing - Stack Overflow
I am having problem with starting ASP.NET MVC5 application. Everything was working fine until now. While starting application I am getting below error:...
Read more >
@microsoft/applicationinsights-common: Versions | Openbase
#1679 [BUG] enableUnhandledPromiseRejectionTracking shows no error trace ... #1363 [BUG] correlationHeaderExcludePatterns missing from types ...
Read more >
microsoft/applicationinsights-web-basic - UNPKG
toString.call(obj) === \"[object Array]\";\r\n };\r\n /**\r\n * Check if an object is of type Error\r\n */\r\n CoreUtils.isError = function (obj) {\r\n ...
Read more >
Quantifying Detectable Bugs in JavaScript - Earl Barr
a missing module to be unrelated to the bug, we annotate it as any to eliminate such type errors. For example,. 1 //...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found