Skip to content

Implement profiling extensibility points in fortune #163

@craigedmunds

Description

@craigedmunds

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions