Configuration options for creating a new TCP socket.
const socket = new Socket({ tags: { endpoint: 'api', environment: 'prod' }}); Copy
const socket = new Socket({ tags: { endpoint: 'api', environment: 'prod' }});
Optional
Optional key-value pairs for metrics collection and logging. These tags will be attached to all metrics generated by this socket.
Configuration options for creating a new TCP socket.
Example