elastic / elastic/apm-agent-nodejs

Simple support for instrumenting incoming WebSockets

Open
#195 13 comments 1 reaction 0 assignees View on GitHub
agent-nodejs enhancement
Dominant language
JavaScript
Stars
594
Forks
244
Avg merge
1d 8h
Merged PRs (30d)
16

Description

Today incoming WebSocket connections are not instrumented as we don't know how to group events on the socket into meaningful Transactions.

Normally we refer users to manually instrument the WebSockets using [custom transactions](https://www.elastic.co/guide/en/apm/agent/nodejs/0.x/custom-transactions.html), but it would be really nice if we could provide a better out-of-the-box experience.

If it makes the task easier, we could consider limiting this support to [Socket.IO](https://socket.io/), as that library have higher level concepts that translate better to Transactions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.