Giter VIP home page Giter VIP logo

deprecated-koa-newrelic's People

Contributors

adam0x01 avatar aobo-y avatar avindra avatar chiulam avatar erinleonhard avatar hans-lizihan avatar teddychan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deprecated-koa-newrelic's Issues

still get transaction /*

Hi all,

i have tried to use koa-newrelic but still get /* for all transactions.
currently i am using

  • koa
  • koa-router

i configure koa-newrelic from the example of this repo.
are there more configuration?

No transaction found at Koa2 application

Hi, I found that the function newrelic.setTransactionName() is put after the yield next().
https://github.com/AfterShip/koa-newrelic/blob/2.0.0/index.js#L156-L162

However, in Koa2, the newrelic log this error:

{"v":0,"level":40,"name":"newrelic","hostname":"Adams-iMac.local","pid":26721,"time":"2017-07-11T05:11:51.042Z","msg":"No transaction found when setting name to 'GET /index'.","component":"api"}

Newrelic module throws this error at these lines because the transaction not found.
https://github.com/newrelic/node-newrelic/blob/master/api.js#L66-L69

Do you have any ideas about this?

Tests are currently failing

npm test is showing 5 failing tests.

Are the tests simply out of date? I can help w/ travis integration if you are interested.

Also, is there any plan to add support for the Koa 2 alpha?

Possibility to config errors

Is it possible to somehow configure which errors should be reported? For example, I'd like to skip 4xx errors from reporting. Also would be great to include additional headers/request params to error parameters. Thanks.

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.