Git Product home page Git Product logo

applicationinsights-vscode's Issues

Don't recognizes all routes

Hello,

Extension recognizes well some simple routes and shows Code Lens for it, but not other. In my case it recognizes only following:

router.get('/refund/:transactId/:amount/:currency', (req, res, next) => {

but none of with destructed params

// destruction
router.post('/', async ({ body: { email } }, res) => {
...
router.get('/logo/:flightOrAirlineCode', ({ params: { flightOrAirlineCode } }, res) => {

ApplicationInsight's "Add To Project" inject javascript code in host.json file

I'm working on sample Azure Functions local project generated by Azure Functions VSCode extension. It generates host.json file for project's configuration. However, adding Application Insights to this project using extension will inject Javascript code into JSON file, making it invalid syntax

Original host.json

{
  "version": "2.0"
}

After enabling Application Insights

// Enable telemetry collection with Application Insights
var ai = require('applicationinsights');
ai.setup(process.env.APPLICATIONINSIGHTSKEY || '<APPLICATION INSIGHTS KEY HERE>').start();{
  "version": "2.0"
}

How to disable the 'Monitor your app with...' pop-up?

When doing a tutorial, or a series of tutorials, or even lots of little projects that do not require Application Insights, having this constantly bombard you with messages makes me want to remove the plug-in completely.

Can we disable this pop-up via options/ config somewhere?

image

update extension to use VS Code's webview API

Got this notification when I clicked on a codelens:

'VisualStudioOnlineApplicationInsights.application-insights' uses the 'vscode.previewHtml' command which is deprecated and will be removed soon. Please file an issue against this extension to update to use VS Code's webview API.

Can't paste password into login screen [macOS]

Version: 1.44.2
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T17:07:18.473Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0

Plugin version 0.4.2

When I click "Add to Project" then select "Add an Account", I get a popup login view. I can't paste my randomly generated, 100char password into the login prompt, rendering this plugin effectively useless

Screen Shot 2020-04-22 at 12 22 13

Screen Shot 2020-04-22 at 12 23 08

esprima and es7 syntax

The release notes contain the following entry (for Version 0.3.1):

Switched to using esprima-fb in order to support es7 syntax

Esprima-fb is Facebook-fork of Esprima and Facebook has abandoned it. Please consider not using it.

The upstream Esprima has already baked in support for ES7 (officially known as ES2016). It will continue to support future ECMA-262 standards and it is actively maintained. For more information: http://esprima.org/.

Can we use setAuthenticatedUserContext(userID)?

Currently when using the extension, in my AI dashboard, I see all events as if they were coming from a single user's single session. I've googled around and it seems like the method in the issue title is the way to fix this, but it doesn't seem to be exposed. Is there an alternative, or could it be exposed, please?

'Sorry this project is not supported'

When I do a 'Application Insights: Add To Project', I get the error message 'Sorry this project is not supported'.

Steps:

  1. Creat an Application Insights resource on Azure.
  2. Locally do a 'dotnet new mvc'
  3. Install the Application Insights extension.
  4. 'Application Insights: Add To Project' results in the error message 'Sorry this project is not supported'.

VS Code version: 1.25.1
OS: Windows 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.