Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement profiling extensibility points in fortune #163

Open
craigedmunds opened this issue Sep 9, 2015 · 1 comment
Open

Implement profiling extensibility points in fortune #163

craigedmunds opened this issue Sep 9, 2015 · 1 comment

Comments

@craigedmunds
Copy link

At Victor we use New Relic to allow us to get a deep understanding of how our code is performing in our deployed environments.

We want to use New Relics custom tracer functionality within our fortune instances to log a detailed breakdown of where time is being spent within a transaction, without embedding new relic as a dependency of fortune.
https://docs.newrelic.com/docs/agents/nodejs-agent/supported-features/nodejs-custom-instrumentation#expanding-instrumentation

To achieve this we'll provide extension points at critical times within the lifecycle:

  • Fortune request start & end
  • Request parse start & end
  • Database call start & end
    • Connection open start & end
  • Response preparation parse start & end
  • Include resource processing start & end
  • Anything else?
@EugeneKostrikov
Copy link

Continuing the list:

  • hooks start & end totals
  • distinct hooks start & end (they run sequentially)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants