newrelic / node-newrelic

New Relic Node.js agent code base. Developers are welcome to create pull requests here, please see our contributing guidelines. For New Relic technical support, please go to http://support.newrelic.com.
Apache License 2.0
978 stars 411 forks source link

Instrumentation for Azure Functions using HTTP streams #3004

Closed mrickard closed 1 week ago

mrickard commented 1 month ago

Description

The first phase of Azure function instrumentation is for http triggers. In Node, http Function handlers are also able to support HTTP Streams. It may be helpful to consult how we implemented streaming instrumentation for Lambda.

Developer documentation is available here.

Acceptance Criteria

If a function app is set up with the option { enableHttpStream: true }, we should expect transactions, traces, spans, and errors to be collected and surfaced in NR. There should be unit tests for the apps with streaming enabled.

workato-integration[bot] commented 1 month ago

https://new-relic.atlassian.net/browse/NR-381805